aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-27 03:43:04 +0000
committerGlenn Morris2009-01-27 03:43:04 +0000
commit778ef2ef07f8c3a664aa71ebaecd9e2d8363ef4e (patch)
treed4f2bf8c23c5552d4fadedf80d82379877b22ce9
parentc10782e6e594cc3fd27e05d71a29aa3b3193c081 (diff)
downloademacs-778ef2ef07f8c3a664aa71ebaecd9e2d8363ef4e.tar.gz
emacs-778ef2ef07f8c3a664aa71ebaecd9e2d8363ef4e.zip
Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms and hooks. (rmail-enable-mime, rmail-insert-mime-resent-message-function) (rmail-search-mime-message-function, rmail-search-mime-header-function) (rmail-decode-mime-charset): Doc fix. (rmail-search-message, rmail-resend): Check functions set before use.
-rw-r--r--lisp/mail/rmail.el128
1 files changed, 59 insertions, 69 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index f21a143a4c8..99bdcea0516 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -110,7 +110,7 @@ its character representation and its display representation.")
110 110
111;; Temporary support for mbox. 111;; Temporary support for mbox.
112(defcustom rmail-file-name "~/RMAIL" 112(defcustom rmail-file-name "~/RMAIL"
113 "*Name of user's primary mail file." 113 "Name of user's primary mail file."
114 :type 'string 114 :type 'string
115 :group 'rmail 115 :group 'rmail
116 :version "21.1") 116 :version "21.1")
@@ -166,20 +166,20 @@ its character representation and its display representation.")
166 :type '(choice (const nil) string)) 166 :type '(choice (const nil) string))
167 167
168(defcustom rmail-pop-password nil 168(defcustom rmail-pop-password nil
169 "*Password to use when reading mail from POP server. 169 "Password to use when reading mail from POP server.
170Please use `rmail-remote-password' instead." 170Please use `rmail-remote-password' instead."
171 :type '(choice (string :tag "Password") 171 :type '(choice (string :tag "Password")
172 (const :tag "Not Required" nil)) 172 (const :tag "Not Required" nil))
173 :group 'rmail-obsolete) 173 :group 'rmail-obsolete)
174 174
175(defcustom rmail-pop-password-required nil 175(defcustom rmail-pop-password-required nil
176 "*Non-nil if a password is required when reading mail from a POP server. 176 "Non-nil if a password is required when reading mail from a POP server.
177Please use rmail-remote-password-required instead." 177Please use rmail-remote-password-required instead."
178 :type 'boolean 178 :type 'boolean
179 :group 'rmail-obsolete) 179 :group 'rmail-obsolete)
180 180
181(defcustom rmail-remote-password nil 181(defcustom rmail-remote-password nil
182 "*Password to use when reading mail from a remote server. 182 "Password to use when reading mail from a remote server.
183This setting is ignored for mailboxes whose URL already contains a password." 183This setting is ignored for mailboxes whose URL already contains a password."
184 :type '(choice (string :tag "Password") 184 :type '(choice (string :tag "Password")
185 (const :tag "Not Required" nil)) 185 (const :tag "Not Required" nil))
@@ -196,7 +196,7 @@ This setting is ignored for mailboxes whose URL already contains a password."
196 :version "22.1") 196 :version "22.1")
197 197
198(defcustom rmail-remote-password-required nil 198(defcustom rmail-remote-password-required nil
199 "*Non-nil if a password is required when reading mail from a remote server." 199 "Non-nil if a password is required when reading mail from a remote server."
200 :type 'boolean 200 :type 'boolean
201 :set-after '(rmail-pop-password-required) 201 :set-after '(rmail-pop-password-required)
202 :set #'(lambda (symbol value) 202 :set #'(lambda (symbol value)
@@ -211,7 +211,7 @@ This setting is ignored for mailboxes whose URL already contains a password."
211 :version "22.1") 211 :version "22.1")
212 212
213(defcustom rmail-movemail-flags nil 213(defcustom rmail-movemail-flags nil
214 "*List of flags to pass to movemail. 214 "List of flags to pass to movemail.
215Most commonly used to specify `-g' to enable GSS-API authentication 215Most commonly used to specify `-g' to enable GSS-API authentication
216or `-k' to enable Kerberos authentication." 216or `-k' to enable Kerberos authentication."
217 :type '(repeat string) 217 :type '(repeat string)
@@ -228,14 +228,14 @@ please report it with \\[report-emacs-bug].")
228(defvar rmail-encoded-remote-password nil) 228(defvar rmail-encoded-remote-password nil)
229 229
230(defcustom rmail-preserve-inbox nil 230(defcustom rmail-preserve-inbox nil
231 "*Non-nil means leave incoming mail in the user's inbox--don't delete it." 231 "Non-nil means leave incoming mail in the user's inbox--don't delete it."
232 :type 'boolean 232 :type 'boolean
233 :group 'rmail-retrieve) 233 :group 'rmail-retrieve)
234 234
235(defcustom rmail-movemail-search-path nil 235(defcustom rmail-movemail-search-path nil
236 "*List of directories to search for movemail (in addition to `exec-path')." 236 "List of directories to search for movemail (in addition to `exec-path')."
237 :group 'rmail-retrieve 237 :group 'rmail-retrieve
238 :type '(repeat (directory))) 238 :type '(repeat (directory)))
239 239
240(declare-function mail-position-on-field "sendmail" (field &optional soft)) 240(declare-function mail-position-on-field "sendmail" (field &optional soft))
241(declare-function mail-text-start "sendmail" ()) 241(declare-function mail-text-start "sendmail" ())
@@ -313,22 +313,21 @@ Currently known variants are 'emacs and 'mailutils."
313(rmail-movemail-variant-p) 313(rmail-movemail-variant-p)
314 314
315;;;###autoload 315;;;###autoload
316(defcustom rmail-dont-reply-to-names nil "\ 316(defcustom rmail-dont-reply-to-names nil
317*A regexp specifying addresses to prune from a reply message. 317 "A regexp specifying addresses to prune from a reply message.
318A value of nil means exclude your own email address as an address 318A value of nil means exclude your own email address as an address
319plus whatever is specified by `rmail-default-dont-reply-to-names'." 319plus whatever is specified by `rmail-default-dont-reply-to-names'."
320 :type '(choice regexp (const :tag "Your Name" nil)) 320 :type '(choice regexp (const :tag "Your Name" nil))
321 :group 'rmail-reply) 321 :group 'rmail-reply)
322 322
323;;;###autoload 323;;;###autoload
324(defvar rmail-default-dont-reply-to-names "\\`info-" "\ 324(defvar rmail-default-dont-reply-to-names "\\`info-"
325A regular expression specifying part of the default value of the 325 "A regular expression specifying part of the default value of the
326variable `rmail-dont-reply-to-names', for when the user does not set 326variable `rmail-dont-reply-to-names', for when the user does not set
327`rmail-dont-reply-to-names' explicitly. (The other part of the default 327`rmail-dont-reply-to-names' explicitly. (The other part of the default
328value is the user's email address and name.) 328value is the user's email address and name.)
329It is useful to set this variable in the site customization file.") 329It is useful to set this variable in the site customization file.")
330 330
331;;;###autoload
332(defcustom rmail-ignored-headers 331(defcustom rmail-ignored-headers
333 (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:" 332 (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:"
334 "\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:" 333 "\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:"
@@ -347,7 +346,7 @@ It is useful to set this variable in the site customization file.")
347 "\\|^DomainKey-Signature:\\|^dkim-signature:" 346 "\\|^DomainKey-Signature:\\|^dkim-signature:"
348 "\\|^resent-face:\\|^resent-x.*:\\|^resent-organization:\\|^resent-openpgp:" 347 "\\|^resent-face:\\|^resent-x.*:\\|^resent-organization:\\|^resent-openpgp:"
349 "\\|^x-.*:") 348 "\\|^x-.*:")
350 "*Regexp to match header fields that Rmail should normally hide. 349 "Regexp to match header fields that Rmail should normally hide.
351\(See also `rmail-nonignored-headers', which overrides this regexp.) 350\(See also `rmail-nonignored-headers', which overrides this regexp.)
352This variable is used for reformatting the message header, 351This variable is used for reformatting the message header,
353which normally happens once for each message, 352which normally happens once for each message,
@@ -359,7 +358,7 @@ go to that message and type \\[rmail-toggle-header] twice."
359 :group 'rmail-headers) 358 :group 'rmail-headers)
360 359
361(defcustom rmail-nonignored-headers "^x-spam-status:" 360(defcustom rmail-nonignored-headers "^x-spam-status:"
362 "*Regexp to match X header fields that Rmail should show. 361 "Regexp to match X header fields that Rmail should show.
363This regexp overrides `rmail-ignored-headers'; if both this regexp 362This regexp overrides `rmail-ignored-headers'; if both this regexp
364and that one match a certain header field, Rmail shows the field. 363and that one match a certain header field, Rmail shows the field.
365If this is nil, ignore all header fields in `rmail-ignored-headers'. 364If this is nil, ignore all header fields in `rmail-ignored-headers'.
@@ -373,23 +372,20 @@ go to that message and type \\[rmail-toggle-header] twice."
373 :type '(choice (const nil) (regexp)) 372 :type '(choice (const nil) (regexp))
374 :group 'rmail-headers) 373 :group 'rmail-headers)
375 374
376;;;###autoload
377(defcustom rmail-displayed-headers nil 375(defcustom rmail-displayed-headers nil
378 "*Regexp to match Header fields that Rmail should display. 376 "Regexp to match Header fields that Rmail should display.
379If nil, display all header fields except those matched by 377If nil, display all header fields except those matched by
380`rmail-ignored-headers'." 378`rmail-ignored-headers'."
381 :type '(choice regexp (const :tag "All")) 379 :type '(choice regexp (const :tag "All"))
382 :group 'rmail-headers) 380 :group 'rmail-headers)
383 381
384;;;###autoload 382(defcustom rmail-retry-ignored-headers "^x-authentication-warning:"
385(defcustom rmail-retry-ignored-headers "^x-authentication-warning:" "\ 383 "Headers that should be stripped when retrying a failed message."
386*Headers that should be stripped when retrying a failed message."
387 :type '(choice regexp (const nil :tag "None")) 384 :type '(choice regexp (const nil :tag "None"))
388 :group 'rmail-headers) 385 :group 'rmail-headers)
389 386
390;;;###autoload 387(defcustom rmail-highlighted-headers "^From:\\|^Subject:"
391(defcustom rmail-highlighted-headers "^From:\\|^Subject:" "\ 388 "Regexp to match Header fields that Rmail should normally highlight.
392*Regexp to match Header fields that Rmail should normally highlight.
393A value of nil means don't highlight." 389A value of nil means don't highlight."
394 :type 'regexp 390 :type 'regexp
395 :group 'rmail-headers) 391 :group 'rmail-headers)
@@ -406,15 +402,14 @@ A value of nil means don't highlight."
406 :group 'rmail-headers 402 :group 'rmail-headers
407 :version "23.1") 403 :version "23.1")
408 404
409;;;###autoload 405(defcustom rmail-delete-after-output nil
410(defcustom rmail-delete-after-output nil "\ 406 "Non-nil means automatically delete a message that is copied to a file."
411*Non-nil means automatically delete a message that is copied to a file."
412 :type 'boolean 407 :type 'boolean
413 :group 'rmail-files) 408 :group 'rmail-files)
414 409
415;;;###autoload 410;;;###autoload
416(defcustom rmail-primary-inbox-list nil "\ 411(defcustom rmail-primary-inbox-list nil
417*List of files which are inboxes for user's primary mail file `~/RMAIL'. 412 "List of files which are inboxes for user's primary mail file `~/RMAIL'.
418nil means the default, which is (\"/usr/spool/mail/$USER\") 413nil means the default, which is (\"/usr/spool/mail/$USER\")
419\(the name varies depending on the operating system, 414\(the name varies depending on the operating system,
420and the value of the environment variable MAIL overrides it)." 415and the value of the environment variable MAIL overrides it)."
@@ -428,9 +423,8 @@ and the value of the environment variable MAIL overrides it)."
428 :group 'rmail-retrieve 423 :group 'rmail-retrieve
429 :group 'rmail-files) 424 :group 'rmail-files)
430 425
431;;;###autoload
432(defcustom rmail-mail-new-frame nil 426(defcustom rmail-mail-new-frame nil
433 "*Non-nil means Rmail makes a new frame for composing outgoing mail. 427 "Non-nil means Rmail makes a new frame for composing outgoing mail.
434This is handy if you want to preserve the window configuration of 428This is handy if you want to preserve the window configuration of
435the frame where you have the RMAIL buffer displayed." 429the frame where you have the RMAIL buffer displayed."
436 :type 'boolean 430 :type 'boolean
@@ -438,18 +432,17 @@ the frame where you have the RMAIL buffer displayed."
438 432
439;;;###autoload 433;;;###autoload
440(defcustom rmail-secondary-file-directory "~/" 434(defcustom rmail-secondary-file-directory "~/"
441 "*Directory for additional secondary Rmail files." 435 "Directory for additional secondary Rmail files."
442 :type 'directory 436 :type 'directory
443 :group 'rmail-files) 437 :group 'rmail-files)
444;;;###autoload 438;;;###autoload
445(defcustom rmail-secondary-file-regexp "\\.xmail$" 439(defcustom rmail-secondary-file-regexp "\\.xmail$"
446 "*Regexp for which files are secondary Rmail files." 440 "Regexp for which files are secondary Rmail files."
447 :type 'regexp 441 :type 'regexp
448 :group 'rmail-files) 442 :group 'rmail-files)
449 443
450;;;###autoload
451(defcustom rmail-confirm-expunge 'y-or-n-p 444(defcustom rmail-confirm-expunge 'y-or-n-p
452 "*Whether and how to ask for confirmation before expunging deleted messages." 445 "Whether and how to ask for confirmation before expunging deleted messages."
453 :type '(choice (const :tag "No confirmation" nil) 446 :type '(choice (const :tag "No confirmation" nil)
454 (const :tag "Confirm with y-or-n-p" y-or-n-p) 447 (const :tag "Confirm with y-or-n-p" y-or-n-p)
455 (const :tag "Confirm with yes-or-no-p" yes-or-no-p)) 448 (const :tag "Confirm with yes-or-no-p" yes-or-no-p))
@@ -460,7 +453,6 @@ the frame where you have the RMAIL buffer displayed."
460(defvar rmail-mode-hook nil 453(defvar rmail-mode-hook nil
461 "List of functions to call when Rmail is invoked.") 454 "List of functions to call when Rmail is invoked.")
462 455
463;;;###autoload
464(defvar rmail-get-new-mail-hook nil 456(defvar rmail-get-new-mail-hook nil
465 "List of functions to call when Rmail has retrieved new mail.") 457 "List of functions to call when Rmail has retrieved new mail.")
466 458
@@ -471,11 +463,9 @@ the frame where you have the RMAIL buffer displayed."
471 :options '(goto-address) 463 :options '(goto-address)
472 :group 'rmail) 464 :group 'rmail)
473 465
474;;;###autoload
475(defvar rmail-quit-hook nil 466(defvar rmail-quit-hook nil
476 "List of functions to call when quitting out of Rmail.") 467 "List of functions to call when quitting out of Rmail.")
477 468
478;;;###autoload
479(defvar rmail-delete-message-hook nil 469(defvar rmail-delete-message-hook nil
480 "List of functions to call when Rmail deletes a message. 470 "List of functions to call when Rmail deletes a message.
481When the hooks are called, the message has been marked deleted but is 471When the hooks are called, the message has been marked deleted but is
@@ -534,7 +524,7 @@ examples:
534 "Regexp to delete from Subject line before inserting `rmail-reply-prefix'.") 524 "Regexp to delete from Subject line before inserting `rmail-reply-prefix'.")
535 525
536(defcustom rmail-display-summary nil 526(defcustom rmail-display-summary nil
537 "*If non-nil, Rmail always displays the summary buffer." 527 "If non-nil, Rmail always displays the summary buffer."
538 :group 'rmail-summary 528 :group 'rmail-summary
539 :type 'boolean) 529 :type 'boolean)
540 530
@@ -600,11 +590,11 @@ by substituting the new message number into the existing list.")
600(put 'rmail-last-regexp 'permanent-local t) 590(put 'rmail-last-regexp 'permanent-local t)
601 591
602(defcustom rmail-default-file "~/xmail" 592(defcustom rmail-default-file "~/xmail"
603 "*Default file name for \\[rmail-output]." 593 "Default file name for \\[rmail-output]."
604 :type 'file 594 :type 'file
605 :group 'rmail-files) 595 :group 'rmail-files)
606(defcustom rmail-default-body-file "~/mailout" 596(defcustom rmail-default-body-file "~/mailout"
607 "*Default file name for \\[rmail-output-body-to-file]." 597 "Default file name for \\[rmail-output-body-to-file]."
608 :type 'file 598 :type 'file
609 :group 'rmail-files 599 :group 'rmail-files
610 :version "20.3") 600 :version "20.3")
@@ -617,16 +607,14 @@ by substituting the new message number into the existing list.")
617 607
618This is set to nil by default.") 608This is set to nil by default.")
619 609
620;;;###autoload
621(defcustom rmail-enable-mime nil 610(defcustom rmail-enable-mime nil
622 "*If non-nil, RMAIL uses MIME feature. 611 "If non-nil, RMAIL uses MIME features.
623If the value is t, RMAIL automatically shows MIME decoded message. 612If the value is t, RMAIL automatically shows MIME decoded message.
624If the value is neither t nor nil, RMAIL does not show MIME decoded message 613If the value is neither t nor nil, RMAIL does not show MIME decoded message
625until a user explicitly requires it. 614until a user explicitly requires it.
626 615
627Even if the value is non-nil, you can't use MIME feature 616Even if the value is non-nil, you can't use MIME features
628if the feature specified by `rmail-mime-feature' is not available 617unless the feature specified by `rmail-mime-feature' is available."
629in your session."
630 :type '(choice (const :tag "on" t) 618 :type '(choice (const :tag "on" t)
631 (const :tag "off" nil) 619 (const :tag "off" nil)
632 (other :tag "when asked" ask)) 620 (other :tag "when asked" ask))
@@ -635,7 +623,7 @@ in your session."
635(defvar rmail-enable-mime-composing nil 623(defvar rmail-enable-mime-composing nil
636 "*If non-nil, RMAIL uses `rmail-insert-mime-forwarded-message-function' to forward.") 624 "*If non-nil, RMAIL uses `rmail-insert-mime-forwarded-message-function' to forward.")
637 625
638;;;###autoload 626;; FIXME unused.
639(defvar rmail-show-mime-function nil 627(defvar rmail-show-mime-function nil
640 "Function to show MIME decoded message of RMAIL file. 628 "Function to show MIME decoded message of RMAIL file.
641This function is called when `rmail-enable-mime' is non-nil. 629This function is called when `rmail-enable-mime' is non-nil.
@@ -650,31 +638,30 @@ It is called with one argument FORWARD-BUFFER, which is a
650buffer containing the message to forward. The current buffer 638buffer containing the message to forward. The current buffer
651is the outgoing mail buffer.") 639is the outgoing mail buffer.")
652 640
653;;;###autoload
654(defvar rmail-insert-mime-resent-message-function nil 641(defvar rmail-insert-mime-resent-message-function nil
655 "Function to insert a message in MIME format so it can be resent. 642 "Function to insert a message in MIME format so it can be resent.
656This function is called if `rmail-enable-mime' is non-nil. 643This function is called by `rmail-resend' if `rmail-enable-mime' is non-nil.
657It is called with one argument FORWARD-BUFFER, which is a 644It is called with one argument FORWARD-BUFFER, which is a
658buffer containing the message to forward. The current buffer 645buffer containing the message to forward. The current buffer
659is the outgoing mail buffer.") 646is the outgoing mail buffer.")
660 647
661;;;###autoload 648;; FIXME one might want to pass a LIMIT, as per
649;; rmail-search-mime-header-function.
662(defvar rmail-search-mime-message-function nil 650(defvar rmail-search-mime-message-function nil
663 "Function to check if a regexp matches a MIME message. 651 "Function to check if a regexp matches a MIME message.
664This function is called if `rmail-enable-mime' is non-nil. 652This function is called by `rmail-search-message' if
665It is called with two arguments MSG and REGEXP, where 653`rmail-enable-mime' is non-nil. It is called (with point at the
654start of the message) with two arguments MSG and REGEXP, where
666MSG is the message number, REGEXP is the regular expression.") 655MSG is the message number, REGEXP is the regular expression.")
667 656
668;;;###autoload
669(defvar rmail-search-mime-header-function nil 657(defvar rmail-search-mime-header-function nil
670 "Function to check if a regexp matches a header of MIME message. 658 "Function to check if a regexp matches a header of MIME message.
671This function is called if `rmail-enable-mime' is non-nil. 659This function is called by `rmail-message-regexp-p-1' if
672It is called with three arguments MSG, REGEXP, and LIMIT, where 660`rmail-enable-mime' is non-nil. It is called (with point at the
673MSG is the message number, 661start of the header) with three arguments MSG, REGEXP, and LIMIT,
674REGEXP is the regular expression, 662where MSG is the message number, REGEXP is the regular
675LIMIT is the position specifying the end of header.") 663expression, LIMIT is the position specifying the end of header.")
676 664
677;;;###autoload
678(defvar rmail-mime-feature 'rmail-mime 665(defvar rmail-mime-feature 'rmail-mime
679 "Feature to require to load MIME support in Rmail. 666 "Feature to require to load MIME support in Rmail.
680When starting Rmail, if `rmail-enable-mime' is non-nil, 667When starting Rmail, if `rmail-enable-mime' is non-nil,
@@ -683,17 +670,16 @@ this feature is required with `require'.
683The default value is `rmail-mime'. This feature is provided by 670The default value is `rmail-mime'. This feature is provided by
684the rmail-mime package available at <http://www.m17n.org/rmail-mime/>.") 671the rmail-mime package available at <http://www.m17n.org/rmail-mime/>.")
685 672
686;;;###autoload 673;; FIXME this is unused.
687(defvar rmail-decode-mime-charset t 674(defvar rmail-decode-mime-charset t
688 "*Non-nil means a message is decoded by MIME's charset specification. 675 "*Non-nil means a message is decoded by MIME's charset specification.
689If this variable is nil, or the message has not MIME specification, 676If this variable is nil, or the message has not MIME specification,
690the message is decoded as normal way. 677the message is decoded as normal way.
691 678
692If the variable `rmail-enable-mime' is non-nil, this variables is 679If the variable `rmail-enable-mime' is non-nil, this variable is
693ignored, and all the decoding work is done by a feature specified by 680ignored, and all the decoding work is done by a feature specified by
694the variable `rmail-mime-feature'.") 681the variable `rmail-mime-feature'.")
695 682
696;;;###autoload
697(defvar rmail-mime-charset-pattern 683(defvar rmail-mime-charset-pattern
698 (concat "^content-type:[ \t]*text/plain;" 684 (concat "^content-type:[ \t]*text/plain;"
699 "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" 685 "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*"
@@ -2058,7 +2044,7 @@ MSG, if non-nil, identifies the message number to use.
2058If nil, that means the current message." 2044If nil, that means the current message."
2059 (or msg (setq msg rmail-current-message)) 2045 (or msg (setq msg rmail-current-message))
2060 (let (blurb attr-names keywords) 2046 (let (blurb attr-names keywords)
2061 ;; Combine the message attributes and keywords 2047 ;; Combine the message attributes and keywords
2062 ;; into a comma-separated list. 2048 ;; into a comma-separated list.
2063 (setq attr-names (rmail-get-attr-names msg) 2049 (setq attr-names (rmail-get-attr-names msg)
2064 keywords (rmail-get-keywords msg)) 2050 keywords (rmail-get-keywords msg))
@@ -2153,7 +2139,7 @@ change; nil means current message."
2153 (if (= msgnum rmail-current-message) 2139 (if (= msgnum rmail-current-message)
2154 (rmail-display-labels)))) 2140 (rmail-display-labels))))
2155 ;; If we made a significant change in an attribute, 2141 ;; If we made a significant change in an attribute,
2156 ;; mark rmail-buffer modified, so it will be (1) saved 2142 ;; mark rmail-buffer modified, so it will be (1) saved
2157 ;; and (2) displayed in the mode line. 2143 ;; and (2) displayed in the mode line.
2158 (if altered 2144 (if altered
2159 (set-buffer-modified-p t))))) 2145 (set-buffer-modified-p t)))))
@@ -2787,7 +2773,9 @@ or forward if N is negative."
2787 ;; unswaps the buffers. 2773 ;; unswaps the buffers.
2788 (goto-char (rmail-msgbeg msg)) 2774 (goto-char (rmail-msgbeg msg))
2789 (if rmail-enable-mime 2775 (if rmail-enable-mime
2790 (funcall rmail-search-mime-message-function msg regexp) 2776 (if rmail-search-mime-message-function
2777 (funcall rmail-search-mime-message-function msg regexp)
2778 (error "You must set `rmail-search-mime-message-function'"))
2791 (re-search-forward regexp (rmail-msgend msg) t))) 2779 (re-search-forward regexp (rmail-msgend msg) t)))
2792 2780
2793(defvar rmail-search-last-regexp nil) 2781(defvar rmail-search-last-regexp nil)
@@ -3428,7 +3416,9 @@ typically for purposes of moderating a list."
3428 (with-current-buffer tembuf 3416 (with-current-buffer tembuf
3429 ;;>> Copy message into temp buffer 3417 ;;>> Copy message into temp buffer
3430 (if rmail-enable-mime 3418 (if rmail-enable-mime
3431 (funcall rmail-insert-mime-resent-message-function mailbuf) 3419 (if rmail-insert-mime-resent-message-function
3420 (funcall rmail-insert-mime-resent-message-function mailbuf)
3421 (error "You must set `rmail-insert-mime-resent-message-function'"))
3432 (insert-buffer-substring mailbuf)) 3422 (insert-buffer-substring mailbuf))
3433 (goto-char (point-min)) 3423 (goto-char (point-min))
3434 ;; Delete any Sender field, since that's not specifiable. 3424 ;; Delete any Sender field, since that's not specifiable.
@@ -3632,13 +3622,13 @@ In fact, the non-nil value returned is the summary buffer itself."
3632 (and rmail-summary-buffer (get-buffer-window rmail-summary-buffer))) 3622 (and rmail-summary-buffer (get-buffer-window rmail-summary-buffer)))
3633 3623
3634(defcustom rmail-redisplay-summary nil 3624(defcustom rmail-redisplay-summary nil
3635 "*Non-nil means Rmail should show the summary when it changes. 3625 "Non-nil means Rmail should show the summary when it changes.
3636This has an effect only if a summary buffer exists." 3626This has an effect only if a summary buffer exists."
3637 :type 'boolean 3627 :type 'boolean
3638 :group 'rmail-summary) 3628 :group 'rmail-summary)
3639 3629
3640(defcustom rmail-summary-window-size nil 3630(defcustom rmail-summary-window-size nil
3641 "*Non-nil means specify the height for an Rmail summary window." 3631 "Non-nil means specify the height for an Rmail summary window."
3642 :type '(choice (const :tag "Disabled" nil) integer) 3632 :type '(choice (const :tag "Disabled" nil) integer)
3643 :group 'rmail-summary) 3633 :group 'rmail-summary)
3644 3634