diff options
| author | Michael Olson | 2007-10-29 01:00:33 +0000 |
|---|---|---|
| committer | Michael Olson | 2007-10-29 01:00:33 +0000 |
| commit | b6675b2d62e7962cd924051f5d30d2cd7deede66 (patch) | |
| tree | 58b6ae7414eadc169f812711c40dd4e1f6c113fc /lisp | |
| parent | 08446d5eeb448b3473daa4e209ccf71ceef496b5 (diff) | |
| download | emacs-b6675b2d62e7962cd924051f5d30d2cd7deede66.tar.gz emacs-b6675b2d62e7962cd924051f5d30d2cd7deede66.zip | |
Sync from upstream ERC
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/erc/ChangeLog | 31 | ||||
| -rw-r--r-- | lisp/erc/erc-ibuffer.el | 4 | ||||
| -rw-r--r-- | lisp/erc/erc-log.el | 3 | ||||
| -rw-r--r-- | lisp/erc/erc-track.el | 2 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 9 |
5 files changed, 44 insertions, 5 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 09882be34b8..da03b833f51 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2007-10-29 Michael Olson <mwolson@gnu.org> | ||
| 2 | |||
| 3 | * erc-ibuffer.el (erc-modified-channels-alist): Use | ||
| 4 | eval-when-compile, and explain why we are doing this.. | ||
| 5 | |||
| 6 | * erc-track.el: Make sure that the state of erc-track-minor-mode | ||
| 7 | is not preserved when using desktop.el. Thanks to Levin for the | ||
| 8 | report. | ||
| 9 | |||
| 1 | 2007-10-25 Dan Nicolaescu <dann@ics.uci.edu> | 10 | 2007-10-25 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 11 | ||
| 3 | * erc-ibuffer.el (erc-modified-channels-alist): Pacify | 12 | * erc-ibuffer.el (erc-modified-channels-alist): Pacify |
| @@ -8,7 +17,27 @@ | |||
| 8 | * erc-track.el (erc-modified-channels-update): Use mapc rather | 17 | * erc-track.el (erc-modified-channels-update): Use mapc rather |
| 9 | than mapcar. | 18 | than mapcar. |
| 10 | 19 | ||
| 11 | 2007-09-18 Exal de Jesus Garcia Carrillo <exal@gmx.de> (tiny change) | 20 | 2007-10-12 Diane Murray <disumu@x3y2z1.net> |
| 21 | |||
| 22 | * erc.el (erc-join-channel): Prompt for channel key if C-u or | ||
| 23 | another prefix-arg was typed. | ||
| 24 | |||
| 25 | * NEWS: Noted this change. | ||
| 26 | |||
| 27 | 2007-10-07 Michael Olson <mwolson@gnu.org> | ||
| 28 | |||
| 29 | * erc.el (erc-cmd-ME'S): New command that handles the case where | ||
| 30 | someone types "/me's". It concatenates the text " 's" to the | ||
| 31 | beginning of the input and then sends the result like a normal | ||
| 32 | "/me" command. | ||
| 33 | (erc-command-regexp): Permit single-quote character. | ||
| 34 | |||
| 35 | 2007-09-30 Aidan Kehoe <kehoea@parhasard.net> (tiny change) | ||
| 36 | |||
| 37 | * erc-log.el (erc-save-buffer-in-logs): Prevent spurious warnings | ||
| 38 | when looking at a log file and concurrently saving to it. | ||
| 39 | |||
| 40 | 2007-09-18 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change) | ||
| 12 | 41 | ||
| 13 | * erc.texi (Special-Features): Fix small typo. | 42 | * erc.texi (Special-Features): Fix small typo. |
| 14 | 43 | ||
diff --git a/lisp/erc/erc-ibuffer.el b/lisp/erc/erc-ibuffer.el index e4de3c1fe50..76c2d2b18b1 100644 --- a/lisp/erc/erc-ibuffer.el +++ b/lisp/erc/erc-ibuffer.el | |||
| @@ -71,7 +71,9 @@ | |||
| 71 | (string-match qualifier (or erc-server-announced-name | 71 | (string-match qualifier (or erc-server-announced-name |
| 72 | erc-session-server))))) | 72 | erc-session-server))))) |
| 73 | 73 | ||
| 74 | (defvar erc-modified-channels-alist) | 74 | ;; Silence the byte-compiler |
| 75 | (eval-when-compile | ||
| 76 | (defvar erc-modified-channels-alist)) | ||
| 75 | 77 | ||
| 76 | (define-ibuffer-column erc-modified (:name "M") | 78 | (define-ibuffer-column erc-modified (:name "M") |
| 77 | (if (and (boundp 'erc-track-mode) | 79 | (if (and (boundp 'erc-track-mode) |
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el index 1733b3d1b00..7ea3c63b4b2 100644 --- a/lisp/erc/erc-log.el +++ b/lisp/erc/erc-log.el | |||
| @@ -415,7 +415,8 @@ You can save every individual message by putting this function on | |||
| 415 | (or buffer (setq buffer (current-buffer))) | 415 | (or buffer (setq buffer (current-buffer))) |
| 416 | (when (erc-logging-enabled buffer) | 416 | (when (erc-logging-enabled buffer) |
| 417 | (let ((file (erc-current-logfile buffer)) | 417 | (let ((file (erc-current-logfile buffer)) |
| 418 | (coding-system erc-log-file-coding-system)) | 418 | (coding-system erc-log-file-coding-system) |
| 419 | (inhibit-clash-detection t)) ; needed for XEmacs | ||
| 419 | (save-excursion | 420 | (save-excursion |
| 420 | (with-current-buffer buffer | 421 | (with-current-buffer buffer |
| 421 | (save-restriction | 422 | (save-restriction |
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index ad3eaf73a4b..61d56c94ca7 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -560,6 +560,8 @@ module, otherwise the keybindings will not do anything useful." | |||
| 560 | :global t | 560 | :global t |
| 561 | :group 'erc-track) | 561 | :group 'erc-track) |
| 562 | 562 | ||
| 563 | (add-to-list 'desktop-minor-mode-table '(erc-track-minor-mode nil)) | ||
| 564 | |||
| 563 | (defun erc-track-minor-mode-maybe () | 565 | (defun erc-track-minor-mode-maybe () |
| 564 | "Enable `erc-track-minor-mode', depending on `erc-track-enable-keybindings'." | 566 | "Enable `erc-track-minor-mode', depending on `erc-track-enable-keybindings'." |
| 565 | (unless (or erc-track-minor-mode | 567 | (unless (or erc-track-minor-mode |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 2c5786adff3..7b27f278bed 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -3014,6 +3014,11 @@ LINE has the format \"USER ACTION\"." | |||
| 3014 | (t nil))) | 3014 | (t nil))) |
| 3015 | (put 'erc-cmd-ME 'do-not-parse-args t) | 3015 | (put 'erc-cmd-ME 'do-not-parse-args t) |
| 3016 | 3016 | ||
| 3017 | (defun erc-cmd-ME\'S (line) | ||
| 3018 | "Do a /ME command, but add the string \" 's\" to the beginning." | ||
| 3019 | (erc-cmd-ME (concat " 's" line))) | ||
| 3020 | (put 'erc-cmd-ME\'S 'do-not-parse-args t) | ||
| 3021 | |||
| 3017 | (defun erc-cmd-LASTLOG (line) | 3022 | (defun erc-cmd-LASTLOG (line) |
| 3018 | "Show all lines in the current buffer matching the regexp LINE. | 3023 | "Show all lines in the current buffer matching the regexp LINE. |
| 3019 | 3024 | ||
| @@ -3669,7 +3674,7 @@ If `point' is at the beginning of a channel name, use that as default." | |||
| 3669 | (set-buffer (process-buffer erc-server-process)) | 3674 | (set-buffer (process-buffer erc-server-process)) |
| 3670 | erc-channel-list))) | 3675 | erc-channel-list))) |
| 3671 | (completing-read "Join channel: " table nil nil nil nil chnl)) | 3676 | (completing-read "Join channel: " table nil nil nil nil chnl)) |
| 3672 | (when erc-prompt-for-channel-key | 3677 | (when (or current-prefix-arg erc-prompt-for-channel-key) |
| 3673 | (read-from-minibuffer "Channel key (RET for none): " nil)))) | 3678 | (read-from-minibuffer "Channel key (RET for none): " nil)))) |
| 3674 | (erc-cmd-JOIN channel (when (>= (length key) 1) key))) | 3679 | (erc-cmd-JOIN channel (when (>= (length key) 1) key))) |
| 3675 | 3680 | ||
| @@ -5033,7 +5038,7 @@ Specifically, return the position of `erc-insert-marker'." | |||
| 5033 | erc-input-marker | 5038 | erc-input-marker |
| 5034 | (erc-end-of-input-line))) | 5039 | (erc-end-of-input-line))) |
| 5035 | 5040 | ||
| 5036 | (defvar erc-command-regexp "^/\\([A-Za-z]+\\)\\(\\s-+.*\\|\\s-*\\)$" | 5041 | (defvar erc-command-regexp "^/\\([A-Za-z']+\\)\\(\\s-+.*\\|\\s-*\\)$" |
| 5037 | "Regular expression used for matching commands in ERC.") | 5042 | "Regular expression used for matching commands in ERC.") |
| 5038 | 5043 | ||
| 5039 | (defun erc-send-input (input) | 5044 | (defun erc-send-input (input) |