aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorKatsumi Yamaoka2010-08-31 23:26:23 +0000
committerKatsumi Yamaoka2010-08-31 23:26:23 +0000
commit2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1 (patch)
tree31d04d037175be0a105c23bbfac8cd4065b2a6f2 /doc/misc
parent2d217ead4c0a5c83612752a3f5ed326be788bbbb (diff)
downloademacs-2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1.tar.gz
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')
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/message.texi31
2 files changed, 35 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index ab84e78c74f..eb2adf7fd20 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12010-08-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * message.texi (Wide Reply): Document message-prune-recipient-rules.
4
12010-08-30 Lars Magne Ingebrigtsen <larsi@gnus.org> 52010-08-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 6
3 * gnus.texi (Summary Mail Commands): Note that only the addresses from 7 * gnus.texi (Summary Mail Commands): Note that only the addresses from
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
182expression (or list of regular expressions) will be removed from the 182expression (or list of regular expressions) will be removed from the
183@code{Cc} header. A value of @code{nil} means exclude your name only. 183@code{Cc} header. A value of @code{nil} means exclude your name only.
184 184
185@vindex message-prune-recipient-rules
186@code{message-prune-recipient-rules} is used to prune the addresses
187used when doing a wide reply. It's meant to be used to remove
188duplicate addresses and the like. It's a list of lists, where the
189first element is a regexp to match the address to trigger the rule,
190and the second is a regexp that will be expanded based on the first,
191to match addresses to be pruned.
192
193It's complicated to explain, but it's easy to use.
194
195For instance, if you get an email from @samp{foo@example.org}, but
196@samp{foo@zot.example.org} is also in the @code{Cc} list, then your
197wide reply will go out to both these addresses, since they are unique.
198
199To avoid this, do something like the following:
200
201@code
202(setq message-prune-recipient-rules
203 '(("^\\([^@]+\\)@\\(.*\\)" "\\1@.*[.]\\2")))
204@end code
205
206If, for instance, you want all wide replies that involve messages from
207@samp{cvs@example.org} to go to that address, and nowhere else (i.e.,
208remove all other recipients if @samp{cvs@example.org} is in the
209recipient list:
210
211@code
212(setq message-prune-recipient-rules
213 '(("cvs@example.org" ".")))
214@end code
215
185@vindex message-wide-reply-confirm-recipients 216@vindex message-wide-reply-confirm-recipients
186If @code{message-wide-reply-confirm-recipients} is non-@code{nil} you 217If @code{message-wide-reply-confirm-recipients} is non-@code{nil} you
187will be asked to confirm that you want to reply to multiple 218will be asked to confirm that you want to reply to multiple