]> git.cworth.org Git - notmuch-wiki/commitdiff
manual pages for 0.19 (sans api page, for now)
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 15 Nov 2014 13:58:39 +0000 (15:58 +0200)
committerTomi Ollila <tomi.ollila@iki.fi>
Sat, 15 Nov 2014 13:58:39 +0000 (15:58 +0200)
16 files changed:
manpages.mdwn
manpages/notmuch-1.mdwn
manpages/notmuch-address-1.mdwn [new file with mode: 0644]
manpages/notmuch-compact-1.mdwn
manpages/notmuch-config-1.mdwn
manpages/notmuch-count-1.mdwn
manpages/notmuch-dump-1.mdwn
manpages/notmuch-hooks-5.mdwn
manpages/notmuch-insert-1.mdwn
manpages/notmuch-new-1.mdwn
manpages/notmuch-reply-1.mdwn
manpages/notmuch-restore-1.mdwn
manpages/notmuch-search-1.mdwn
manpages/notmuch-search-terms-7.mdwn
manpages/notmuch-show-1.mdwn
manpages/notmuch-tag-1.mdwn

index 16ac3ea094efe7b81a92c47b664a66aeab922e48..1439d7eb3d2634bb4ccde8525d56315cdb13a461 100644 (file)
@@ -2,6 +2,7 @@ Manual page index
 =================
 
 * <a href='notmuch-1/'>notmuch</a>(1) - thread-based email index, search, and tagging
+* <a href='notmuch-address-1/'>notmuch-address</a>(1) - output addresses from matching messages
 * <a href='notmuch-compact-1/'>notmuch-compact</a>(1) - compact the notmuch database
 * <a href='notmuch-config-1/'>notmuch-config</a>(1) - access notmuch configuration file
 * <a href='notmuch-count-1/'>notmuch-count</a>(1) - count messages matching the given search terms
index 5a276e5fcf1567a2a0f4c791cfac28e3abb6dca4..79ca06b79c0082145402db60afdd2acd68a0fe4d 100644 (file)
@@ -87,8 +87,8 @@
        tax. See <b>notmuch-search-terms</b>(7) for more details on the supported syn‐
        tax.
 
-       The <b>search</b>, <b>show</b> and <b>count</b> commands are used to query the  email  data‐
-       base.
+       The <b>search</b>, <b>show</b>, <b>address</b> and <b>count</b> commands  are  used  to  query  the
+       email database.
 
        The  <b>reply</b>  command  is  useful  for  preparing a template for an email
        reply.
        <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1), <a href='../notmuch-hooks-5/'>notmuch-hooks</a>(5),
        <a href='../notmuch-insert-1/'>notmuch-insert</a>(1),      <a href='../notmuch-new-1/'>notmuch-new</a>(1),      <a href='../notmuch-reply-1/'>notmuch-reply</a>(1),     <a href='../notmuch-restore-1/'>not‐</a>
        <a href='../notmuch-restore-1/'>much-restore</a>(1),   <a href='../notmuch-search-1/'>notmuch-search</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>not‐</a>
-       <a href='../notmuch-show-1/'>much-show</a>(1), <a href='../notmuch-tag-1/'>notmuch-tag</a>(1)
+       <a href='../notmuch-show-1/'>much-show</a>(1), <a href='../notmuch-tag-1/'>notmuch-tag</a>(1), <a href='../notmuch-address-1/'>notmuch-address</a>(1)
 
        The notmuch website: <b>http://notmuchmail.org</b>
 </pre>
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
diff --git a/manpages/notmuch-address-1.mdwn b/manpages/notmuch-address-1.mdwn
new file mode 100644 (file)
index 0000000..c0165ae
--- /dev/null
@@ -0,0 +1,107 @@
+<h1>NOTMUCH-ADDRESS(1)</h1>
+
+<h2>NAME</h2>
+<pre>
+       notmuch-address - output addresses from matching messages
+</pre>
+
+<h2>SYNOPSIS</h2>
+<pre>
+       <b>notmuch</b> <b>address</b> [<u>option</u> ...] &lt;<u>search-term</u>&gt; ...
+</pre>
+
+<h2>DESCRIPTION</h2>
+<pre>
+       Search  for  messages  matching the given search terms, and display the
+       addresses from them. Duplicate addresses are filtered out.
+
+       See <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7) for details of  the  supported  syntax  for
+       &lt;search-terms&gt;.
+
+       Supported options for <b>address</b> include
+
+          <b>--format=(json|sexp|text|text0)</b>
+                 Presents  the  results in either JSON, S-Expressions, newline
+                 character separated plain-text (default), or  null  character
+                 separated  plain-text  (compatible  with  <b>xargs</b>(1)  -0 option
+                 where available).
+
+          <b>--format-version=N</b>
+                 Use the specified structured output format version.  This  is
+                 intended  for  programs that invoke <a href='../notmuch-1/'>notmuch</a>(1) internally. If
+                 omitted, the latest supported version will be used.
+
+          <b>--output=(sender|recipients|count)</b>
+              Controls which information appears in the  output.  This  option
+              can  be given multiple times to combine different outputs.  When
+              neither --output=sender nor --output=recipients is given, --out‐
+              put=sender is implied.
+
+              <b>sender</b> Output all addresses from the <u>From</u> header.
+
+                     Note:  Searching  for  <b>sender</b>  should be much faster than
+                     searching for <b>recipients</b>, because  sender  addresses  are
+                     cached  directly  in the database whereas other addresses
+                     need to be fetched from message files.
+
+              <b>recipients</b>
+                     Output all addresses from the <u>To</u>, <u>Cc</u> and <u>Bcc</u> headers.
+
+              <b>count</b>  Print the count of how many times was the address encoun‐
+                     tered during search.
+
+                     Note:  With this option, addresses are printed only after
+                     the whole search is finished. This may take long time.
+
+          <b>--sort=(newest-first|oldest-first)</b>
+                 This option can be used to present results in either  chrono‐
+                 logical  order  (<b>oldest-first</b>) or reverse chronological order
+                 (<b>newest-first</b>).
+
+                 By default, results will be displayed in reverse  chronologi‐
+                 cal  order,  (that  is,  the newest results will be displayed
+                 first).
+
+                 This option is not supported with --output=count.
+
+          <b>--exclude=(true|false)</b>
+                 A message is called &quot;excluded&quot; if it matches at least one tag
+                 in  search.tag_exclude that does not appear explicitly in the
+                 search terms. This option specifies whether to omit  excluded
+                 messages in the search process.
+
+                 The  default  value,  <b>true</b>,  prevents  excluded messages from
+                 matching the search terms.
+
+                 <b>false</b> allows excluded messages  to  match  search  terms  and
+                 appear in displayed results.
+</pre>
+
+<h2>EXIT STATUS</h2>
+<pre>
+       This command supports the following special exit status codes
+
+       <b>20</b>     The requested format version is too old.
+
+       <b>21</b>     The requested format version is too new.
+</pre>
+
+<h2>SEE ALSO</h2>
+<pre>
+       <a href='../notmuch-1/'>notmuch</a>(1),  <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1), <a href='../notmuch-hooks-5/'>not‐</a>
+       <a href='../notmuch-hooks-5/'>much-hooks</a>(5),  <a href='../notmuch-insert-1/'>notmuch-insert</a>(1),  <a href='../notmuch-new-1/'>notmuch-new</a>(1),   <a href='../notmuch-reply-1/'>notmuch-reply</a>(1),
+       <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),  <a href='../notmuch-tag-1/'>not‐</a>
+       <a href='../notmuch-tag-1/'>much-tag</a>(1), <a href='../notmuch-search-1/'>notmuch-search</a>(1)
+</pre>
+
+<h2>AUTHOR</h2>
+<pre>
+       Carl Worth and many others
+</pre>
+
+<h2>COPYRIGHT</h2>
+<pre>
+       2014, Carl Worth and many others
+</pre>
+
+<h2>0.19</h2>
index 7bbda1975425157fc1c93da72bb20fa81820b4a8..bffcc5d1e5c3b7a72a6398638b9b97036602641e 100644 (file)
@@ -64,4 +64,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 1b1235ffb781e115dcf0d2aac21df18f86b08df9..25d4ad0f0be158edcf0ef580681fab393e82cb72 100644 (file)
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 1eb513d140460c296fe70f5968f6f4a8e27a21b1..a6810d4ea34d947dd15a6ed7338132f4ec4805a3 100644 (file)
@@ -72,4 +72,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 2caf27821bb15e33cbb14a4da082049faa0b0cdb..00d8ef1005e33ed982941315a41f4c67d8942771 100644 (file)
@@ -86,4 +86,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 873fd9089d7f571203f7347a37807e1830605214..be98dde14cbdb8aec09ab2f4638b3139e6c4fdeb 100644 (file)
@@ -7,7 +7,7 @@
 
 <h2>SYNOPSIS</h2>
 <pre>
-          $DATABASEDIR/.notmuch/hooks/*
+       $DATABASEDIR/.notmuch/hooks/*
 </pre>
 
 <h2>DESCRIPTION</h2>
 
                  Typically this hook is used to perform additional query-based
                  tagging on the imported messages.
+
+          <b>post-insert</b>
+              This hook is invoked by the <b>insert</b> command after the message has
+              been  delivered,  added  to  the database, and initial tags have
+              been applied. The hook will not be run if there  have  been  any
+              errors  during the message delivery; what is regarded as succes‐
+              ful delivery depends on the <b>--keep</b> option.
+
+              Typically this hook is used to  perform  additional  query-based
+              tagging on the delivered messages.
 </pre>
 
 <h2>SEE ALSO</h2>
 <pre>
-       <a href='../notmuch-1/'>notmuch</a>(1), <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1),  <a href='../notmuch-insert-1/'>not‐</a>
-       <a href='../notmuch-insert-1/'>much-insert</a>(1),  <a href='../notmuch-new-1/'>notmuch-new</a>(1),  <a href='../notmuch-reply-1/'>notmuch-reply</a>(1), <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
+       <a href='../notmuch-1/'>notmuch</a>(1),  <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1), <a href='../notmuch-insert-1/'>not‐</a>
+       <a href='../notmuch-insert-1/'>much-insert</a>(1), <a href='../notmuch-new-1/'>notmuch-new</a>(1),  <a href='../notmuch-reply-1/'>notmuch-reply</a>(1),  <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
        <a href='../notmuch-search-1/'>notmuch-search</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),   <a href='../notmuch-tag-1/'>not‐</a>
        <a href='../notmuch-tag-1/'>much-tag</a>(1)
 </pre>
@@ -56,4 +66,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index fdaa55a3ce2bcea5ca24b0dbb60b6198b2bf60cc..56a2b2a746708b0b8dd69ea94c914bafd17fcd5a 100644 (file)
        base (it has same Message-ID), it will be added to the  maildir  folder
        and notmuch database, but the tags will not be changed.
 
-       Option  arguments must appear before any tag operation arguments.  Sup‐
+       The  <b>insert</b>  command  supports  hooks.  See  <a href='../notmuch-hooks-5/'>notmuch-hooks</a>(5)  for more
+       details on hooks.
+
+       Option arguments must appear before any tag operation arguments.   Sup‐
        ported options for <b>insert</b> include
 
           <b>--folder=&lt;folder&gt;</b>
-                 Deliver the message to the specified folder, relative to  the
-                 top-level  directory given by the value of <b>database.path</b>. The
+                 Deliver  the message to the specified folder, relative to the
+                 top-level directory given by the value of <b>database.path</b>.  The
                  default is to deliver to the top-level directory.
 
           <b>--create-folder</b>
-                 Try to create the folder named by the <b>--folder</b> option, if  it
-                 does  not  exist. Otherwise the folder must already exist for
+                 Try  to create the folder named by the <b>--folder</b> option, if it
+                 does not exist. Otherwise the folder must already  exist  for
                  mail delivery to succeed.
+
+          <b>--keep</b> Keep the message file if indexing fails, and keep the message
+                 indexed if applying  tags  or  maildir  flag  synchronization
+                 fails.  Ignore these errors and return exit status 0 to indi‐
+                 cate succesful mail delivery.
+
+          <b>--no-hooks</b>
+                 Prevent hooks from being run.
 </pre>
 
 <h2>EXIT STATUS</h2>
 <pre>
-       This command returns exit status 0  if  the  message  was  successfully
-       added  to  the mail directory, even if the message could not be indexed
-       and added to the notmuch database. In the latter case, a  warning  will
-       be printed to standard error but the message file will be left on disk.
+       This command returns exit status 0 on succesful mail delivery, non-zero
+       otherwise.  The  default  is  to  indicate  failed mail delivery on any
+       errors, including message file  delivery  to  the  filesystem,  message
+       indexing  to Notmuch database, changing tags, and synchronizing tags to
+       maildir flags. The <b>--keep</b> option may be used to settle  for  successful
+       message file delivery.
 
-       If the message could not be written to disk then a non-zero exit status
-       is returned.
+       The exit status of the <b>post-insert</b> hook does not affect the exit status
+       of the <b>insert</b> command.
 </pre>
 
 <h2>SEE ALSO</h2>
@@ -68,4 +81,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index e17a0d069723e947114d951a7cb3a4b9105b3b36..2366fa2f4d86d3a44c4f256a77869fcdff5813c7 100644 (file)
@@ -63,4 +63,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 0649d23742e4028c092fcb02670a9309ad4717d5..79ef1ff32a92e217f7b5e7b54309862d0566650e 100644 (file)
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 225affc0b93a015e6cbfe79cc7b2b6eb507ce753..d9546bcd7bcd5163a66863296e9616af2d2b38cc 100644 (file)
@@ -80,4 +80,4 @@
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 53bdbb78360dcbaed43f22dce9cc6722a844ebc8..c6f93619a7c6fe5de8434dc94fd234aa94479437 100644 (file)
@@ -37,7 +37,7 @@
                  intended  for  programs that invoke <a href='../notmuch-1/'>notmuch</a>(1) internally. If
                  omitted, the latest supported version will be used.
 
-          <b>--output=(summary|threads|messages|files|tags)</b>
+          <b>--output=(summary|threads|messages|files|tags|sender|recipients)</b>
 
               <b>summary</b>
                      Output a summary of each thread with any message matching
                  than the number of matching messages.
 
           <b>--duplicate=N</b>
-                 Effective with <b>--output=files</b>, output the Nth filename  asso‐
-                 ciated  with  each message matching the query (N is 1-based).
-                 If N is greater than the number of files associated with  the
-                 message, don&apos;t print anything.
+                 For <b>--output=files</b>, output the Nth filename  associated  with
+                 each  message  matching  the  query  (N  is 1-based). If N is
+                 greater than the number of files associated with the message,
+                 don&apos;t print anything.
+
+                 For  <b>--output=messages</b>,  only  output message IDs of messages
+                 matching the search terms that  have  at  least  N  filenames
+                 associated with them.
 
                  Note  that  this option is orthogonal with the <b>folder:</b> search
                  prefix. The prefix matches messages based on filenames.  This
        <a href='../notmuch-1/'>notmuch</a>(1),  <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-dump-1/'>notmuch-dump</a>(1), <a href='../notmuch-hooks-5/'>not‐</a>
        <a href='../notmuch-hooks-5/'>much-hooks</a>(5),  <a href='../notmuch-insert-1/'>notmuch-insert</a>(1),  <a href='../notmuch-new-1/'>notmuch-new</a>(1),   <a href='../notmuch-reply-1/'>notmuch-reply</a>(1),
        <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),  <a href='../notmuch-tag-1/'>not‐</a>
-       <a href='../notmuch-tag-1/'>much-tag</a>(1)
+       <a href='../notmuch-tag-1/'>much-tag</a>(1) <a href='../notmuch-address-1/'>notmuch-address</a>(1)
 </pre>
 
 <h2>AUTHOR</h2>
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 61539a68dacf11fdfbd7121682153ee0cf0acdb5..ee5c1b2205455da5eccd42d6f365e327393bba3e 100644 (file)
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 001f9e5a1da9080b8eddc6e94677e2ee229b6dc9..7e077a738df46aa60050e2c33dd534418681b05d 100644 (file)
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>
index 19c277576f00b173503394a48f3687ad5f73788b..dea056449abc0668a6a15ae998789eacc83000d5 100644 (file)
        2014, Carl Worth and many others
 </pre>
 
-<h2>0.18.1</h2>
+<h2>0.19</h2>