diff options
| author | Katsumi Yamaoka | 2010-08-31 23:26:23 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-08-31 23:26:23 +0000 |
| commit | 2cdd366f840d28efb582bd5a12f2cc8f5d7d7bf1 (patch) | |
| tree | 31d04d037175be0a105c23bbfac8cd4065b2a6f2 /doc | |
| parent | 2d217ead4c0a5c83612752a3f5ed326be788bbbb (diff) | |
| download | emacs-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')
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/message.texi | 31 |
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 @@ | |||
| 1 | 2010-08-31 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * message.texi (Wide Reply): Document message-prune-recipient-rules. | ||
| 4 | |||
| 1 | 2010-08-30 Lars Magne Ingebrigtsen <larsi@gnus.org> | 5 | 2010-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 | |||
| 182 | expression (or list of regular expressions) will be removed from the | 182 | expression (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 | ||
| 187 | used when doing a wide reply. It's meant to be used to remove | ||
| 188 | duplicate addresses and the like. It's a list of lists, where the | ||
| 189 | first element is a regexp to match the address to trigger the rule, | ||
| 190 | and the second is a regexp that will be expanded based on the first, | ||
| 191 | to match addresses to be pruned. | ||
| 192 | |||
| 193 | It's complicated to explain, but it's easy to use. | ||
| 194 | |||
| 195 | For 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 | ||
| 197 | wide reply will go out to both these addresses, since they are unique. | ||
| 198 | |||
| 199 | To avoid this, do something like the following: | ||
| 200 | |||
| 201 | @code | ||
| 202 | (setq message-prune-recipient-rules | ||
| 203 | '(("^\\([^@]+\\)@\\(.*\\)" "\\1@.*[.]\\2"))) | ||
| 204 | @end code | ||
| 205 | |||
| 206 | If, 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., | ||
| 208 | remove all other recipients if @samp{cvs@example.org} is in the | ||
| 209 | recipient 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 |
| 186 | If @code{message-wide-reply-confirm-recipients} is non-@code{nil} you | 217 | If @code{message-wide-reply-confirm-recipients} is non-@code{nil} you |
| 187 | will be asked to confirm that you want to reply to multiple | 218 | will be asked to confirm that you want to reply to multiple |