summaryrefslogtreecommitdiff
path: root/doc/misc/message.texi
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2010-08-31 23:26:23 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-08-31 23:26:23 +0000
commit2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1 (patch)
tree31d04d037175be0a105c23bbfac8cd4065b2a6f2 /doc/misc/message.texi
parent2d217ead4c0a5c83612752a3f5ed326be788bbbb (diff)
downloademacs-2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1.tar.gz
emacs-2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1.tar.bz2
emacs-2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1.zip
gnus-ems.el: Provide compatibility functions for gnus-set-process-plist by Katsumi Yamaoka <yamaoka@jpl.org>; gnus-html.el: Use gnus-process-plist and friends for compatibility; gnus-cite.el: New function to guess whether a long line is natural text or not; message.el: Implement message-prune-recipient-rules; by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Diffstat (limited to 'doc/misc/message.texi')
-rw-r--r--doc/misc/message.texi31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index 7f48cc9c8a3..fb39107d3a8 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -182,6 +182,37 @@ Addresses that match the @code{message-dont-reply-to-names} regular
expression (or list of regular expressions) will be removed from the
@code{Cc} header. A value of @code{nil} means exclude your name only.
+@vindex message-prune-recipient-rules
+@code{message-prune-recipient-rules} is used to prune the addresses
+used when doing a wide reply. It's meant to be used to remove
+duplicate addresses and the like. It's a list of lists, where the
+first element is a regexp to match the address to trigger the rule,
+and the second is a regexp that will be expanded based on the first,
+to match addresses to be pruned.
+
+It's complicated to explain, but it's easy to use.
+
+For instance, if you get an email from @samp{foo@example.org}, but
+@samp{foo@zot.example.org} is also in the @code{Cc} list, then your
+wide reply will go out to both these addresses, since they are unique.
+
+To avoid this, do something like the following:
+
+@code
+(setq message-prune-recipient-rules
+ '(("^\\([^@]+\\)@\\(.*\\)" "\\1@.*[.]\\2")))
+@end code
+
+If, for instance, you want all wide replies that involve messages from
+@samp{cvs@example.org} to go to that address, and nowhere else (i.e.,
+remove all other recipients if @samp{cvs@example.org} is in the
+recipient list:
+
+@code
+(setq message-prune-recipient-rules
+ '(("cvs@example.org" ".")))
+@end code
+
@vindex message-wide-reply-confirm-recipients
If @code{message-wide-reply-confirm-recipients} is non-@code{nil} you
will be asked to confirm that you want to reply to multiple