comparison lisp/mail/rmail.el @ 105765:db5e4a5897ec

* textmodes/tex-mode.el (tex-dvi-view-command) (tex-show-queue-command, tex-open-quote): * progmodes/ruby-mode.el (auto-mode-alist) (interpreter-mode-alist): Purecopy strings. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names. * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc string for the hook, keymap and abbrev table. * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name. * x-dnd.el (x-dnd-xdnd-to-action): * startup.el (fancy-startup-text, fancy-about-text): Change to defconst from defvar. * ps-print.el (ps-page-dimensions-database): Purecopy initial value. * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist): Purecopy initialization strings. * mail/sendmail.el (mail-header-separator) (mail-personal-alias-file): * mail/rmail.el (rmail-default-dont-reply-to-names) (rmail-ignored-headers, rmail-retry-ignored-headers) (rmail-highlighted-headers, rmail-secondary-file-directory) (rmail-secondary-file-regexp): * files.el (null-device, file-name-invalid-regexp) (locate-dominating-stop-dir-regexp) (inhibit-first-line-modes-regexps): Purecopy initialization strings. (interpreter-mode-alist): Use mapcar instead of mapc. * buff-menu.el (Buffer-menu-mode-map): Purecopy name. * bindings.el (mode-line-major-mode-keymap): Purecopy name. (completion-ignored-extensions): (debug-ignored-errors): Purecopy strings.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 26 Oct 2009 06:43:36 +0000
parents 73061661951d
children 83dde921cc1b
comparison
equal deleted inserted replaced
105764:a5db863758a8 105765:db5e4a5897ec
295 also the To field, unless this would leave an empty To field." 295 also the To field, unless this would leave an empty To field."
296 :type '(choice regexp (const :tag "Your Name" nil)) 296 :type '(choice regexp (const :tag "Your Name" nil))
297 :group 'rmail-reply) 297 :group 'rmail-reply)
298 298
299 ;;;###autoload 299 ;;;###autoload
300 (defvar rmail-default-dont-reply-to-names "\\`info-" 300 (defvar rmail-default-dont-reply-to-names (purecopy "\\`info-")
301 "Regexp specifying part of the default value of `rmail-dont-reply-to-names'. 301 "Regexp specifying part of the default value of `rmail-dont-reply-to-names'.
302 This is used when the user does not set `rmail-dont-reply-to-names' 302 This is used when the user does not set `rmail-dont-reply-to-names'
303 explicitly. (The other part of the default value is the user's 303 explicitly. (The other part of the default value is the user's
304 email address and name.) It is useful to set this variable in 304 email address and name.) It is useful to set this variable in
305 the site customization file. The default value is conventionally 305 the site customization file. The default value is conventionally
306 used for large mailing lists to broadcast announcements.") 306 used for large mailing lists to broadcast announcements.")
307 ;; Is it really useful to set this site-wide? 307 ;; Is it really useful to set this site-wide?
308 308
309 ;;;###autoload 309 ;;;###autoload
310 (defcustom rmail-ignored-headers 310 (defcustom rmail-ignored-headers
311 (purecopy
311 (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:" 312 (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:"
312 "\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:" 313 "\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:"
313 "\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:" 314 "\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:"
314 "\\|^\\(resent-\\|\\)message-id:\\|^summary-line:\\|^resent-date:" 315 "\\|^\\(resent-\\|\\)message-id:\\|^summary-line:\\|^resent-date:"
315 "\\|^nntp-posting-host:\\|^path:\\|^x-char.*:\\|^x-face:\\|^face:" 316 "\\|^nntp-posting-host:\\|^path:\\|^x-char.*:\\|^x-face:\\|^face:"
322 "\\|^content-length:\\|^nntp-posting-date:\\|^user-agent" 323 "\\|^content-length:\\|^nntp-posting-date:\\|^user-agent"
323 "\\|^importance:\\|^envelope-to:\\|^delivery-date\\|^openpgp:" 324 "\\|^importance:\\|^envelope-to:\\|^delivery-date\\|^openpgp:"
324 "\\|^mbox-line:\\|^cancel-lock:" 325 "\\|^mbox-line:\\|^cancel-lock:"
325 "\\|^DomainKey-Signature:\\|^dkim-signature:" 326 "\\|^DomainKey-Signature:\\|^dkim-signature:"
326 "\\|^resent-face:\\|^resent-x.*:\\|^resent-organization:\\|^resent-openpgp:" 327 "\\|^resent-face:\\|^resent-x.*:\\|^resent-organization:\\|^resent-openpgp:"
327 "\\|^x-.*:") 328 "\\|^x-.*:"))
328 "Regexp to match header fields that Rmail should normally hide. 329 "Regexp to match header fields that Rmail should normally hide.
329 \(See also `rmail-nonignored-headers', which overrides this regexp.) 330 \(See also `rmail-nonignored-headers', which overrides this regexp.)
330 This variable is used for reformatting the message header, 331 This variable is used for reformatting the message header,
331 which normally happens once for each message, 332 which normally happens once for each message,
332 when you view the message for the first time in Rmail. 333 when you view the message for the first time in Rmail.
358 `rmail-ignored-headers'." 359 `rmail-ignored-headers'."
359 :type '(choice regexp (const :tag "All")) 360 :type '(choice regexp (const :tag "All"))
360 :group 'rmail-headers) 361 :group 'rmail-headers)
361 362
362 ;;;###autoload 363 ;;;###autoload
363 (defcustom rmail-retry-ignored-headers "^x-authentication-warning:\\|^x-detected-operating-system:\\|^x-spam[-a-z]*:\\|content-type:\\|content-transfer-encoding:\\|mime-version:" 364 (defcustom rmail-retry-ignored-headers (purecopy "^x-authentication-warning:\\|^x-detected-operating-system:\\|^x-spam[-a-z]*:\\|content-type:\\|content-transfer-encoding:\\|mime-version:")
364 "Headers that should be stripped when retrying a failed message." 365 "Headers that should be stripped when retrying a failed message."
365 :type '(choice regexp (const nil :tag "None")) 366 :type '(choice regexp (const nil :tag "None"))
366 :group 'rmail-headers 367 :group 'rmail-headers
367 :version "23.2") ; added x-detected-operating-system, x-spam 368 :version "23.2") ; added x-detected-operating-system, x-spam
368 369
369 ;;;###autoload 370 ;;;###autoload
370 (defcustom rmail-highlighted-headers "^From:\\|^Subject:" 371 (defcustom rmail-highlighted-headers (purecopy "^From:\\|^Subject:")
371 "Regexp to match Header fields that Rmail should normally highlight. 372 "Regexp to match Header fields that Rmail should normally highlight.
372 A value of nil means don't highlight. Uses the face `rmail-highlight'." 373 A value of nil means don't highlight. Uses the face `rmail-highlight'."
373 :type 'regexp 374 :type 'regexp
374 :group 'rmail-headers) 375 :group 'rmail-headers)
375 376
416 the frame where you have the RMAIL buffer displayed." 417 the frame where you have the RMAIL buffer displayed."
417 :type 'boolean 418 :type 'boolean
418 :group 'rmail-reply) 419 :group 'rmail-reply)
419 420
420 ;;;###autoload 421 ;;;###autoload
421 (defcustom rmail-secondary-file-directory "~/" 422 (defcustom rmail-secondary-file-directory (purecopy "~/")
422 "Directory for additional secondary Rmail files." 423 "Directory for additional secondary Rmail files."
423 :type 'directory 424 :type 'directory
424 :group 'rmail-files) 425 :group 'rmail-files)
425 ;;;###autoload 426 ;;;###autoload
426 (defcustom rmail-secondary-file-regexp "\\.xmail$" 427 (defcustom rmail-secondary-file-regexp (purecopy "\\.xmail$")
427 "Regexp for which files are secondary Rmail files." 428 "Regexp for which files are secondary Rmail files."
428 :type 'regexp 429 :type 'regexp
429 :group 'rmail-files) 430 :group 'rmail-files)
430 431
431 (defcustom rmail-confirm-expunge 'y-or-n-p 432 (defcustom rmail-confirm-expunge 'y-or-n-p