aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-03-02 07:23:57 +0000
committerGlenn Morris2009-03-02 07:23:57 +0000
commitc9a81e054f6aa94770935bcf1fedc9a910eeac5d (patch)
tree7d3d4efdfff0d80684de817031507f12f730aeef
parent6302f8acf2d8588337ad7be95b2a74c56a4e540f (diff)
downloademacs-c9a81e054f6aa94770935bcf1fedc9a910eeac5d.tar.gz
emacs-c9a81e054f6aa94770935bcf1fedc9a910eeac5d.zip
(rmail-dont-reply-to-names, rmail-default-dont-reply-to-names): Doc fixes.
(rmail-reply): Avoid extraneous leading whitespace.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/mail/rmail.el26
2 files changed, 20 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d1f8d9d34ce..1225b820ad4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -5,6 +5,9 @@
5 5
6 * mail/rmail.el (rmail-reply): Use rmail-apply-in-message so that this 6 * mail/rmail.el (rmail-reply): Use rmail-apply-in-message so that this
7 function has access to all the headers, not just the visible ones. 7 function has access to all the headers, not just the visible ones.
8 (rmail-dont-reply-to-names, rmail-default-dont-reply-to-names):
9 Doc fixes.
10 (rmail-reply): Avoid extraneous leading whitespace.
8 11
92009-03-01 Chong Yidong <cyd@stupidchicken.com> 122009-03-01 Chong Yidong <cyd@stupidchicken.com>
10 13
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 101283f29d6..8006fcdadaf 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -298,18 +298,24 @@ Currently known variants are 'emacs and 'mailutils."
298;;;###autoload 298;;;###autoload
299(defcustom rmail-dont-reply-to-names nil 299(defcustom rmail-dont-reply-to-names nil
300 "A regexp specifying addresses to prune from a reply message. 300 "A regexp specifying addresses to prune from a reply message.
301A value of nil means exclude your own email address as an address 301If this is nil, it is set the first time you compose a reply, to
302plus whatever is specified by `rmail-default-dont-reply-to-names'." 302a value which excludes your own email address, plus whatever is
303specified by `rmail-default-dont-reply-to-names'.
304
305Matching addresses are excluded from the CC field in replies, and
306also the To field, unless this would leave an empty To field."
303 :type '(choice regexp (const :tag "Your Name" nil)) 307 :type '(choice regexp (const :tag "Your Name" nil))
304 :group 'rmail-reply) 308 :group 'rmail-reply)
305 309
306;;;###autoload 310;;;###autoload
307(defvar rmail-default-dont-reply-to-names "\\`info-" 311(defvar rmail-default-dont-reply-to-names "\\`info-"
308 "A regular expression specifying part of the default value of the 312 "Regexp specifying part of the default value of `rmail-dont-reply-to-names'.
309variable `rmail-dont-reply-to-names', for when the user does not set 313This is used when the user does not set `rmail-dont-reply-to-names'
310`rmail-dont-reply-to-names' explicitly. (The other part of the default 314explicitly. (The other part of the default value is the user's
311value is the user's email address and name.) 315email address and name.) It is useful to set this variable in
312It is useful to set this variable in the site customization file.") 316the site customization file. The default value is conventionally
317used for large mailing lists to broadcast announcements.")
318;; Is it really useful to set this site-wide?
313 319
314;;;###autoload 320;;;###autoload
315(defcustom rmail-ignored-headers 321(defcustom rmail-ignored-headers
@@ -3378,8 +3384,10 @@ use \\[mail-yank-original] to yank the original message into it."
3378 (aref rmail-msgref-vector msgnum)) 3384 (aref rmail-msgref-vector msgnum))
3379 rmail-answered-attr-index)) 3385 rmail-answered-attr-index))
3380 nil 3386 nil
3381 (list (cons "References" (concat (mapconcat 'identity references " ") 3387 (list (cons "References" (if references
3382 " " message-id)))))) 3388 (concat (mapconcat 'identity references " ")
3389 " " message-id)
3390 message-id))))))
3383 3391
3384(defun rmail-mark-message (buffer msgnum-list attribute) 3392(defun rmail-mark-message (buffer msgnum-list attribute)
3385 "Give BUFFER's message number in MSGNUM-LIST the attribute ATTRIBUTE. 3393 "Give BUFFER's message number in MSGNUM-LIST the attribute ATTRIBUTE.