diff options
| author | Noam Postavsky | 2019-05-16 07:19:45 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-06-01 20:01:43 -0400 |
| commit | b9c0e3e8c01b5d6cd9b86e41c31e228bd6ba45cc (patch) | |
| tree | cd5d5aa963909d3fabee828452a31392d6706d22 | |
| parent | d101e87715b10bea7c4f3700da266b8fb0290e55 (diff) | |
| download | emacs-b9c0e3e8c01b5d6cd9b86e41c31e228bd6ba45cc.tar.gz emacs-b9c0e3e8c01b5d6cd9b86e41c31e228bd6ba45cc.zip | |
* lisp/net/rcirc.el: Remove redundant :group usage
... and empty Todo comment section.
| -rw-r--r-- | lisp/net/rcirc.el | 156 |
1 files changed, 50 insertions, 106 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index e8710becd0e..50cab7bd160 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -39,8 +39,6 @@ | |||
| 39 | ;; Open a new irc connection with: | 39 | ;; Open a new irc connection with: |
| 40 | ;; M-x irc RET | 40 | ;; M-x irc RET |
| 41 | 41 | ||
| 42 | ;;; Todo: | ||
| 43 | |||
| 44 | ;;; Code: | 42 | ;;; Code: |
| 45 | 43 | ||
| 46 | (require 'cl-lib) | 44 | (require 'cl-lib) |
| @@ -119,35 +117,29 @@ display purposes. If absent, the real server name will be displayed instead." | |||
| 119 | (:channels (repeat string)) | 117 | (:channels (repeat string)) |
| 120 | (:encryption (choice (const tls) | 118 | (:encryption (choice (const tls) |
| 121 | (const plain))) | 119 | (const plain))) |
| 122 | (:server-alias string)))) | 120 | (:server-alias string))))) |
| 123 | :group 'rcirc) | ||
| 124 | 121 | ||
| 125 | (defcustom rcirc-default-port 6667 | 122 | (defcustom rcirc-default-port 6667 |
| 126 | "The default port to connect to." | 123 | "The default port to connect to." |
| 127 | :type 'integer | 124 | :type 'integer) |
| 128 | :group 'rcirc) | ||
| 129 | 125 | ||
| 130 | (defcustom rcirc-default-nick (user-login-name) | 126 | (defcustom rcirc-default-nick (user-login-name) |
| 131 | "Your nick." | 127 | "Your nick." |
| 132 | :type 'string | 128 | :type 'string) |
| 133 | :group 'rcirc) | ||
| 134 | 129 | ||
| 135 | (defcustom rcirc-default-user-name "user" | 130 | (defcustom rcirc-default-user-name "user" |
| 136 | "Your user name sent to the server when connecting." | 131 | "Your user name sent to the server when connecting." |
| 137 | :version "24.1" ; changed default | 132 | :version "24.1" ; changed default |
| 138 | :type 'string | 133 | :type 'string) |
| 139 | :group 'rcirc) | ||
| 140 | 134 | ||
| 141 | (defcustom rcirc-default-full-name "unknown" | 135 | (defcustom rcirc-default-full-name "unknown" |
| 142 | "The full name sent to the server when connecting." | 136 | "The full name sent to the server when connecting." |
| 143 | :version "24.1" ; changed default | 137 | :version "24.1" ; changed default |
| 144 | :type 'string | 138 | :type 'string) |
| 145 | :group 'rcirc) | ||
| 146 | 139 | ||
| 147 | (defcustom rcirc-fill-flag t | 140 | (defcustom rcirc-fill-flag t |
| 148 | "Non-nil means line-wrap messages printed in channel buffers." | 141 | "Non-nil means line-wrap messages printed in channel buffers." |
| 149 | :type 'boolean | 142 | :type 'boolean) |
| 150 | :group 'rcirc) | ||
| 151 | 143 | ||
| 152 | (defcustom rcirc-fill-column nil | 144 | (defcustom rcirc-fill-column nil |
| 153 | "Column beyond which automatic line-wrapping should happen. | 145 | "Column beyond which automatic line-wrapping should happen. |
| @@ -157,24 +149,21 @@ call it to compute the number of columns." | |||
| 157 | :risky t ; can get funcalled | 149 | :risky t ; can get funcalled |
| 158 | :type '(choice (const :tag "Value of `fill-column'" nil) | 150 | :type '(choice (const :tag "Value of `fill-column'" nil) |
| 159 | (integer :tag "Number of columns") | 151 | (integer :tag "Number of columns") |
| 160 | (function :tag "Function returning the number of columns")) | 152 | (function :tag "Function returning the number of columns"))) |
| 161 | :group 'rcirc) | ||
| 162 | 153 | ||
| 163 | (defcustom rcirc-fill-prefix nil | 154 | (defcustom rcirc-fill-prefix nil |
| 164 | "Text to insert before filled lines. | 155 | "Text to insert before filled lines. |
| 165 | If nil, calculate the prefix dynamically to line up text | 156 | If nil, calculate the prefix dynamically to line up text |
| 166 | underneath each nick." | 157 | underneath each nick." |
| 167 | :type '(choice (const :tag "Dynamic" nil) | 158 | :type '(choice (const :tag "Dynamic" nil) |
| 168 | (string :tag "Prefix text")) | 159 | (string :tag "Prefix text"))) |
| 169 | :group 'rcirc) | ||
| 170 | 160 | ||
| 171 | (defcustom rcirc-url-max-length nil | 161 | (defcustom rcirc-url-max-length nil |
| 172 | "Maximum number of characters in displayed URLs. | 162 | "Maximum number of characters in displayed URLs. |
| 173 | If nil, no maximum is applied." | 163 | If nil, no maximum is applied." |
| 174 | :version "27.1" | 164 | :version "27.1" |
| 175 | :type '(choice (const :tag "No maximum" nil) | 165 | :type '(choice (const :tag "No maximum" nil) |
| 176 | (integer :tag "Number of characters")) | 166 | (integer :tag "Number of characters"))) |
| 177 | :group 'rcirc) | ||
| 178 | 167 | ||
| 179 | (defvar rcirc-ignore-buffer-activity-flag nil | 168 | (defvar rcirc-ignore-buffer-activity-flag nil |
| 180 | "If non-nil, ignore activity in this buffer.") | 169 | "If non-nil, ignore activity in this buffer.") |
| @@ -187,8 +176,7 @@ If nil, no maximum is applied." | |||
| 187 | (defcustom rcirc-omit-responses | 176 | (defcustom rcirc-omit-responses |
| 188 | '("JOIN" "PART" "QUIT" "NICK") | 177 | '("JOIN" "PART" "QUIT" "NICK") |
| 189 | "Responses which will be hidden when `rcirc-omit-mode' is enabled." | 178 | "Responses which will be hidden when `rcirc-omit-mode' is enabled." |
| 190 | :type '(repeat string) | 179 | :type '(repeat string)) |
| 191 | :group 'rcirc) | ||
| 192 | 180 | ||
| 193 | (defvar rcirc-prompt-start-marker nil) | 181 | (defvar rcirc-prompt-start-marker nil) |
| 194 | 182 | ||
| @@ -211,32 +199,27 @@ Uninteresting lines are those whose responses are listed in | |||
| 211 | (defcustom rcirc-time-format "%H:%M " | 199 | (defcustom rcirc-time-format "%H:%M " |
| 212 | "Describes how timestamps are printed. | 200 | "Describes how timestamps are printed. |
| 213 | Used as the first arg to `format-time-string'." | 201 | Used as the first arg to `format-time-string'." |
| 214 | :type 'string | 202 | :type 'string) |
| 215 | :group 'rcirc) | ||
| 216 | 203 | ||
| 217 | (defcustom rcirc-input-ring-size 1024 | 204 | (defcustom rcirc-input-ring-size 1024 |
| 218 | "Size of input history ring." | 205 | "Size of input history ring." |
| 219 | :type 'integer | 206 | :type 'integer) |
| 220 | :group 'rcirc) | ||
| 221 | 207 | ||
| 222 | (defcustom rcirc-read-only-flag t | 208 | (defcustom rcirc-read-only-flag t |
| 223 | "Non-nil means make text in IRC buffers read-only." | 209 | "Non-nil means make text in IRC buffers read-only." |
| 224 | :type 'boolean | 210 | :type 'boolean) |
| 225 | :group 'rcirc) | ||
| 226 | 211 | ||
| 227 | (defcustom rcirc-buffer-maximum-lines nil | 212 | (defcustom rcirc-buffer-maximum-lines nil |
| 228 | "The maximum size in lines for rcirc buffers. | 213 | "The maximum size in lines for rcirc buffers. |
| 229 | Channel buffers are truncated from the top to be no greater than this | 214 | Channel buffers are truncated from the top to be no greater than this |
| 230 | number. If zero or nil, no truncating is done." | 215 | number. If zero or nil, no truncating is done." |
| 231 | :type '(choice (const :tag "No truncation" nil) | 216 | :type '(choice (const :tag "No truncation" nil) |
| 232 | (integer :tag "Number of lines")) | 217 | (integer :tag "Number of lines"))) |
| 233 | :group 'rcirc) | ||
| 234 | 218 | ||
| 235 | (defcustom rcirc-scroll-show-maximum-output t | 219 | (defcustom rcirc-scroll-show-maximum-output t |
| 236 | "If non-nil, scroll buffer to keep the point at the bottom of | 220 | "If non-nil, scroll buffer to keep the point at the bottom of |
| 237 | the window." | 221 | the window." |
| 238 | :type 'boolean | 222 | :type 'boolean) |
| 239 | :group 'rcirc) | ||
| 240 | 223 | ||
| 241 | (defcustom rcirc-authinfo nil | 224 | (defcustom rcirc-authinfo nil |
| 242 | "List of authentication passwords. | 225 | "List of authentication passwords. |
| @@ -275,21 +258,18 @@ Examples: | |||
| 275 | (list :tag "QuakeNet" | 258 | (list :tag "QuakeNet" |
| 276 | (const quakenet) | 259 | (const quakenet) |
| 277 | (string :tag "Account") | 260 | (string :tag "Account") |
| 278 | (string :tag "Password")))) | 261 | (string :tag "Password"))))) |
| 279 | :group 'rcirc) | ||
| 280 | 262 | ||
| 281 | (defcustom rcirc-auto-authenticate-flag t | 263 | (defcustom rcirc-auto-authenticate-flag t |
| 282 | "Non-nil means automatically send authentication string to server. | 264 | "Non-nil means automatically send authentication string to server. |
| 283 | See also `rcirc-authinfo'." | 265 | See also `rcirc-authinfo'." |
| 284 | :type 'boolean | 266 | :type 'boolean) |
| 285 | :group 'rcirc) | ||
| 286 | 267 | ||
| 287 | (defcustom rcirc-authenticate-before-join t | 268 | (defcustom rcirc-authenticate-before-join t |
| 288 | "Non-nil means authenticate to services before joining channels. | 269 | "Non-nil means authenticate to services before joining channels. |
| 289 | Currently only works with NickServ on some networks." | 270 | Currently only works with NickServ on some networks." |
| 290 | :version "24.1" | 271 | :version "24.1" |
| 291 | :type 'boolean | 272 | :type 'boolean) |
| 292 | :group 'rcirc) | ||
| 293 | 273 | ||
| 294 | (defcustom rcirc-prompt "> " | 274 | (defcustom rcirc-prompt "> " |
| 295 | "Prompt string to use in IRC buffers. | 275 | "Prompt string to use in IRC buffers. |
| @@ -303,19 +283,16 @@ Setting this alone will not affect the prompt; | |||
| 303 | use either M-x customize or also call `rcirc-update-prompt'." | 283 | use either M-x customize or also call `rcirc-update-prompt'." |
| 304 | :type 'string | 284 | :type 'string |
| 305 | :set 'rcirc-set-changed | 285 | :set 'rcirc-set-changed |
| 306 | :initialize 'custom-initialize-default | 286 | :initialize 'custom-initialize-default) |
| 307 | :group 'rcirc) | ||
| 308 | 287 | ||
| 309 | (defcustom rcirc-keywords nil | 288 | (defcustom rcirc-keywords nil |
| 310 | "List of keywords to highlight in message text." | 289 | "List of keywords to highlight in message text." |
| 311 | :type '(repeat string) | 290 | :type '(repeat string)) |
| 312 | :group 'rcirc) | ||
| 313 | 291 | ||
| 314 | (defcustom rcirc-ignore-list () | 292 | (defcustom rcirc-ignore-list () |
| 315 | "List of ignored nicks. | 293 | "List of ignored nicks. |
| 316 | Use /ignore to list them, use /ignore NICK to add or remove a nick." | 294 | Use /ignore to list them, use /ignore NICK to add or remove a nick." |
| 317 | :type '(repeat string) | 295 | :type '(repeat string)) |
| 318 | :group 'rcirc) | ||
| 319 | 296 | ||
| 320 | (defvar rcirc-ignore-list-automatic () | 297 | (defvar rcirc-ignore-list-automatic () |
| 321 | "List of ignored nicks added to `rcirc-ignore-list' because of renaming. | 298 | "List of ignored nicks added to `rcirc-ignore-list' because of renaming. |
| @@ -326,42 +303,36 @@ parts.") | |||
| 326 | (defcustom rcirc-bright-nicks nil | 303 | (defcustom rcirc-bright-nicks nil |
| 327 | "List of nicks to be emphasized. | 304 | "List of nicks to be emphasized. |
| 328 | See `rcirc-bright-nick' face." | 305 | See `rcirc-bright-nick' face." |
| 329 | :type '(repeat string) | 306 | :type '(repeat string)) |
| 330 | :group 'rcirc) | ||
| 331 | 307 | ||
| 332 | (defcustom rcirc-dim-nicks nil | 308 | (defcustom rcirc-dim-nicks nil |
| 333 | "List of nicks to be deemphasized. | 309 | "List of nicks to be deemphasized. |
| 334 | See `rcirc-dim-nick' face." | 310 | See `rcirc-dim-nick' face." |
| 335 | :type '(repeat string) | 311 | :type '(repeat string)) |
| 336 | :group 'rcirc) | ||
| 337 | 312 | ||
| 338 | (define-obsolete-variable-alias 'rcirc-print-hooks | 313 | (define-obsolete-variable-alias 'rcirc-print-hooks |
| 339 | 'rcirc-print-functions "24.3") | 314 | 'rcirc-print-functions "24.3") |
| 340 | (defcustom rcirc-print-functions nil | 315 | (defcustom rcirc-print-functions nil |
| 341 | "Hook run after text is printed. | 316 | "Hook run after text is printed. |
| 342 | Called with 5 arguments, PROCESS, SENDER, RESPONSE, TARGET and TEXT." | 317 | Called with 5 arguments, PROCESS, SENDER, RESPONSE, TARGET and TEXT." |
| 343 | :type 'hook | 318 | :type 'hook) |
| 344 | :group 'rcirc) | ||
| 345 | 319 | ||
| 346 | (defvar rcirc-authenticated-hook nil | 320 | (defvar rcirc-authenticated-hook nil |
| 347 | "Hook run after successfully authenticated.") | 321 | "Hook run after successfully authenticated.") |
| 348 | 322 | ||
| 349 | (defcustom rcirc-always-use-server-buffer-flag nil | 323 | (defcustom rcirc-always-use-server-buffer-flag nil |
| 350 | "Non-nil means messages without a channel target will go to the server buffer." | 324 | "Non-nil means messages without a channel target will go to the server buffer." |
| 351 | :type 'boolean | 325 | :type 'boolean) |
| 352 | :group 'rcirc) | ||
| 353 | 326 | ||
| 354 | (defcustom rcirc-decode-coding-system 'utf-8 | 327 | (defcustom rcirc-decode-coding-system 'utf-8 |
| 355 | "Coding system used to decode incoming irc messages. | 328 | "Coding system used to decode incoming irc messages. |
| 356 | Set to `undecided' if you want the encoding of the incoming | 329 | Set to `undecided' if you want the encoding of the incoming |
| 357 | messages autodetected." | 330 | messages autodetected." |
| 358 | :type 'coding-system | 331 | :type 'coding-system) |
| 359 | :group 'rcirc) | ||
| 360 | 332 | ||
| 361 | (defcustom rcirc-encode-coding-system 'utf-8 | 333 | (defcustom rcirc-encode-coding-system 'utf-8 |
| 362 | "Coding system used to encode outgoing irc messages." | 334 | "Coding system used to encode outgoing irc messages." |
| 363 | :type 'coding-system | 335 | :type 'coding-system) |
| 364 | :group 'rcirc) | ||
| 365 | 336 | ||
| 366 | (defcustom rcirc-coding-system-alist nil | 337 | (defcustom rcirc-coding-system-alist nil |
| 367 | "Alist to decide a coding system to use for a channel I/O operation. | 338 | "Alist to decide a coding system to use for a channel I/O operation. |
| @@ -380,13 +351,11 @@ and the cdr part is used for encoding." | |||
| 380 | (string :tag "Server Regexp"))) | 351 | (string :tag "Server Regexp"))) |
| 381 | :value-type (choice coding-system | 352 | :value-type (choice coding-system |
| 382 | (cons (coding-system :tag "Decode") | 353 | (cons (coding-system :tag "Decode") |
| 383 | (coding-system :tag "Encode")))) | 354 | (coding-system :tag "Encode"))))) |
| 384 | :group 'rcirc) | ||
| 385 | 355 | ||
| 386 | (defcustom rcirc-multiline-major-mode 'fundamental-mode | 356 | (defcustom rcirc-multiline-major-mode 'fundamental-mode |
| 387 | "Major-mode function to use in multiline edit buffers." | 357 | "Major-mode function to use in multiline edit buffers." |
| 388 | :type 'function | 358 | :type 'function) |
| 389 | :group 'rcirc) | ||
| 390 | 359 | ||
| 391 | (defcustom rcirc-nick-completion-format "%s: " | 360 | (defcustom rcirc-nick-completion-format "%s: " |
| 392 | "Format string to use in nick completions. | 361 | "Format string to use in nick completions. |
| @@ -395,16 +364,14 @@ The format string is only used when completing at the beginning | |||
| 395 | of a line. The string is passed as the first argument to | 364 | of a line. The string is passed as the first argument to |
| 396 | `format' with the nickname as the second argument." | 365 | `format' with the nickname as the second argument." |
| 397 | :version "24.1" | 366 | :version "24.1" |
| 398 | :type 'string | 367 | :type 'string) |
| 399 | :group 'rcirc) | ||
| 400 | 368 | ||
| 401 | (defcustom rcirc-kill-channel-buffers nil | 369 | (defcustom rcirc-kill-channel-buffers nil |
| 402 | "When non-nil, kill channel buffers when the server buffer is killed. | 370 | "When non-nil, kill channel buffers when the server buffer is killed. |
| 403 | Only the channel buffers associated with the server in question | 371 | Only the channel buffers associated with the server in question |
| 404 | will be killed." | 372 | will be killed." |
| 405 | :version "24.3" | 373 | :version "24.3" |
| 406 | :type 'boolean | 374 | :type 'boolean) |
| 407 | :group 'rcirc) | ||
| 408 | 375 | ||
| 409 | (defvar rcirc-nick nil) | 376 | (defvar rcirc-nick nil) |
| 410 | 377 | ||
| @@ -708,8 +675,7 @@ Functions are called with PROCESS and SENTINEL arguments.") | |||
| 708 | "The minimum interval in seconds between reconnect attempts. | 675 | "The minimum interval in seconds between reconnect attempts. |
| 709 | When 0, do not auto-reconnect." | 676 | When 0, do not auto-reconnect." |
| 710 | :version "25.1" | 677 | :version "25.1" |
| 711 | :type 'integer | 678 | :type 'integer) |
| 712 | :group 'rcirc) | ||
| 713 | 679 | ||
| 714 | (defvar rcirc-last-connect-time nil | 680 | (defvar rcirc-last-connect-time nil |
| 715 | "The last time the buffer was connected.") | 681 | "The last time the buffer was connected.") |
| @@ -1176,14 +1142,12 @@ If ALL is non-nil, update prompts in all IRC buffers." | |||
| 1176 | 1142 | ||
| 1177 | (defcustom rcirc-log-directory "~/.emacs.d/rcirc-log" | 1143 | (defcustom rcirc-log-directory "~/.emacs.d/rcirc-log" |
| 1178 | "Directory to keep IRC logfiles." | 1144 | "Directory to keep IRC logfiles." |
| 1179 | :type 'directory | 1145 | :type 'directory) |
| 1180 | :group 'rcirc) | ||
| 1181 | 1146 | ||
| 1182 | (defcustom rcirc-log-flag nil | 1147 | (defcustom rcirc-log-flag nil |
| 1183 | "Non-nil means log IRC activity to disk. | 1148 | "Non-nil means log IRC activity to disk. |
| 1184 | Logfiles are kept in `rcirc-log-directory'." | 1149 | Logfiles are kept in `rcirc-log-directory'." |
| 1185 | :type 'boolean | 1150 | :type 'boolean) |
| 1186 | :group 'rcirc) | ||
| 1187 | 1151 | ||
| 1188 | (defun rcirc-kill-buffer-hook () | 1152 | (defun rcirc-kill-buffer-hook () |
| 1189 | "Part the channel when killing an rcirc buffer. | 1153 | "Part the channel when killing an rcirc buffer. |
| @@ -1372,7 +1336,6 @@ Create the buffer if it doesn't exist." | |||
| 1372 | :lighter " rcirc-mline" | 1336 | :lighter " rcirc-mline" |
| 1373 | :keymap rcirc-multiline-minor-mode-map | 1337 | :keymap rcirc-multiline-minor-mode-map |
| 1374 | :global nil | 1338 | :global nil |
| 1375 | :group 'rcirc | ||
| 1376 | (setq fill-column rcirc-max-message-length)) | 1339 | (setq fill-column rcirc-max-message-length)) |
| 1377 | 1340 | ||
| 1378 | (defun rcirc-multiline-minor-submit () | 1341 | (defun rcirc-multiline-minor-submit () |
| @@ -1434,8 +1397,7 @@ the of the following escape sequences replaced by the described values: | |||
| 1434 | %% A literal `%' character" | 1397 | %% A literal `%' character" |
| 1435 | :type '(alist :key-type (choice (string :tag "Type") | 1398 | :type '(alist :key-type (choice (string :tag "Type") |
| 1436 | (const :tag "Default" t)) | 1399 | (const :tag "Default" t)) |
| 1437 | :value-type string) | 1400 | :value-type string)) |
| 1438 | :group 'rcirc) | ||
| 1439 | 1401 | ||
| 1440 | (defun rcirc-format-response-string (process sender response target text) | 1402 | (defun rcirc-format-response-string (process sender response target text) |
| 1441 | "Return a nicely-formatted response string, incorporating TEXT | 1403 | "Return a nicely-formatted response string, incorporating TEXT |
| @@ -1517,12 +1479,10 @@ is found by looking up RESPONSE in `rcirc-response-formats'." | |||
| 1517 | 1479 | ||
| 1518 | (defcustom rcirc-omit-threshold 100 | 1480 | (defcustom rcirc-omit-threshold 100 |
| 1519 | "Number of lines since last activity from a nick before `rcirc-omit-responses' are omitted." | 1481 | "Number of lines since last activity from a nick before `rcirc-omit-responses' are omitted." |
| 1520 | :type 'integer | 1482 | :type 'integer) |
| 1521 | :group 'rcirc) | ||
| 1522 | 1483 | ||
| 1523 | (defcustom rcirc-log-process-buffers nil | 1484 | (defcustom rcirc-log-process-buffers nil |
| 1524 | "Non-nil if rcirc process buffers should be logged to disk." | 1485 | "Non-nil if rcirc process buffers should be logged to disk." |
| 1525 | :group 'rcirc | ||
| 1526 | :type 'boolean | 1486 | :type 'boolean |
| 1527 | :version "24.1") | 1487 | :version "24.1") |
| 1528 | 1488 | ||
| @@ -1715,7 +1675,6 @@ is put into `rcirc-log-directory'. | |||
| 1715 | 1675 | ||
| 1716 | The filename is then cleaned using `convert-standard-filename' to | 1676 | The filename is then cleaned using `convert-standard-filename' to |
| 1717 | guarantee valid filenames for the current OS." | 1677 | guarantee valid filenames for the current OS." |
| 1718 | :group 'rcirc | ||
| 1719 | :type 'function) | 1678 | :type 'function) |
| 1720 | 1679 | ||
| 1721 | (defun rcirc-log (process sender response target text) | 1680 | (defun rcirc-log (process sender response target text) |
| @@ -1883,7 +1842,6 @@ This function does not alter the INPUT string." | |||
| 1883 | :lighter "" | 1842 | :lighter "" |
| 1884 | :keymap rcirc-track-minor-mode-map | 1843 | :keymap rcirc-track-minor-mode-map |
| 1885 | :global t | 1844 | :global t |
| 1886 | :group 'rcirc | ||
| 1887 | (or global-mode-string (setq global-mode-string '(""))) | 1845 | (or global-mode-string (setq global-mode-string '(""))) |
| 1888 | ;; toggle the mode-line channel indicator | 1846 | ;; toggle the mode-line channel indicator |
| 1889 | (if rcirc-track-minor-mode | 1847 | (if rcirc-track-minor-mode |
| @@ -2971,8 +2929,7 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 2971 | (((class color) (min-colors 16) (background dark)) :foreground "LightSkyBlue") | 2929 | (((class color) (min-colors 16) (background dark)) :foreground "LightSkyBlue") |
| 2972 | (((class color) (min-colors 8)) :foreground "blue" :weight bold) | 2930 | (((class color) (min-colors 8)) :foreground "blue" :weight bold) |
| 2973 | (t :inverse-video t :weight bold)) | 2931 | (t :inverse-video t :weight bold)) |
| 2974 | "Rcirc face for my messages." | 2932 | "Rcirc face for my messages.") |
| 2975 | :group 'rcirc-faces) | ||
| 2976 | 2933 | ||
| 2977 | (defface rcirc-other-nick ; font-lock-variable-name-face | 2934 | (defface rcirc-other-nick ; font-lock-variable-name-face |
| 2978 | '((((class grayscale) (background light)) | 2935 | '((((class grayscale) (background light)) |
| @@ -2985,8 +2942,7 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 2985 | (((class color) (min-colors 16) (background dark)) :foreground "LightGoldenrod") | 2942 | (((class color) (min-colors 16) (background dark)) :foreground "LightGoldenrod") |
| 2986 | (((class color) (min-colors 8)) :foreground "yellow" :weight light) | 2943 | (((class color) (min-colors 8)) :foreground "yellow" :weight light) |
| 2987 | (t :weight bold :slant italic)) | 2944 | (t :weight bold :slant italic)) |
| 2988 | "Rcirc face for other users' messages." | 2945 | "Rcirc face for other users' messages.") |
| 2989 | :group 'rcirc-faces) | ||
| 2990 | 2946 | ||
| 2991 | (defface rcirc-bright-nick | 2947 | (defface rcirc-bright-nick |
| 2992 | '((((class grayscale) (background light)) | 2948 | '((((class grayscale) (background light)) |
| @@ -2999,13 +2955,11 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 2999 | (((class color) (min-colors 16) (background dark)) :foreground "Aquamarine") | 2955 | (((class color) (min-colors 16) (background dark)) :foreground "Aquamarine") |
| 3000 | (((class color) (min-colors 8)) :foreground "magenta") | 2956 | (((class color) (min-colors 8)) :foreground "magenta") |
| 3001 | (t :weight bold :underline t)) | 2957 | (t :weight bold :underline t)) |
| 3002 | "Rcirc face for nicks matched by `rcirc-bright-nicks'." | 2958 | "Rcirc face for nicks matched by `rcirc-bright-nicks'.") |
| 3003 | :group 'rcirc-faces) | ||
| 3004 | 2959 | ||
| 3005 | (defface rcirc-dim-nick | 2960 | (defface rcirc-dim-nick |
| 3006 | '((t :inherit default)) | 2961 | '((t :inherit default)) |
| 3007 | "Rcirc face for nicks in `rcirc-dim-nicks'." | 2962 | "Rcirc face for nicks in `rcirc-dim-nicks'.") |
| 3008 | :group 'rcirc-faces) | ||
| 3009 | 2963 | ||
| 3010 | (defface rcirc-server ; font-lock-comment-face | 2964 | (defface rcirc-server ; font-lock-comment-face |
| 3011 | '((((class grayscale) (background light)) | 2965 | '((((class grayscale) (background light)) |
| @@ -3023,8 +2977,7 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 3023 | (((class color) (min-colors 8) (background light))) | 2977 | (((class color) (min-colors 8) (background light))) |
| 3024 | (((class color) (min-colors 8) (background dark))) | 2978 | (((class color) (min-colors 8) (background dark))) |
| 3025 | (t :weight bold :slant italic)) | 2979 | (t :weight bold :slant italic)) |
| 3026 | "Rcirc face for server messages." | 2980 | "Rcirc face for server messages.") |
| 3027 | :group 'rcirc-faces) | ||
| 3028 | 2981 | ||
| 3029 | (defface rcirc-server-prefix ; font-lock-comment-delimiter-face | 2982 | (defface rcirc-server-prefix ; font-lock-comment-delimiter-face |
| 3030 | '((default :inherit rcirc-server) | 2983 | '((default :inherit rcirc-server) |
| @@ -3034,13 +2987,11 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 3034 | :foreground "red") | 2987 | :foreground "red") |
| 3035 | (((class color) (min-colors 8) (background dark)) | 2988 | (((class color) (min-colors 8) (background dark)) |
| 3036 | :foreground "red1")) | 2989 | :foreground "red1")) |
| 3037 | "Rcirc face for server prefixes." | 2990 | "Rcirc face for server prefixes.") |
| 3038 | :group 'rcirc-faces) | ||
| 3039 | 2991 | ||
| 3040 | (defface rcirc-timestamp | 2992 | (defface rcirc-timestamp |
| 3041 | '((t :inherit default)) | 2993 | '((t :inherit default)) |
| 3042 | "Rcirc face for timestamps." | 2994 | "Rcirc face for timestamps.") |
| 3043 | :group 'rcirc-faces) | ||
| 3044 | 2995 | ||
| 3045 | (defface rcirc-nick-in-message ; font-lock-keyword-face | 2996 | (defface rcirc-nick-in-message ; font-lock-keyword-face |
| 3046 | '((((class grayscale) (background light)) :foreground "LightGray" :weight bold) | 2997 | '((((class grayscale) (background light)) :foreground "LightGray" :weight bold) |
| @@ -3051,37 +3002,30 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 3051 | (((class color) (min-colors 16) (background dark)) :foreground "Cyan") | 3002 | (((class color) (min-colors 16) (background dark)) :foreground "Cyan") |
| 3052 | (((class color) (min-colors 8)) :foreground "cyan" :weight bold) | 3003 | (((class color) (min-colors 8)) :foreground "cyan" :weight bold) |
| 3053 | (t :weight bold)) | 3004 | (t :weight bold)) |
| 3054 | "Rcirc face for instances of your nick within messages." | 3005 | "Rcirc face for instances of your nick within messages.") |
| 3055 | :group 'rcirc-faces) | ||
| 3056 | 3006 | ||
| 3057 | (defface rcirc-nick-in-message-full-line '((t :weight bold)) | 3007 | (defface rcirc-nick-in-message-full-line '((t :weight bold)) |
| 3058 | "Rcirc face for emphasizing the entire message when your nick is mentioned." | 3008 | "Rcirc face for emphasizing the entire message when your nick is mentioned.") |
| 3059 | :group 'rcirc-faces) | ||
| 3060 | 3009 | ||
| 3061 | (defface rcirc-prompt ; comint-highlight-prompt | 3010 | (defface rcirc-prompt ; comint-highlight-prompt |
| 3062 | '((((min-colors 88) (background dark)) :foreground "cyan1") | 3011 | '((((min-colors 88) (background dark)) :foreground "cyan1") |
| 3063 | (((background dark)) :foreground "cyan") | 3012 | (((background dark)) :foreground "cyan") |
| 3064 | (t :foreground "dark blue")) | 3013 | (t :foreground "dark blue")) |
| 3065 | "Rcirc face for prompts." | 3014 | "Rcirc face for prompts.") |
| 3066 | :group 'rcirc-faces) | ||
| 3067 | 3015 | ||
| 3068 | (defface rcirc-track-nick | 3016 | (defface rcirc-track-nick |
| 3069 | '((((type tty)) :inherit default) | 3017 | '((((type tty)) :inherit default) |
| 3070 | (t :inverse-video t)) | 3018 | (t :inverse-video t)) |
| 3071 | "Rcirc face used in the mode-line when your nick is mentioned." | 3019 | "Rcirc face used in the mode-line when your nick is mentioned.") |
| 3072 | :group 'rcirc-faces) | ||
| 3073 | 3020 | ||
| 3074 | (defface rcirc-track-keyword '((t :weight bold)) | 3021 | (defface rcirc-track-keyword '((t :weight bold)) |
| 3075 | "Rcirc face used in the mode-line when keywords are mentioned." | 3022 | "Rcirc face used in the mode-line when keywords are mentioned.") |
| 3076 | :group 'rcirc-faces) | ||
| 3077 | 3023 | ||
| 3078 | (defface rcirc-url '((t :weight bold)) | 3024 | (defface rcirc-url '((t :weight bold)) |
| 3079 | "Rcirc face used to highlight urls." | 3025 | "Rcirc face used to highlight urls.") |
| 3080 | :group 'rcirc-faces) | ||
| 3081 | 3026 | ||
| 3082 | (defface rcirc-keyword '((t :inherit highlight)) | 3027 | (defface rcirc-keyword '((t :inherit highlight)) |
| 3083 | "Rcirc face used to highlight keywords." | 3028 | "Rcirc face used to highlight keywords.") |
| 3084 | :group 'rcirc-faces) | ||
| 3085 | 3029 | ||
| 3086 | 3030 | ||
| 3087 | ;; When using M-x flyspell-mode, only check words after the prompt | 3031 | ;; When using M-x flyspell-mode, only check words after the prompt |