diff options
| author | Foo | 2016-02-08 13:28:37 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-08 13:28:37 +1100 |
| commit | 357ae5dba5faac5ff48ebb971cb29500f87f02a6 (patch) | |
| tree | 97fc02b211a7ac17899c28df8ef7a8e0f88e7f72 /doc/misc/message.texi | |
| parent | d0c29576099b02ba75c2458f4c3ac175d1ba9250 (diff) | |
| download | emacs-357ae5dba5faac5ff48ebb971cb29500f87f02a6.tar.gz emacs-357ae5dba5faac5ff48ebb971cb29500f87f02a6.zip | |
Allow various Gnus and Message address variables to be functions
* doc/misc/gnus.texi (To From Newsgroups):
gnus-ignored-from-addresses can be a function.
* doc/misc/message.texi (Wide Reply):
message-dont-reply-to-names can be a function.
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities):
message-alternative-emails can be a function.
* lisp/gnus/gnus-notifications.el (gnus-notifications):
message-alternative-emails can be a function (bug#22315).
* lisp/gnus/gnus-sum.el
(gnus-summary-from-or-to-or-newsgroups):
gnus-ignored-from-addresses can be a function (bug#22315).
Diffstat (limited to 'doc/misc/message.texi')
| -rw-r--r-- | doc/misc/message.texi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 761fb772f46..fa4fa4398b4 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi | |||
| @@ -185,8 +185,9 @@ but you can change the behavior to suit your needs by fiddling with the | |||
| 185 | 185 | ||
| 186 | @vindex message-dont-reply-to-names | 186 | @vindex message-dont-reply-to-names |
| 187 | Addresses that match the @code{message-dont-reply-to-names} regular | 187 | Addresses that match the @code{message-dont-reply-to-names} regular |
| 188 | expression (or list of regular expressions) will be removed from the | 188 | expression (or list of regular expressions or a predicate function) |
| 189 | @code{Cc} header. A value of @code{nil} means exclude your name only. | 189 | will be removed from the @code{Cc} header. A value of @code{nil} means |
| 190 | exclude your name only. | ||
| 190 | 191 | ||
| 191 | @vindex message-prune-recipient-rules | 192 | @vindex message-prune-recipient-rules |
| 192 | @code{message-prune-recipient-rules} is used to prune the addresses | 193 | @code{message-prune-recipient-rules} is used to prune the addresses |
| @@ -1672,10 +1673,10 @@ trailing old subject. In this case, | |||
| 1672 | 1673 | ||
| 1673 | @item message-alternative-emails | 1674 | @item message-alternative-emails |
| 1674 | @vindex message-alternative-emails | 1675 | @vindex message-alternative-emails |
| 1675 | Regexp matching alternative email addresses. The first address in the | 1676 | Regexp or predicate function matching alternative email addresses. |
| 1676 | To, Cc or From headers of the original article matching this variable is | 1677 | The first address in the To, Cc or From headers of the original |
| 1677 | used as the From field of outgoing messages, replacing the default From | 1678 | article matching this variable is used as the From field of outgoing |
| 1678 | value. | 1679 | messages, replacing the default From value. |
| 1679 | 1680 | ||
| 1680 | For example, if you have two secondary email addresses john@@home.net | 1681 | For example, if you have two secondary email addresses john@@home.net |
| 1681 | and john.doe@@work.com and want to use them in the From field when | 1682 | and john.doe@@work.com and want to use them in the From field when |