[PATCH v4 04/12] man: document 'insert' command
authorPeter Wang <novalazy@gmail.com>
Thu, 24 Jan 2013 12:08:00 +0000 (23:08 +1100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:21 +0000 (09:53 -0800)
ee/bc675b7178c5ddd46673033e5aa877715f7eb2 [new file with mode: 0644]

diff --git a/ee/bc675b7178c5ddd46673033e5aa877715f7eb2 b/ee/bc675b7178c5ddd46673033e5aa877715f7eb2
new file mode 100644 (file)
index 0000000..c015855
--- /dev/null
@@ -0,0 +1,127 @@
+Return-Path: <novalazy@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 34C0C431FDB\r
+       for <notmuch@notmuchmail.org>; Thu, 24 Jan 2013 04:09:39 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Lpf6a53qYkSg for <notmuch@notmuchmail.org>;\r
+       Thu, 24 Jan 2013 04:09:38 -0800 (PST)\r
+Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com\r
+       [209.85.160.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 2A23A431E62\r
+       for <notmuch@notmuchmail.org>; Thu, 24 Jan 2013 04:09:35 -0800 (PST)\r
+Received: by mail-pb0-f48.google.com with SMTP id wy12so4041358pbc.7\r
+       for <notmuch@notmuchmail.org>; Thu, 24 Jan 2013 04:09:34 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to\r
+       :references; bh=Fs8OBqnHa/QGdajf19+BycLi0aPjZ25O9SHGMttzFWU=;\r
+       b=y6KEOcuf5ugiDwaO/Hmy4XijQZpqgLZR7HpJwUAPZi/nDimKXbmVayguCJHcR8XJ0e\r
+       gbJz+ZII+tEdYGZGgMj16IUDb+rxJIN2YJklrPFAfSRGa+wUU0O8eFSQWNyAaVMubEG1\r
+       IQqLZZcRW5cbAjpkpi47SUa36fNEdaJS2shC9JS9egyJ32jm5jS6StZzafYJxOqyqxbX\r
+       UrujuLSqE+tg9PTbXazM5jhZXrry12rURrMVScZX99ch3sGnebfJR6DnG67WrfnLokOt\r
+       dmPjPgkUquLq2a61fXsh/mp85OP+JXm9LIVyw6B8TsMa3DkE2C3h+zr82y5xCBI/UrlQ\r
+       3lqQ==\r
+X-Received: by 10.68.220.6 with SMTP id ps6mr4193850pbc.80.1359029374387;\r
+       Thu, 24 Jan 2013 04:09:34 -0800 (PST)\r
+Received: from localhost (215.42.233.220.static.exetel.com.au.\r
+       [220.233.42.215])\r
+       by mx.google.com with ESMTPS id rq7sm14772536pbc.69.2013.01.24.04.09.32\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Thu, 24 Jan 2013 04:09:33 -0800 (PST)\r
+From: Peter Wang <novalazy@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v4 04/12] man: document 'insert' command\r
+Date: Thu, 24 Jan 2013 23:08:00 +1100\r
+Message-Id: <1359029288-12132-5-git-send-email-novalazy@gmail.com>\r
+X-Mailer: git-send-email 1.7.12.1\r
+In-Reply-To: <1359029288-12132-1-git-send-email-novalazy@gmail.com>\r
+References: <1359029288-12132-1-git-send-email-novalazy@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 24 Jan 2013 12:09:39 -0000\r
+\r
+Add initial documentation for notmuch insert command.\r
+---\r
+ man/Makefile.local        |  1 +\r
+ man/man1/notmuch-insert.1 | 37 +++++++++++++++++++++++++++++++++++++\r
+ 2 files changed, 38 insertions(+)\r
+ create mode 100644 man/man1/notmuch-insert.1\r
+\r
+diff --git a/man/Makefile.local b/man/Makefile.local\r
+index 72e2a18..216aaa0 100644\r
+--- a/man/Makefile.local\r
++++ b/man/Makefile.local\r
+@@ -12,6 +12,7 @@ MAN1 := \\r
+       $(dir)/man1/notmuch-count.1 \\r
+       $(dir)/man1/notmuch-dump.1 \\r
+       $(dir)/man1/notmuch-restore.1 \\r
++      $(dir)/man1/notmuch-insert.1 \\r
+       $(dir)/man1/notmuch-new.1 \\r
+       $(dir)/man1/notmuch-reply.1 \\r
+       $(dir)/man1/notmuch-search.1 \\r
+diff --git a/man/man1/notmuch-insert.1 b/man/man1/notmuch-insert.1\r
+new file mode 100644\r
+index 0000000..387e274\r
+--- /dev/null\r
++++ b/man/man1/notmuch-insert.1\r
+@@ -0,0 +1,37 @@\r
++.TH NOTMUCH-INSERT 1 2013-xx-xx "Notmuch 0.xx"\r
++.SH NAME\r
++notmuch-insert \- add a message to the maildir and notmuch database\r
++.SH SYNOPSIS\r
++\r
++.B notmuch insert\r
++.RI "[ +<" tag> "|\-<" tag "> ... ]"\r
++\r
++.SH DESCRIPTION\r
++\r
++.B notmuch insert\r
++reads a message from standard input\r
++and delivers it to the specified maildir folder,\r
++then incorporates the message into the notmuch database.\r
++It is an alternative to using a separate tool to deliver\r
++the message then running\r
++.B notmuch new\r
++afterwards.\r
++\r
++The new message will be tagged with the tags specified by the\r
++.B new.tags\r
++configuration option, then by operations specified on the command-line:\r
++tags prefixed by '+' are added while\r
++those prefixed by '\-' are removed.\r
++\r
++If the new message is a duplicate of an existing message in the database\r
++(it has same Message-ID), it will be added to the maildir folder and\r
++notmuch database, but the tags will not be changed.\r
++\r
++.RE\r
++.SH SEE ALSO\r
++\r
++\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),\r
++\fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-reply\fR(1),\r
++\fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),\r
++\fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),\r
++\fBnotmuch-tag\fR(1)\r
+-- \r
+1.7.12.1\r
+\r