"snoozing" with notmuch?
[notmuch-archives.git] / de / 42502edc04386e5b71f4eaae31c6ec53df3c9f
1 Return-Path: <bremner@tethera.net>\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 C3703431FB6\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 13:20:48 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id HsKOsfgvZFGZ for <notmuch@notmuchmail.org>;\r
16         Sat, 24 Nov 2012 13:20:47 -0800 (PST)\r
17 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
18         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 4597F431E82\r
21         for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 13:20:34 -0800 (PST)\r
22 Received: from fctnnbsc30w-156034089108.dhcp-dynamic.fibreop.nb.bellaliant.net\r
23         ([156.34.89.108] helo=zancas.localnet)\r
24         by tesseract.cs.unb.ca with esmtpsa\r
25         (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)\r
26         (envelope-from <bremner@tethera.net>)\r
27         id 1TcN9M-0006SS-UV; Sat, 24 Nov 2012 17:20:33 -0400\r
28 Received: from bremner by zancas.localnet with local (Exim 4.80)\r
29         (envelope-from <bremner@tethera.net>)\r
30         id 1TcN9H-0008DI-HM; Sat, 24 Nov 2012 17:20:27 -0400\r
31 From: david@tethera.net\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [Patch v2 12/17] man: document notmuch tag --batch, --input options\r
34 Date: Sat, 24 Nov 2012 17:20:12 -0400\r
35 Message-Id: <1353792017-31459-13-git-send-email-david@tethera.net>\r
36 X-Mailer: git-send-email 1.7.10.4\r
37 In-Reply-To: <1353792017-31459-1-git-send-email-david@tethera.net>\r
38 References: <1353792017-31459-1-git-send-email-david@tethera.net>\r
39 X-Spam_bar: -\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 24 Nov 2012 21:20:49 -0000\r
53 \r
54 From: Jani Nikula <jani@nikula.org>\r
55 \r
56 ---\r
57  man/man1/notmuch-tag.1 |   52 +++++++++++++++++++++++++++++++++++++++++++++++-\r
58  1 file changed, 51 insertions(+), 1 deletion(-)\r
59 \r
60 diff --git a/man/man1/notmuch-tag.1 b/man/man1/notmuch-tag.1\r
61 index 0f86582..751db7b 100644\r
62 --- a/man/man1/notmuch-tag.1\r
63 +++ b/man/man1/notmuch-tag.1\r
64 @@ -4,7 +4,12 @@ notmuch-tag \- add/remove tags for all messages matching the search terms\r
65  \r
66  .SH SYNOPSIS\r
67  .B notmuch tag\r
68 -.RI  "+<" tag> "|\-<" tag "> [...] [\-\-] <" search-term ">..."\r
69 +.RI "+<" tag ">|\-<" tag "> [...] [\-\-] <" search-terms ">"\r
70 +\r
71 +.B notmuch tag\r
72 +.RI "--batch"\r
73 +.RI "[ --input=<" filename "> ]"\r
74 +\r
75  \r
76  .SH DESCRIPTION\r
77  \r
78 @@ -29,6 +34,51 @@ updates the maildir flags according to tag changes if the\r
79  configuration option is enabled. See \fBnotmuch-config\fR(1) for\r
80  details.\r
81  \r
82 +Supported options for\r
83 +.B tag\r
84 +include\r
85 +.RS 4\r
86 +.TP 4\r
87 +.BR \-\-batch\r
88 +\r
89 +Read batch tagging operations from standard input. This is more\r
90 +efficient than repeated\r
91 +.B notmuch tag\r
92 +invocations. See\r
93 +.B TAG FILE FORMAT\r
94 +below for the input format. This option is not compatible with\r
95 +specifying tagging on the command line.\r
96 +.RE\r
97 +\r
98 +.RS 4\r
99 +.TP 4\r
100 +.BR "\-\-input=" <filename>\r
101 +\r
102 +Read input from given file, instead of from stdin. Implies\r
103 +.BR --batch .\r
104 +\r
105 +.SH TAG FILE FORMAT\r
106 +\r
107 +The input must consist of lines of the format:\r
108 +\r
109 +.RI "T +<" tag ">|\-<" tag "> [...] [\-\-] <" search-terms ">"\r
110 +\r
111 +Each line is interpreted similarly to\r
112 +.B notmuch tag\r
113 +command line arguments. The delimiter is one or more spaces ' '. Any\r
114 +characters in <tag> and <search-terms>\r
115 +.B may\r
116 +be hex encoded with %NN where NN is the hexadecimal value of the\r
117 +character. Any ' ' and '%' characters in <tag> and <search-terms>\r
118 +.B must\r
119 +be hex encoded (using %20 and %25, respectively). Any characters that\r
120 +are not part of <tag> or <search-terms>\r
121 +.B must not\r
122 +be hex encoded.\r
123 +\r
124 +Leading and trailing space ' ' is ignored. Empty lines and lines\r
125 +beginning with '#' are ignored.\r
126 +\r
127  .SH SEE ALSO\r
128  \r
129  \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),\r
130 -- \r
131 1.7.10.4\r
132 \r