diff options
| author | Richard M. Stallman | 1994-07-30 07:46:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-07-30 07:46:03 +0000 |
| commit | a2e667ecc26982d31d9109d98e0f4c890e20c364 (patch) | |
| tree | 67b6659166a36fed53b21ccdd772a4d547b7d08c | |
| parent | 3df6812aab8772d08397c87f1d4788cf05e26534 (diff) | |
| download | emacs-a2e667ecc26982d31d9109d98e0f4c890e20c364.tar.gz emacs-a2e667ecc26982d31d9109d98e0f4c890e20c364.zip | |
(rmail-display-summary): New variable.
(rmail): Call rmail-summary at the end if rmail-display-summary is set.
(rmail-highlight-face): New variable.
(rmail-highlight-headers): Use it if non-nil.
| -rw-r--r-- | lisp/mail/rmail.el | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index cf3ddac3e85..4a7b86b9fc3 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -73,7 +73,8 @@ It is useful to set this variable in the site customization file.") | |||
| 73 | ;;;###autoload | 73 | ;;;###autoload |
| 74 | (defvar rmail-highlighted-headers "^From:\\|^Subject:" "\ | 74 | (defvar rmail-highlighted-headers "^From:\\|^Subject:" "\ |
| 75 | *Regexp to match Header fields that Rmail should normally highlight. | 75 | *Regexp to match Header fields that Rmail should normally highlight. |
| 76 | A value of nil means don't highlight.") | 76 | A value of nil means don't highlight. |
| 77 | See also `rmail-highlight-face'.") | ||
| 77 | 78 | ||
| 78 | ;;;###autoload | 79 | ;;;###autoload |
| 79 | (defvar rmail-highlight-face nil "\ | 80 | (defvar rmail-highlight-face nil "\ |
| @@ -121,6 +122,9 @@ Called with region narrowed to the message, including headers.") | |||
| 121 | (defvar rmail-reply-prefix "Re: " | 122 | (defvar rmail-reply-prefix "Re: " |
| 122 | "String to prepend to Subject line when replying to a message.") | 123 | "String to prepend to Subject line when replying to a message.") |
| 123 | 124 | ||
| 125 | (defvar rmail-display-summary nil | ||
| 126 | "If non nil, the summary buffer is always displayed.") | ||
| 127 | |||
| 124 | (defvar rmail-mode-map nil) | 128 | (defvar rmail-mode-map nil) |
| 125 | 129 | ||
| 126 | (defvar rmail-inbox-list nil) | 130 | (defvar rmail-inbox-list nil) |
| @@ -221,7 +225,9 @@ Type \\[describe-mode] once editing that file, for a list of RMAIL commands. | |||
| 221 | May be called with file name as argument; then performs rmail editing on | 225 | May be called with file name as argument; then performs rmail editing on |
| 222 | that file, but does not copy any new mail into the file. | 226 | that file, but does not copy any new mail into the file. |
| 223 | Interactively, if you supply a prefix argument, then you | 227 | Interactively, if you supply a prefix argument, then you |
| 224 | have a chance to specify a file name with the minibuffer." | 228 | have a chance to specify a file name with the minibuffer. |
| 229 | |||
| 230 | If `rmail-display-summary' is non-nil, make a summary for this RMAIL file." | ||
| 225 | (interactive (if current-prefix-arg | 231 | (interactive (if current-prefix-arg |
| 226 | (list (read-file-name "Run rmail on RMAIL file: " | 232 | (list (read-file-name "Run rmail on RMAIL file: " |
| 227 | nil nil t)))) | 233 | nil nil t)))) |
| @@ -264,7 +270,8 @@ have a chance to specify a file name with the minibuffer." | |||
| 264 | ;; or might have been just read in by rmail-get-new-mail. Must | 270 | ;; or might have been just read in by rmail-get-new-mail. Must |
| 265 | ;; determine already unseen messages first, as rmail-get-new-mail | 271 | ;; determine already unseen messages first, as rmail-get-new-mail |
| 266 | ;; positions on the first new message, thus marking it as seen. | 272 | ;; positions on the first new message, thus marking it as seen. |
| 267 | (rmail-show-message existing-unseen)))) | 273 | (rmail-show-message existing-unseen)) |
| 274 | (if rmail-display-summary (rmail-summary)))) | ||
| 268 | 275 | ||
| 269 | ;; Given the value of MAILPATH, return a list of inbox file names. | 276 | ;; Given the value of MAILPATH, return a list of inbox file names. |
| 270 | ;; This is turned off because it is not clear that the user wants | 277 | ;; This is turned off because it is not clear that the user wants |