]> git.cworth.org Git - notmuch-wiki/commitdiff
manpages (0.21) update
authorTomi Ollila <tomi.ollila@iki.fi>
Fri, 30 Oct 2015 11:44:08 +0000 (13:44 +0200)
committerTomi Ollila <tomi.ollila@iki.fi>
Fri, 30 Oct 2015 11:44:08 +0000 (13:44 +0200)
15 files changed:
manpages/notmuch-1.mdwn
manpages/notmuch-address-1.mdwn
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 2e45c93d288e27a3465609cc69d46dc0b2217834..27767423e9e00fda89d818977e596be1e83e4992 100644 (file)
@@ -41,7 +41,9 @@
 <pre>
        Supported global options for <b>notmuch</b> include
 
-          <b>--help</b> Print a synopsis of available commands and exit.
+          <b>--help</b> <b>[command-name]</b>
+                 Print a synopsis of available commands  and  exit.   With  an
+                 optional command name, show the man page for that subcommand.
 
           <b>--version</b>
                  Print the installed version of notmuch, and exit.
           <b>--config=FILE</b>
                  Specify the configuration file to  use.  This  overrides  any
                  configuration file specified by ${NOTMUCH_CONFIG}.
+
+          <b>--uuid=HEX</b>
+                 Enforce that the database UUID  (a  unique  identifier  which
+                 persists  until  e.g. the database is compacted) is HEX; exit
+                 with an error if it is not. This is useful to detect rollover
+                 in  modification  counts  on messages. You can find this UUID
+                 using e.g. <b>notmuch</b> <b>count</b> <b>--lastmod</b>
+
+       All global options except <b>--config</b> can also be specified after the com‐
+       mand.  For example, <b>notmuch</b> <b>subcommand</b> <b>--uuid=HEX</b> is equivalent to <b>not-</b>
+       <b>much</b> <b>--uuid=HEX</b> <b>subcommand</b>.
 </pre>
 
 <h2>COMMANDS</h2>
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 4346373a772a8edc6d2e0547c985e1975c595a6f..b3f6f824aa520880e00c153f3bb2051e6467bece 100644 (file)
                      Note:  With this option, addresses are printed only after
                      the whole search is finished. This may take long time.
 
+          <b>--deduplicate=(no|mailbox|address)</b>
+              Control the deduplication of results.
+
+              <b>no</b>     Output all occurences of addresses in the  matching  mes‐
+                     sages. This is not applicable with --output=count.
+
+              <b>mailbox</b>
+                     Deduplicate  addresses  based on the full, case sensitive
+                     name and email address, or mailbox. This  is  effectively
+                     the  same as piping the --deduplicate=no output to <b>sort</b> <b>|</b>
+                     <b>uniq</b>, except for  the  order  of  results.  This  is  the
+                     default.
+
+              <b>address</b>
+                     Deduplicate  addresses  based  on  the  case  insensitive
+                     address part of the mailbox. Of all  the  variants  (with
+                     different  name  or  case),  print the one occurring most
+                     frequently among the matching messages. If --output=count
+                     is specified, include all variants in the count.
+
           <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
@@ -62,7 +82,9 @@
                  cal  order,  (that  is,  the newest results will be displayed
                  first).
 
-                 This option is not supported with --output=count.
+                 However, if either --output=count or --deduplicate=address is
+                 specified, this option  is  ignored  and  the  order  of  the
+                 results is unspecified.
 
           <b>--exclude=(true|false)</b>
                  A message is called &quot;excluded&quot; if it matches at least one tag
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index fad318c9e6483aac0156ec6148f638075952f881..bc83cb636b81765c96157e00b6a9aac81eda91e6 100644 (file)
@@ -61,7 +61,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 4dfa612b7bf9e2025b92587f5179c7aa13facf37..4efc3cff026c122e6d2fc1e79912bcf6a9ec296e 100644 (file)
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 2bd7357c688ef44f7a48257c955ec1a8731b1fa2..4678361780d5fc3cc6d2dfeec5767b1921e27e22 100644 (file)
                  option is not compatible with specifying search terms on  the
                  command line.
 
+          <b>--lastmod</b>
+                 Append  lastmod  (counter for number of database updates) and
+                 UUID to  the  output.  lastmod  values  are  only  comparable
+                 between databases with the same UUID.
+
           <b>--input=&lt;filename&gt;</b>
                  Read  input  from  given file, instead of from stdin. Implies
                  <b>--batch</b>.
@@ -69,7 +74,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 18ed9a25627e13b399740a443897f5fd702d1dd1..9ba64762370b27a4088d75e17a71f2361dfbb44e 100644 (file)
@@ -87,7 +87,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 08f07ceb987bffa449391ab7e71de426c2123e6d..3d6ccec5693a70d697d66a2e54b1e83336923666 100644 (file)
@@ -63,7 +63,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 00d27c48a36cc1a5caeadf592fc6e2289f1fa104..49a8eb75e507a94c2f68b67332fe141b4cd09feb 100644 (file)
@@ -78,7 +78,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index d809fcc6ef14fa5ee6daf703fec6eb4f1c91d942..3af25ffcbfb06eb0f4378d13e627fc9577870358 100644 (file)
@@ -60,7 +60,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index f3dd705a9b58e606b6f753097258535d2a05f761..0c367915d2d046cc1299eb6eb3deafb3fdb3c3b9 100644 (file)
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index a005ded1e33ba11abbfe03cc9047e1364ed22ee5..8aca2206caf61fadd986157f7737b877e42df8b7 100644 (file)
@@ -80,7 +80,7 @@
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index c9b8b859e2fcb2da9623cecb77807ba51a9fcb27..355dca6f0fe02e9bad692219ee0f2ad5245f8f63 100644 (file)
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index a6b61f3fa607bb0874c57c9b50c532ca8f8d3f07..b36c16b2fe0a7f3674f75d737c3f6b9ddc7944ee 100644 (file)
@@ -57,6 +57,8 @@
 
        · date:&lt;since&gt;..&lt;until&gt;
 
+       · lastmod:&lt;initial-revision&gt;..&lt;final-revision&gt;
+
        The <b>from:</b> prefix is used to match the name or address of the sender  of
        an email message.
 
 
        Each  timestamp  is  a  number representing the number of seconds since
        1970-01-01 00:00:00 UTC.
+
+       The <b>lastmod:</b> prefix can be used to restrict the result by the  database
+       revision  number  of  when  messages  were  last  modified  (tags  were
+       added/removed or filenames changed).  This is usually used in  conjunc‐
+       tion  with  the <b>--uuid</b> argument to <b>notmuch</b> <b>search</b> to find messages that
+       have changed since an earlier query.
 </pre>
 
 <h3> &nbsp; Operators</h3>
        could describe (the end of yesterday). Similarly,  date:january..febru‐
        ary matches from the beginning of January to the end of February.
 
-       Currently,  we  do  not  support  spaces  in range expressions. You can
+       date:&lt;expr&gt;..!  can be used as a shorthand for date:&lt;expr&gt;..&lt;expr&gt;. The
+       expansion takes place before interpretation,  and  thus,  for  example,
+       date:monday..!  matches  from  the beginning of Monday until the end of
+       Monday. (Note that  entering  date:&lt;expr&gt;  without  &quot;..&quot;,  for  example
+       date:yesterday,  won&apos;t work, as it&apos;s not interpreted as a range expres‐
+       sion at all. Again, use date:yesterday..!)
+
+       Currently, we do not support  spaces  in  range  expressions.  You  can
        replace the spaces with &apos;_&apos;, or (in most cases) &apos;-&apos;, or (in some cases)
        leave  the  spaces out altogether. Examples in this man page use spaces
        for clarity.
        ble  to specify date:..&lt;until&gt; or date:&lt;since&gt;.. to not limit the start
        or end time, respectively. Pre-1.2.1 Xapian does not report an error on
        open ended ranges, but it does not work as expected either.
-
-       Entering  date:expr  without  &quot;..&quot;  (for  example date:yesterday) won&apos;t
-       work, as it&apos;s not interpreted as a range expression  at  all.  You  can
-       achieve  the expected result by duplicating the expr both sides of &quot;..&quot;
-       (for example date:yesterday..yesterday).
 </pre>
 
 <h3> &nbsp; Relative date and time</h3>
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 4b3c40fe7c8aebcc406a29748e6de4bc257f0abf..ae337e7423043d53c4eb2c16de2ca1cfa7f8f98b 100644 (file)
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>
index 9de1b6421b77ff9c506ba2b0ff4e692eb6bfac0b..32258435cadea230d27a4bb85b4f1ea55645dfdf 100644 (file)
 
 <h2>COPYRIGHT</h2>
 <pre>
-       2015, Carl Worth and many others
+       2009-2015, Carl Worth and many others
 </pre>
 
-<h2>0.20.2</h2>
+<h2>0.21</h2>