1 Return-Path: <five9a2@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1EE25431FBC
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 09:55:52 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id wspxF8uz8dti for <notmuch@notmuchmail.org>;
\r
11 Sat, 28 Nov 2009 09:55:51 -0800 (PST)
\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com
\r
14 by olra.theworths.org (Postfix) with ESMTP id EC49D431FAE
\r
15 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 09:55:50 -0800 (PST)
\r
16 Received: by bwz24 with SMTP id 24so1747592bwz.30
\r
17 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 09:55:50 -0800 (PST)
\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
19 h=domainkey-signature:received:received:sender:from:to:cc:subject
\r
20 :date:message-id:x-mailer:in-reply-to:references;
\r
21 bh=d8L3YjhC7AtRzec4BgsrujqO0SSwFUWd200xOGPEO8Q=;
\r
22 b=ll3kJ5b+Fx+2h8j9Zg18iyg1DxK87fLjtI6DgO9esxiamMMaCt4LgyyssqgwWRQ+45
\r
23 JgRKQvFTHeYla4OUpeBGFyjsyU0OjpHz7z7SaZ6llEwFRzCJVg9b61Ei2nSznqLT7FkY
\r
24 8VDoCP5+9RTSZnt+Or/PijBo6f5W97YzOobCA=
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
26 h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
28 b=XyNEZ4jDomS4A33BHpJaiKl4+xmI54bP/FJNiedMyt5PQKDnJKW/OSoSSlG4ggF+tA
\r
29 dVHQlIoZD/s3uywVjyxrCbx0R6ADJ+iDkZCMQNghN0ZqHCoQ6vAS/3VvzO5AvoQKfarS
\r
30 aQTy75BvP0DyZBny1kSR5hRvCKdOkAx+FguUQ=
\r
31 Received: by 10.204.24.69 with SMTP id u5mr2522410bkb.1.1259430949944;
\r
32 Sat, 28 Nov 2009 09:55:49 -0800 (PST)
\r
33 Received: from localhost.localdomain (vawpc43.ethz.ch [129.132.59.11])
\r
34 by mx.google.com with ESMTPS id 13sm898047fxm.13.2009.11.28.09.55.48
\r
35 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
36 Sat, 28 Nov 2009 09:55:49 -0800 (PST)
\r
37 Sender: Jed Brown <five9a2@gmail.com>
\r
38 From: Jed Brown <jed@59A2.org>
\r
39 To: cworth@cworth.org
\r
40 Date: Sat, 28 Nov 2009 18:56:15 +0100
\r
41 Message-Id: <1259430975-16459-1-git-send-email-jed@59A2.org>
\r
42 X-Mailer: git-send-email 1.6.5.3
\r
43 In-Reply-To: <87ljhrbgzy.fsf@yoom.home.cworth.org>
\r
44 References: <87ljhrbgzy.fsf@yoom.home.cworth.org>
\r
45 Cc: notmuch@notmuchmail.org
\r
46 Subject: [notmuch] [PATCH] Documentation for notmuch reply
\r
47 --format=(default|headers-only)
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.12
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Sat, 28 Nov 2009 17:55:52 -0000
\r
62 Signed-off-by: Jed Brown <jed@59A2.org>
\r
64 notmuch.1 | 22 +++++++++++++++++++---
\r
65 notmuch.c | 16 ++++++++++++++--
\r
66 2 files changed, 33 insertions(+), 5 deletions(-)
\r
68 diff --git a/notmuch.1 b/notmuch.1
\r
69 index 2be77f9..04bd0cf 100644
\r
72 @@ -211,9 +211,9 @@ section below for details of the supported syntax for <search-terms>.
\r
75 command is useful for preparing a template for an email reply.
\r
78 -.BR reply " <search-term>..."
\r
81 +.BR reply " [options...] <search-term>..."
\r
83 Constructs a reply template for a set of messages.
\r
85 @@ -236,6 +236,21 @@ each line with '> ' and included in the body.
\r
87 The resulting message template is output to stdout.
\r
89 +Supported options for
\r
94 +.BR \-\-format= ( default | headers\-only )
\r
98 +Includes subject and quoted message body.
\r
101 +Only produces In-Reply-To, References, To, Cc, and Bcc headers.
\r
106 section below for details of the supported syntax for <search-terms>.
\r
107 @@ -248,6 +263,7 @@ once. For example, when a series of patches are sent in a single
\r
108 thread, replying to the entire thread allows for the reply to comment
\r
109 on issue found in multiple patches.
\r
115 diff --git a/notmuch.c b/notmuch.c
\r
116 index 5b0284c..d9846ce 100644
\r
119 @@ -204,7 +204,7 @@ command_t commands[] = {
\r
120 "\t\tSee \"notmuch help search-terms\" for details of the search\n"
\r
121 "\t\tterms syntax." },
\r
122 { "reply", notmuch_reply_command,
\r
123 - "<search-terms> [...]",
\r
124 + "[options...] <search-terms> [...]",
\r
125 "\t\tConstruct a reply template for a set of messages.",
\r
126 "\t\tConstructs a new message as a reply to a set of existing\n"
\r
127 "\t\tmessages. The Reply-To: header (if any, otherwise From:) is\n"
\r
128 @@ -213,10 +213,22 @@ command_t commands[] = {
\r
130 "\t\tA suitable subject is constructed. The In-Reply-to: and\n"
\r
131 "\t\tReferences: headers are set appropriately, and the content\n"
\r
132 - "\t\tof the original messages is quoted and included in the body.\n"
\r
133 + "\t\tof the original messages is quoted and included in the body\n"
\r
134 + "\t\t(unless --format=headers-only is given).\n"
\r
136 "\t\tThe resulting message template is output to stdout.\n"
\r
138 + "\t\tSupported options for reply include:\n"
\r
140 + "\t\t--format=(default|headers-only)\n"
\r
142 + "\t\t\tdefault:\n"
\r
143 + "\t\t\t\tIncludes subject and quoted message body.\n"
\r
145 + "\t\t\theaders-only:\n"
\r
146 + "\t\t\t\tOnly produces In-Reply-To, References, To\n"
\r
147 + "\t\t\t\tCc, and Bcc headers.\n"
\r
149 "\t\tSee \"notmuch help search-terms\" for details of the search\n"
\r
150 "\t\tterms syntax." },
\r
151 { "tag", notmuch_tag_command,
\r