Re: notmuch_thread_get_authors
[notmuch-archives.git] / 78 / d531c30da30fa78663dd4559570a896284e1d9
1 Return-Path: <novalazy@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 1D32B431FBD\r
6         for <notmuch@notmuchmail.org>; Fri, 21 Jun 2013 22:47:44 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id PxRZa+XqDyJM for <notmuch@notmuchmail.org>;\r
17         Fri, 21 Jun 2013 22:47:37 -0700 (PDT)\r
18 Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com\r
19         [209.85.160.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 2BBC2431FD5\r
22         for <notmuch@notmuchmail.org>; Fri, 21 Jun 2013 22:47:16 -0700 (PDT)\r
23 Received: by mail-pb0-f54.google.com with SMTP id ro2so8722137pbb.13\r
24         for <notmuch@notmuchmail.org>; Fri, 21 Jun 2013 22:47:15 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=M4rFtmIU9Qt5j82bY8pOtu+2vtZbM6VTXeS4OZ7zcDU=;\r
28         b=JzqUxTqglLZ3A5JslPnic76ODNOBn/tfQpQLD4trNd64fSXvGnBk2yHZ+rDgE42EMn\r
29         0LXOjRdqgOXd5eNiT5+hHJqJfD6k+ZBLFxdJgU+xWJrjTjCJ8wzZw3cZZsLp0+PCfYxk\r
30         ba8QljAw5yEPeUpL8lB0wktvBdskVI781jnjiKT1RJapmL/E0wNBOEdOTKJXHqwUnF++\r
31         TnRxJyeEbw3noWKYIIQCH5SOk0lzw40UYGfzUfNj/BXYeU9bCGr+Nvt67IFJ1rj5bTyQ\r
32         5sOdmL6lsaZ4Q7gcA9P9or+Ng6xLV2ueXNlW+cjL5r2M51PyhQldnBVjGza0rbkQTIBZ\r
33         Fu6w==\r
34 X-Received: by 10.66.141.80 with SMTP id rm16mr19445273pab.90.1371880035316;\r
35         Fri, 21 Jun 2013 22:47:15 -0700 (PDT)\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.\r
37         [220.233.42.215])\r
38         by mx.google.com with ESMTPSA id cq1sm7901215pbc.13.2013.06.21.22.47.12\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Fri, 21 Jun 2013 22:47:14 -0700 (PDT)\r
42 From: Peter Wang <novalazy@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH v6 04/12] man: document 'insert' command\r
45 Date: Sat, 22 Jun 2013 15:46:40 +1000\r
46 Message-Id: <1371880008-18312-5-git-send-email-novalazy@gmail.com>\r
47 X-Mailer: git-send-email 1.7.12.1\r
48 In-Reply-To: <1371880008-18312-1-git-send-email-novalazy@gmail.com>\r
49 References: <1371880008-18312-1-git-send-email-novalazy@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sat, 22 Jun 2013 05:47:44 -0000\r
63 \r
64 Add initial documentation for notmuch insert command.\r
65 ---\r
66  man/Makefile.local        |  1 +\r
67  man/man1/notmuch-insert.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++++\r
68  2 files changed, 50 insertions(+)\r
69  create mode 100644 man/man1/notmuch-insert.1\r
70 \r
71 diff --git a/man/Makefile.local b/man/Makefile.local\r
72 index 72e2a18..216aaa0 100644\r
73 --- a/man/Makefile.local\r
74 +++ b/man/Makefile.local\r
75 @@ -12,6 +12,7 @@ MAN1 := \\r
76         $(dir)/man1/notmuch-count.1 \\r
77         $(dir)/man1/notmuch-dump.1 \\r
78         $(dir)/man1/notmuch-restore.1 \\r
79 +       $(dir)/man1/notmuch-insert.1 \\r
80         $(dir)/man1/notmuch-new.1 \\r
81         $(dir)/man1/notmuch-reply.1 \\r
82         $(dir)/man1/notmuch-search.1 \\r
83 diff --git a/man/man1/notmuch-insert.1 b/man/man1/notmuch-insert.1\r
84 new file mode 100644\r
85 index 0000000..fbf83e0\r
86 --- /dev/null\r
87 +++ b/man/man1/notmuch-insert.1\r
88 @@ -0,0 +1,49 @@\r
89 +.TH NOTMUCH-INSERT 1 2013-xx-xx "Notmuch 0.xx"\r
90 +.SH NAME\r
91 +notmuch-insert \- add a message to the maildir and notmuch database\r
92 +.SH SYNOPSIS\r
93 +\r
94 +.B notmuch insert\r
95 +.RI "[ +<" tag> "|\-<" tag "> ... ]"\r
96 +\r
97 +.SH DESCRIPTION\r
98 +\r
99 +.B notmuch insert\r
100 +reads a message from standard input\r
101 +and delivers it into the maildir directory given by configuration option\r
102 +.BR database.path ,\r
103 +then incorporates the message into the notmuch database.\r
104 +It is an alternative to using a separate tool to deliver\r
105 +the message then running\r
106 +.B notmuch new\r
107 +afterwards.\r
108 +\r
109 +The new message will be tagged with the tags specified by the\r
110 +.B new.tags\r
111 +configuration option, then by operations specified on the command-line:\r
112 +tags prefixed by '+' are added while\r
113 +those prefixed by '\-' are removed.\r
114 +\r
115 +If the new message is a duplicate of an existing message in the database\r
116 +(it has same Message-ID), it will be added to the maildir folder and\r
117 +notmuch database, but the tags will not be changed.\r
118 +\r
119 +.RE\r
120 +.SH EXIT STATUS\r
121 +\r
122 +This command returns exit status 0 if the message was successfully\r
123 +added to the mail directory, even if the message could not be indexed\r
124 +and added to the notmuch database.  In the latter case, a warning will\r
125 +be printed to standard error but the message file will be left on disk.\r
126 +\r
127 +If the message could not be written to disk then a non-zero exit\r
128 +status is returned.\r
129 +\r
130 +.RE\r
131 +.SH SEE ALSO\r
132 +\r
133 +\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),\r
134 +\fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-reply\fR(1),\r
135 +\fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),\r
136 +\fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),\r
137 +\fBnotmuch-tag\fR(1)\r
138 -- \r
139 1.7.12.1\r
140 \r