aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2015-12-29 22:55:40 +0100
committerDavid Bremner <david@tethera.net>2016-03-14 20:34:17 -0300
commit557965b8fae3d7923cee0fb8d9b298173e73a264 (patch)
treeb4e515f77d92e71adc4d050b56185443f645f92f /doc
parent3dcd6e9a23cb071a5c1bb474180c3b57650df56b (diff)
doc/reply: Clarify how reply-to header is handled
Current documentation and comments in the code do not correspond to the actual code and tests in the test suite ("Un-munging Reply-To" in T230-reply-to-sender.sh). Fix it.
Diffstat (limited to 'doc')
-rw-r--r--doc/man1/notmuch-reply.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/man1/notmuch-reply.rst b/doc/man1/notmuch-reply.rst
index cfbd4ea8..d73f8f1c 100644
--- a/doc/man1/notmuch-reply.rst
+++ b/doc/man1/notmuch-reply.rst
@@ -13,8 +13,10 @@ DESCRIPTION
Constructs a reply template for a set of messages.
To make replying to email easier, **notmuch reply** takes an existing
-set of messages and constructs a suitable mail template. The Reply-to:
-header (if any, otherwise From:) is used for the To: address. Unless
+set of messages and constructs a suitable mail template. Its To:
+address is set according to the original email in this way: if the
+Reply-to: header is present and different from any To:/Cc: address it
+is used, otherwise From: header is used. Unless
``--reply-to=sender`` is specified, values from the To: and Cc: headers
are copied, but not including any of the current user's email addresses
(as configured in primary\_mail or other\_email in the .notmuch-config