diff options
Diffstat (limited to 'lisp/erc')
| -rw-r--r-- | lisp/erc/erc-button.el | 3 | ||||
| -rw-r--r-- | lisp/erc/erc-dcc.el | 16 | ||||
| -rw-r--r-- | lisp/erc/erc-match.el | 34 | ||||
| -rw-r--r-- | lisp/erc/erc-services.el | 11 | ||||
| -rw-r--r-- | lisp/erc/erc-speedbar.el | 7 | ||||
| -rw-r--r-- | lisp/erc/erc-track.el | 8 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 38 |
7 files changed, 58 insertions, 59 deletions
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 3530a31ea05..6139e939924 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el | |||
| @@ -511,7 +511,8 @@ Examples: | |||
| 511 | 511 | ||
| 512 | (defun erc-nick-popup (nick) | 512 | (defun erc-nick-popup (nick) |
| 513 | (let* ((completion-ignore-case t) | 513 | (let* ((completion-ignore-case t) |
| 514 | (action (completing-read (concat "What action to take on '" nick "'? ") | 514 | (action (completing-read (format-message |
| 515 | "What action to take on ‘%s’? " nick) | ||
| 515 | erc-nick-popup-alist)) | 516 | erc-nick-popup-alist)) |
| 516 | (code (cdr (assoc action erc-nick-popup-alist)))) | 517 | (code (cdr (assoc action erc-nick-popup-alist)))) |
| 517 | (when code | 518 | (when code |
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el index d4d005d8345..bb6e3115b49 100644 --- a/lisp/erc/erc-dcc.el +++ b/lisp/erc/erc-dcc.el | |||
| @@ -166,7 +166,7 @@ All values of the list must be uppercase strings.") | |||
| 166 | "Return the first matching entry in `erc-dcc-list' which satisfies the | 166 | "Return the first matching entry in `erc-dcc-list' which satisfies the |
| 167 | constraints given as a plist in ARGS. Returns nil on no match. | 167 | constraints given as a plist in ARGS. Returns nil on no match. |
| 168 | 168 | ||
| 169 | The property :nick is treated specially, if it contains a '!' character, | 169 | The property :nick is treated specially, if it contains a ‘!’ character, |
| 170 | it is treated as a nick!user@host string, and compared with the :nick property | 170 | it is treated as a nick!user@host string, and compared with the :nick property |
| 171 | value of the individual elements using string-equal. Otherwise it is | 171 | value of the individual elements using string-equal. Otherwise it is |
| 172 | compared with `erc-nick-equal-p' which is IRC case-insensitive." | 172 | compared with `erc-nick-equal-p' which is IRC case-insensitive." |
| @@ -315,10 +315,10 @@ Should be set to a string or nil. If nil, use the value of | |||
| 315 | 315 | ||
| 316 | (defcustom erc-dcc-send-request 'ask | 316 | (defcustom erc-dcc-send-request 'ask |
| 317 | "How to treat incoming DCC Send requests. | 317 | "How to treat incoming DCC Send requests. |
| 318 | 'ask - Report the Send request, and wait for the user to manually accept it | 318 | `ask' - Report the Send request, and wait for the user to manually accept it |
| 319 | You might want to set `erc-dcc-auto-masks' for this. | 319 | You might want to set `erc-dcc-auto-masks' for this. |
| 320 | 'auto - Automatically accept the request and begin downloading the file | 320 | `auto' - Automatically accept the request and begin downloading the file |
| 321 | 'ignore - Ignore incoming DCC Send requests completely." | 321 | `ignore' - Ignore incoming DCC Send requests completely." |
| 322 | :group 'erc-dcc | 322 | :group 'erc-dcc |
| 323 | :type '(choice (const ask) (const auto) (const ignore))) | 323 | :type '(choice (const ask) (const auto) (const ignore))) |
| 324 | 324 | ||
| @@ -713,9 +713,9 @@ match, returns that regexp and nil otherwise." | |||
| 713 | 713 | ||
| 714 | (defcustom erc-dcc-chat-request 'ask | 714 | (defcustom erc-dcc-chat-request 'ask |
| 715 | "How to treat incoming DCC Chat requests. | 715 | "How to treat incoming DCC Chat requests. |
| 716 | 'ask - Report the Chat request, and wait for the user to manually accept it | 716 | `ask' - Report the Chat request, and wait for the user to manually accept it |
| 717 | 'auto - Automatically accept the request and open a new chat window | 717 | `auto' - Automatically accept the request and open a new chat window |
| 718 | 'ignore - Ignore incoming DCC chat requests completely." | 718 | `ignore' - Ignore incoming DCC chat requests completely." |
| 719 | :group 'erc-dcc | 719 | :group 'erc-dcc |
| 720 | :type '(choice (const ask) (const auto) (const ignore))) | 720 | :type '(choice (const ask) (const auto) (const ignore))) |
| 721 | 721 | ||
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el index 776231f80aa..55f298bbf69 100644 --- a/lisp/erc/erc-match.el +++ b/lisp/erc/erc-match.el | |||
| @@ -88,13 +88,13 @@ Useful to mark nicks from dangerous hosts." | |||
| 88 | 88 | ||
| 89 | The following values are allowed: | 89 | The following values are allowed: |
| 90 | 90 | ||
| 91 | nil - do not highlight the message at all | 91 | nil - do not highlight the message at all |
| 92 | 'keyword - highlight all instances of current nickname in message | 92 | `keyword' - highlight all instances of current nickname in message |
| 93 | 'nick - highlight the nick of the user who typed your nickname | 93 | `nick' - highlight the nick of the user who typed your nickname |
| 94 | 'nick-or-keyword - highlight the nick of the user who typed your nickname, | 94 | `nick-or-keyword' - highlight the nick of the user who typed your nickname, |
| 95 | or all instances of the current nickname if there was | 95 | or all instances of the current nickname if there was |
| 96 | no sending user | 96 | no sending user |
| 97 | 'all - highlight the entire message where current nickname occurs | 97 | `all' - highlight the entire message where current nickname occurs |
| 98 | 98 | ||
| 99 | Any other value disables highlighting of current nickname altogether." | 99 | Any other value disables highlighting of current nickname altogether." |
| 100 | :group 'erc-match | 100 | :group 'erc-match |
| @@ -110,9 +110,9 @@ See `erc-pals'. | |||
| 110 | 110 | ||
| 111 | The following values are allowed: | 111 | The following values are allowed: |
| 112 | 112 | ||
| 113 | nil - do not highlight the message at all | 113 | nil - do not highlight the message at all |
| 114 | 'nick - highlight pal's nickname only | 114 | `nick' - highlight pal's nickname only |
| 115 | 'all - highlight the entire message from pal | 115 | `all' - highlight the entire message from pal |
| 116 | 116 | ||
| 117 | Any other value disables pal highlighting altogether." | 117 | Any other value disables pal highlighting altogether." |
| 118 | :group 'erc-match | 118 | :group 'erc-match |
| @@ -126,9 +126,9 @@ See `erc-fools'. | |||
| 126 | 126 | ||
| 127 | The following values are allowed: | 127 | The following values are allowed: |
| 128 | 128 | ||
| 129 | nil - do not highlight the message at all | 129 | nil - do not highlight the message at all |
| 130 | 'nick - highlight fool's nickname only | 130 | `nick' - highlight fool's nickname only |
| 131 | 'all - highlight the entire message from fool | 131 | `all' - highlight the entire message from fool |
| 132 | 132 | ||
| 133 | Any other value disables fool highlighting altogether." | 133 | Any other value disables fool highlighting altogether." |
| 134 | :group 'erc-match | 134 | :group 'erc-match |
| @@ -142,8 +142,8 @@ See variable `erc-keywords'. | |||
| 142 | 142 | ||
| 143 | The following values are allowed: | 143 | The following values are allowed: |
| 144 | 144 | ||
| 145 | 'keyword - highlight keyword only | 145 | `keyword' - highlight keyword only |
| 146 | 'all - highlight the entire message containing keyword | 146 | `all' - highlight the entire message containing keyword |
| 147 | 147 | ||
| 148 | Any other value disables keyword highlighting altogether." | 148 | Any other value disables keyword highlighting altogether." |
| 149 | :group 'erc-match | 149 | :group 'erc-match |
| @@ -157,8 +157,8 @@ See `erc-dangerous-hosts'. | |||
| 157 | 157 | ||
| 158 | The following values are allowed: | 158 | The following values are allowed: |
| 159 | 159 | ||
| 160 | 'nick - highlight nick from dangerous-host only | 160 | `nick' - highlight nick from dangerous-host only |
| 161 | 'all - highlight the entire message from dangerous-host | 161 | `all' - highlight the entire message from dangerous-host |
| 162 | 162 | ||
| 163 | Any other value disables dangerous-host highlighting altogether." | 163 | Any other value disables dangerous-host highlighting altogether." |
| 164 | :group 'erc-match | 164 | :group 'erc-match |
diff --git a/lisp/erc/erc-services.el b/lisp/erc/erc-services.el index b37427f839d..07a4274dcb6 100644 --- a/lisp/erc/erc-services.el +++ b/lisp/erc/erc-services.el | |||
| @@ -83,11 +83,11 @@ communication with those Services." | |||
| 83 | 83 | ||
| 84 | Possible settings are:. | 84 | Possible settings are:. |
| 85 | 85 | ||
| 86 | 'autodetect - Identify when the real Nickserv sends an identify request. | 86 | `autodetect' - Identify when the real Nickserv sends an identify request. |
| 87 | 'nick-change - Identify when you log in or change your nickname. | 87 | `nick-change' - Identify when you log in or change your nickname. |
| 88 | 'both - Do the former if the network supports it, otherwise do the | 88 | `both' - Do the former if the network supports it, otherwise do the |
| 89 | latter. | 89 | latter. |
| 90 | nil - Disables automatic Nickserv identification. | 90 | nil - Disables automatic Nickserv identification. |
| 91 | 91 | ||
| 92 | You can also use M-x erc-nickserv-identify-mode to change modes." | 92 | You can also use M-x erc-nickserv-identify-mode to change modes." |
| 93 | :group 'erc-services | 93 | :group 'erc-services |
| @@ -447,4 +447,3 @@ When called interactively, read the password using `read-passwd'." | |||
| 447 | ;; indent-tabs-mode: t | 447 | ;; indent-tabs-mode: t |
| 448 | ;; tab-width: 8 | 448 | ;; tab-width: 8 |
| 449 | ;; End: | 449 | ;; End: |
| 450 | |||
diff --git a/lisp/erc/erc-speedbar.el b/lisp/erc/erc-speedbar.el index a1bf32baa4d..6015a6ac9fb 100644 --- a/lisp/erc/erc-speedbar.el +++ b/lisp/erc/erc-speedbar.el | |||
| @@ -48,9 +48,9 @@ | |||
| 48 | (defcustom erc-speedbar-sort-users-type 'activity | 48 | (defcustom erc-speedbar-sort-users-type 'activity |
| 49 | "How channel nicknames are sorted. | 49 | "How channel nicknames are sorted. |
| 50 | 50 | ||
| 51 | 'activity - Sort users by channel activity | 51 | `activity' - Sort users by channel activity |
| 52 | 'alphabetical - Sort users alphabetically | 52 | `alphabetical' - Sort users alphabetically |
| 53 | nil - Do not sort users" | 53 | nil - Do not sort users" |
| 54 | :group 'erc-speedbar | 54 | :group 'erc-speedbar |
| 55 | :type '(choice (const :tag "Sort users by channel activity" activity) | 55 | :type '(choice (const :tag "Sort users by channel activity" activity) |
| 56 | (const :tag "Sort users alphabetically" alphabetical) | 56 | (const :tag "Sort users alphabetically" alphabetical) |
| @@ -364,4 +364,3 @@ The INDENT level is ignored." | |||
| 364 | ;; indent-tabs-mode: t | 364 | ;; indent-tabs-mode: t |
| 365 | ;; tab-width: 8 | 365 | ;; tab-width: 8 |
| 366 | ;; End: | 366 | ;; End: |
| 367 | |||
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index 1a9aee199a3..2ebc1f22c09 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -248,10 +248,10 @@ The effect may be disabled by setting this variable to nil." | |||
| 248 | Setting this variable only has effects in GNU Emacs versions above 21.3. | 248 | Setting this variable only has effects in GNU Emacs versions above 21.3. |
| 249 | 249 | ||
| 250 | Choices are: | 250 | Choices are: |
| 251 | 'before-modes - add to the beginning of `mode-line-modes', | 251 | `before-modes' - add to the beginning of `mode-line-modes', |
| 252 | 'after-modes - add to the end of `mode-line-modes', | 252 | `after-modes' - add to the end of `mode-line-modes', |
| 253 | t - add to the end of `global-mode-string', | 253 | t - add to the end of `global-mode-string', |
| 254 | nil - don't add to mode line." | 254 | nil - don't add to mode line." |
| 255 | :group 'erc-track | 255 | :group 'erc-track |
| 256 | :type '(choice (const :tag "Just before mode information" before-modes) | 256 | :type '(choice (const :tag "Just before mode information" before-modes) |
| 257 | (const :tag "Just after mode information" after-modes) | 257 | (const :tag "Just after mode information" after-modes) |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 460accd3be3..f2821798103 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -230,7 +230,7 @@ prompt you for it.") | |||
| 230 | (defcustom erc-hide-prompt nil | 230 | (defcustom erc-hide-prompt nil |
| 231 | "If non-nil, do not display the prompt for commands. | 231 | "If non-nil, do not display the prompt for commands. |
| 232 | 232 | ||
| 233 | \(A command is any input starting with a '/'). | 233 | \(A command is any input starting with a ‘/’). |
| 234 | 234 | ||
| 235 | See also the variables `erc-prompt' and `erc-command-indicator'." | 235 | See also the variables `erc-prompt' and `erc-command-indicator'." |
| 236 | :group 'erc-display | 236 | :group 'erc-display |
| @@ -667,7 +667,7 @@ See also the variable `erc-prompt'." | |||
| 667 | "Indicator used by ERC for showing commands. | 667 | "Indicator used by ERC for showing commands. |
| 668 | 668 | ||
| 669 | If non-nil, this will be used in the ERC buffer to indicate | 669 | If non-nil, this will be used in the ERC buffer to indicate |
| 670 | commands (i.e., input starting with a '/'). | 670 | commands (i.e., input starting with a ‘/’). |
| 671 | 671 | ||
| 672 | If nil, the prompt will be constructed from the variable `erc-prompt'." | 672 | If nil, the prompt will be constructed from the variable `erc-prompt'." |
| 673 | :group 'erc-display | 673 | :group 'erc-display |
| @@ -696,8 +696,8 @@ See `erc-notice-prefix'. | |||
| 696 | 696 | ||
| 697 | The following values are allowed: | 697 | The following values are allowed: |
| 698 | 698 | ||
| 699 | 'prefix - highlight notice prefix only | 699 | `prefix' - highlight notice prefix only |
| 700 | 'all - highlight the entire notice | 700 | `all' - highlight the entire notice |
| 701 | 701 | ||
| 702 | Any other value disables notice's highlighting altogether." | 702 | Any other value disables notice's highlighting altogether." |
| 703 | :group 'erc-display | 703 | :group 'erc-display |
| @@ -1258,13 +1258,13 @@ erc-NAME-enable, and erc-NAME-disable. | |||
| 1258 | 1258 | ||
| 1259 | Example: | 1259 | Example: |
| 1260 | 1260 | ||
| 1261 | ;;;###autoload (autoload 'erc-replace-mode \"erc-replace\") | 1261 | ;;;###autoload (autoload \\='erc-replace-mode \"erc-replace\") |
| 1262 | (define-erc-module replace nil | 1262 | (define-erc-module replace nil |
| 1263 | \"This mode replaces incoming text according to `erc-replace-alist'.\" | 1263 | \"This mode replaces incoming text according to `erc-replace-alist'.\" |
| 1264 | ((add-hook 'erc-insert-modify-hook | 1264 | ((add-hook \\='erc-insert-modify-hook |
| 1265 | 'erc-replace-insert)) | 1265 | \\='erc-replace-insert)) |
| 1266 | ((remove-hook 'erc-insert-modify-hook | 1266 | ((remove-hook \\='erc-insert-modify-hook |
| 1267 | 'erc-replace-insert)))" | 1267 | \\='erc-replace-insert)))" |
| 1268 | (declare (doc-string 3)) | 1268 | (declare (doc-string 3)) |
| 1269 | (let* ((sn (symbol-name name)) | 1269 | (let* ((sn (symbol-name name)) |
| 1270 | (mode (intern (format "erc-%s-mode" (downcase sn)))) | 1270 | (mode (intern (format "erc-%s-mode" (downcase sn)))) |
| @@ -1476,11 +1476,11 @@ Defaults to the server buffer." | |||
| 1476 | 1476 | ||
| 1477 | The available choices are: | 1477 | The available choices are: |
| 1478 | 1478 | ||
| 1479 | 'window - in another window, | 1479 | `window' - in another window, |
| 1480 | 'window-noselect - in another window, but don't select that one, | 1480 | `window-noselect' - in another window, but don't select that one, |
| 1481 | 'frame - in another frame, | 1481 | `frame' - in another frame, |
| 1482 | 'bury - bury it in a new buffer, | 1482 | `bury' - bury it in a new buffer, |
| 1483 | 'buffer - in place of the current buffer, | 1483 | `buffer' - in place of the current buffer, |
| 1484 | any other value - in place of the current buffer." | 1484 | any other value - in place of the current buffer." |
| 1485 | :group 'erc-buffers | 1485 | :group 'erc-buffers |
| 1486 | :type '(choice (const :tag "Split window and select" window) | 1486 | :type '(choice (const :tag "Split window and select" window) |
| @@ -2789,7 +2789,7 @@ this function from interpreting the line as a command." | |||
| 2789 | (defun erc-cmd-SAY (line) | 2789 | (defun erc-cmd-SAY (line) |
| 2790 | "Send LINE to the current query or channel as a message, not a command. | 2790 | "Send LINE to the current query or channel as a message, not a command. |
| 2791 | 2791 | ||
| 2792 | Use this when you want to send a message with a leading '/'. Note | 2792 | Use this when you want to send a message with a leading ‘/’. Note |
| 2793 | that since multi-line messages are never a command, you don't | 2793 | that since multi-line messages are never a command, you don't |
| 2794 | need this when pasting multiple lines of text." | 2794 | need this when pasting multiple lines of text." |
| 2795 | (if (string-match "^\\s-*$" line) | 2795 | (if (string-match "^\\s-*$" line) |
| @@ -3119,9 +3119,9 @@ a script after exceeding the flood threshold." | |||
| 3119 | (erc-display-message nil 'error (current-buffer) | 3119 | (erc-display-message nil 'error (current-buffer) |
| 3120 | 'cannot-read-file ?f file)) | 3120 | 'cannot-read-file ?f file)) |
| 3121 | (t | 3121 | (t |
| 3122 | (message "Loading \'%s\'..." file) | 3122 | (message "Loading ‘%s’..." file) |
| 3123 | (erc-load-script file) | 3123 | (erc-load-script file) |
| 3124 | (message "Loading \'%s\'...done" file)))) | 3124 | (message "Loading ‘%s’...done" file)))) |
| 3125 | t) | 3125 | t) |
| 3126 | (t nil))) | 3126 | (t nil))) |
| 3127 | 3127 | ||
| @@ -4466,7 +4466,7 @@ See also: `erc-echo-notice-in-user-buffers', | |||
| 4466 | "Handle the logging in process of connection." | 4466 | "Handle the logging in process of connection." |
| 4467 | (unless erc-logged-in | 4467 | (unless erc-logged-in |
| 4468 | (setq erc-logged-in t) | 4468 | (setq erc-logged-in t) |
| 4469 | (message "Logging in as \'%s\'... done" (erc-current-nick)) | 4469 | (message "Logging in as ‘%s’... done" (erc-current-nick)) |
| 4470 | ;; execute a startup script | 4470 | ;; execute a startup script |
| 4471 | (let ((f (erc-select-startup-file))) | 4471 | (let ((f (erc-select-startup-file))) |
| 4472 | (when f | 4472 | (when f |
| @@ -6512,7 +6512,7 @@ All windows are opened in the current frame." | |||
| 6512 | . "\n\nConnection failed! Not re-establishing connection.\n") | 6512 | . "\n\nConnection failed! Not re-establishing connection.\n") |
| 6513 | (finished . "\n\n*** ERC finished ***\n") | 6513 | (finished . "\n\n*** ERC finished ***\n") |
| 6514 | (terminated . "\n\n*** ERC terminated: %e\n") | 6514 | (terminated . "\n\n*** ERC terminated: %e\n") |
| 6515 | (login . "Logging in as \'%n\'...") | 6515 | (login . "Logging in as ‘%n’...") |
| 6516 | (nick-in-use . "%n is in use. Choose new nickname: ") | 6516 | (nick-in-use . "%n is in use. Choose new nickname: ") |
| 6517 | (nick-too-long | 6517 | (nick-too-long |
| 6518 | . "WARNING: Nick length (%i) exceeds max NICKLEN(%l) defined by server") | 6518 | . "WARNING: Nick length (%i) exceeds max NICKLEN(%l) defined by server") |