diff options
| author | Stefan Monnier | 2010-09-13 16:40:48 +0200 |
|---|---|---|
| committer | Stefan Monnier | 2010-09-13 16:40:48 +0200 |
| commit | cc390e46c7ba95b76ea133d98fd386214cd01709 (patch) | |
| tree | ead4400d22bd07214b782ff7e46e79d473fac419 /doc/misc/message.texi | |
| parent | c566235d981eba73c88bbff00b6a1d88360b6e9f (diff) | |
| parent | c5fe4acb5fb456d6e8e147d8bc7981ce56c5c03d (diff) | |
| download | emacs-cc390e46c7ba95b76ea133d98fd386214cd01709.tar.gz emacs-cc390e46c7ba95b76ea133d98fd386214cd01709.zip | |
Merge from trunk
Diffstat (limited to 'doc/misc/message.texi')
| -rw-r--r-- | doc/misc/message.texi | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 283d29c0de4..6b922476596 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 | @lisp | ||
| 202 | (setq message-prune-recipient-rules | ||
| 203 | '(("^\\([^@@]+\\)@@\\(.*\\)" "\\1@@.*[.]\\2"))) | ||
| 204 | @end lisp | ||
| 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 | @lisp | ||
| 212 | (setq message-prune-recipient-rules | ||
| 213 | '(("cvs@@example.org" "."))) | ||
| 214 | @end lisp | ||
| 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 |
| @@ -1645,7 +1676,8 @@ the problem will actually occur. | |||
| 1645 | @cindex split large message | 1676 | @cindex split large message |
| 1646 | The limitation of messages sent as message/partial. The lower bound | 1677 | The limitation of messages sent as message/partial. The lower bound |
| 1647 | of message size in characters, beyond which the message should be sent | 1678 | of message size in characters, beyond which the message should be sent |
| 1648 | in several parts. If it is @code{nil}, the size is unlimited. | 1679 | in several parts. If it is @code{nil} (which is the default), the |
| 1680 | size is unlimited. | ||
| 1649 | 1681 | ||
| 1650 | @end table | 1682 | @end table |
| 1651 | 1683 | ||
| @@ -2441,7 +2473,3 @@ basis of the new @code{Cc} header, except if this header is | |||
| 2441 | @bye | 2473 | @bye |
| 2442 | 2474 | ||
| 2443 | @c End: | 2475 | @c End: |
| 2444 | |||
| 2445 | @ignore | ||
| 2446 | arch-tag: 16ab76af-a281-4e34-aed6-5624569f7601 | ||
| 2447 | @end ignore | ||