aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/message.texi
diff options
context:
space:
mode:
authorFoo2016-02-08 13:28:37 +1100
committerLars Ingebrigtsen2016-02-08 13:28:37 +1100
commit357ae5dba5faac5ff48ebb971cb29500f87f02a6 (patch)
tree97fc02b211a7ac17899c28df8ef7a8e0f88e7f72 /doc/misc/message.texi
parentd0c29576099b02ba75c2458f4c3ac175d1ba9250 (diff)
downloademacs-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.texi13
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
187Addresses that match the @code{message-dont-reply-to-names} regular 187Addresses that match the @code{message-dont-reply-to-names} regular
188expression (or list of regular expressions) will be removed from the 188expression (or list of regular expressions or a predicate function)
189@code{Cc} header. A value of @code{nil} means exclude your name only. 189will be removed from the @code{Cc} header. A value of @code{nil} means
190exclude 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
1675Regexp matching alternative email addresses. The first address in the 1676Regexp or predicate function matching alternative email addresses.
1676To, Cc or From headers of the original article matching this variable is 1677The first address in the To, Cc or From headers of the original
1677used as the From field of outgoing messages, replacing the default From 1678article matching this variable is used as the From field of outgoing
1678value. 1679messages, replacing the default From value.
1679 1680
1680For example, if you have two secondary email addresses john@@home.net 1681For example, if you have two secondary email addresses john@@home.net
1681and john.doe@@work.com and want to use them in the From field when 1682and john.doe@@work.com and want to use them in the From field when