diff options
| author | Michael Olson | 2008-06-19 04:59:11 +0000 |
|---|---|---|
| committer | Michael Olson | 2008-06-19 04:59:11 +0000 |
| commit | 40ef82425268e306133904b13cc360b8e86f37b3 (patch) | |
| tree | 834f4688e7a21f0de786346c4d2831ec13a7bd3c | |
| parent | dced1efdffdc7896403d88bd818a324c6a864a98 (diff) | |
| download | emacs-40ef82425268e306133904b13cc360b8e86f37b3.tar.gz emacs-40ef82425268e306133904b13cc360b8e86f37b3.zip | |
ERC: Upstream updates.
- New response handler for '328'.
- Update nickserv regexps for freenode.
- Back out changes to erc-put-text-properties in favor of upstream
changes to that same effect.
- Fix arguments to erc-put-text-properties in erc-display-line-1.
| -rw-r--r-- | lisp/erc/ChangeLog | 17 | ||||
| -rw-r--r-- | lisp/erc/erc-backend.el | 7 | ||||
| -rw-r--r-- | lisp/erc/erc-services.el | 5 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 11 |
4 files changed, 31 insertions, 9 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index de99c8ad3b3..9905e7fda2c 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -3,6 +3,17 @@ | |||
| 3 | * erc/erc-autoaway.el, erc/erc-ibuffer.el, erc/erc-menu.el: | 3 | * erc/erc-autoaway.el, erc/erc-ibuffer.el, erc/erc-menu.el: |
| 4 | * erc/erc-stamp.el, erc/erc.el: Remove unnecessary eval-when-compiles. | 4 | * erc/erc-stamp.el, erc/erc.el: Remove unnecessary eval-when-compiles. |
| 5 | 5 | ||
| 6 | 2008-05-30 Diane Murray <disumu@x3y2z1.net> | ||
| 7 | |||
| 8 | * erc-backend.el (328): New response handler. | ||
| 9 | |||
| 10 | * erc.el (english): Added 328 to catalog. | ||
| 11 | |||
| 12 | 2008-05-29 Diane Murray <disumu@x3y2z1.net> | ||
| 13 | |||
| 14 | * erc-services.el (erc-nickserv-alist): Updated REGEXP and | ||
| 15 | SUCCESS-REGEXP for freenode. | ||
| 16 | |||
| 6 | 2008-05-05 Juanma Barranquero <lekktu@gmail.com> | 17 | 2008-05-05 Juanma Barranquero <lekktu@gmail.com> |
| 7 | 18 | ||
| 8 | * erc-goodies.el (erc-noncommands-list, noncommands) | 19 | * erc-goodies.el (erc-noncommands-list, noncommands) |
| @@ -10,9 +21,11 @@ | |||
| 10 | (erc-interpret-mirc-color): Fix typos in docstrings. | 21 | (erc-interpret-mirc-color): Fix typos in docstrings. |
| 11 | (erc-controls-highlight): Reflow docstring. | 22 | (erc-controls-highlight): Reflow docstring. |
| 12 | 23 | ||
| 13 | 2008-04-27 Glenn Morris <rgm@gnu.org> | 24 | 2008-04-26 Johan Bockgård <bojohan@gnu.org> |
| 14 | 25 | ||
| 15 | * erc.el (erc-put-text-properties): Replace use of cl mapcar*. | 26 | * erc.el (erc-put-text-properties): Don't use mapcar*. |
| 27 | (erc-display-line-1): Fix argument order in call to | ||
| 28 | erc-put-text-properties. | ||
| 16 | 29 | ||
| 17 | 2008-04-14 Michael Olson <mwolson@gnu.org> | 30 | 2008-04-14 Michael Olson <mwolson@gnu.org> |
| 18 | 31 | ||
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index efaac645c24..a6401cb84bc 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -1684,6 +1684,13 @@ See `erc-display-server-message'." nil | |||
| 1684 | parsed 'notice (erc-get-buffer channel proc) | 1684 | parsed 'notice (erc-get-buffer channel proc) |
| 1685 | 's324 ?c channel ?m modes))) | 1685 | 's324 ?c channel ?m modes))) |
| 1686 | 1686 | ||
| 1687 | (define-erc-response-handler (328) | ||
| 1688 | "Channel URL (on freenode network)." nil | ||
| 1689 | (let ((channel (second (erc-response.command-args parsed))) | ||
| 1690 | (url (erc-response.contents parsed))) | ||
| 1691 | (erc-display-message parsed 'notice (erc-get-buffer channel proc) | ||
| 1692 | 's328 ?c channel ?u url))) | ||
| 1693 | |||
| 1687 | (define-erc-response-handler (329) | 1694 | (define-erc-response-handler (329) |
| 1688 | "Channel creation date." nil | 1695 | "Channel creation date." nil |
| 1689 | (let ((channel (second (erc-response.command-args parsed))) | 1696 | (let ((channel (second (erc-response.command-args parsed))) |
diff --git a/lisp/erc/erc-services.el b/lisp/erc/erc-services.el index 50628167252..a4886624893 100644 --- a/lisp/erc/erc-services.el +++ b/lisp/erc/erc-services.el | |||
| @@ -232,10 +232,11 @@ Example of use: | |||
| 232 | "NickServ!NickServ@services." | 232 | "NickServ!NickServ@services." |
| 233 | ;; freenode also accepts a password at login, see the `erc' | 233 | ;; freenode also accepts a password at login, see the `erc' |
| 234 | ;; :password argument. | 234 | ;; :password argument. |
| 235 | "/msg\\s-NickServ\\s-IDENTIFY\\s-<password>" | 235 | "This\\s-nickname\\s-is\\s-registered.\\s-Please\\s-choose" |
| 236 | "NickServ" | 236 | "NickServ" |
| 237 | "IDENTIFY" nil nil | 237 | "IDENTIFY" nil nil |
| 238 | "Password\\s-accepted\\s--\\s-you\\s-are\\s-now\\s-recognized") | 238 | ;; See also the 901 response code message. |
| 239 | "You\\s-are\\s-now\\s-identified\\s-for\\s-") | ||
| 239 | (GalaxyNet | 240 | (GalaxyNet |
| 240 | "NS!nickserv@galaxynet.org" | 241 | "NS!nickserv@galaxynet.org" |
| 241 | "Please\\s-change\\s-nicks\\s-or\\s-authenticate." | 242 | "Please\\s-change\\s-nicks\\s-or\\s-authenticate." |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 245fdf456a0..866ea8e9f53 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -2368,8 +2368,8 @@ If STRING is nil, the function does nothing." | |||
| 2368 | (unless (string-match "\n$" string) | 2368 | (unless (string-match "\n$" string) |
| 2369 | (setq string (concat string "\n")) | 2369 | (setq string (concat string "\n")) |
| 2370 | (when (erc-string-invisible-p string) | 2370 | (when (erc-string-invisible-p string) |
| 2371 | (erc-put-text-properties 0 (length string) string | 2371 | (erc-put-text-properties 0 (length string) |
| 2372 | '(invisible intangible)))) | 2372 | '(invisible intangible) string))) |
| 2373 | (erc-log (concat "erc-display-line: " string | 2373 | (erc-log (concat "erc-display-line: " string |
| 2374 | (format "(%S)" string) " in buffer " | 2374 | (format "(%S)" string) " in buffer " |
| 2375 | (format "%s" buffer))) | 2375 | (format "%s" buffer))) |
| @@ -5040,9 +5040,9 @@ each property to the corresponding value in VALUE-LIST." | |||
| 5040 | (setq value-list (mapcar (lambda (x) | 5040 | (setq value-list (mapcar (lambda (x) |
| 5041 | t) | 5041 | t) |
| 5042 | properties))) | 5042 | properties))) |
| 5043 | (dotimes (i (min (length properties) (length value-list))) | 5043 | (while (and properties value-list) |
| 5044 | (erc-put-text-property start end (nth i properties) | 5044 | (erc-put-text-property |
| 5045 | (nth i value-list) object))) | 5045 | start end (pop properties) (pop value-list) object))) |
| 5046 | 5046 | ||
| 5047 | ;;; Input area handling: | 5047 | ;;; Input area handling: |
| 5048 | 5048 | ||
| @@ -6312,6 +6312,7 @@ All windows are opened in the current frame." | |||
| 6312 | (s321 . "Channel Users Topic") | 6312 | (s321 . "Channel Users Topic") |
| 6313 | (s322 . "%c [%u] %t") | 6313 | (s322 . "%c [%u] %t") |
| 6314 | (s324 . "%c modes: %m") | 6314 | (s324 . "%c modes: %m") |
| 6315 | (s328 . "%c URL: %u") | ||
| 6315 | (s329 . "%c was created on %t") | 6316 | (s329 . "%c was created on %t") |
| 6316 | (s330 . "%n %a %i") | 6317 | (s330 . "%n %a %i") |
| 6317 | (s331 . "No topic is set for %c") | 6318 | (s331 . "No topic is set for %c") |