]> git.cworth.org Git - notmuch/commitdiff
doc: document new option `show.extra_headers`
authorDavid Bremner <david@tethera.net>
Tue, 18 Jan 2022 13:26:59 +0000 (09:26 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 25 Jan 2022 11:51:48 +0000 (07:51 -0400)
Increase discoverability by cross referencing from the notmuch-show
manual entry to the notmuch-config manual entry.

doc/man1/notmuch-config.rst
doc/man1/notmuch-show.rst

index ed188a25c61829dbce315959e664375e8947478b..41e1338b12e8a34bc4ce87c7462f1f3f35ab5852 100644 (file)
@@ -145,6 +145,20 @@ search.exclude\_tags
     Default: empty list. Note that :any:`notmuch-setup(1)` puts
     ``deleted;spam`` here when creating new configuration file.
 
+.. _show.extra_headers:
+
+show.extra\_headers
+
+    By default :any:`notmuch-show(1)` includes the following headers
+    in structured output if they are present in the message:
+    `Subject`, `From`, `To`, `Cc`, `Bcc`, `Reply-To`, `Date`. This
+    option allows the specification of a list of further
+    headers to output.
+
+    History: This configuration value was introduced in notmuch 0.35.
+
+    Default: empty list.
+
 maildir.synchronize\_flags
     If true, then the following maildir flags (in message filenames)
     will be synchronized with the corresponding notmuch tags:
index 3d2a2c412bdbe6db470070235931cc0a3dc83814..1b02d4079a34d4e9b5ba471eb2f90f9eadd458b4 100644 (file)
@@ -221,6 +221,13 @@ email messages. For this, use a search term of "thread:<thread-id>" as
 can be seen in the first column of output from the
 :any:`notmuch-search(1)` command.
 
+CONFIGURATION
+=============
+
+Structured output (json / sexp) is influenced by the configuration
+option :ref:`show.extra_headers <show.extra_headers>`. See
+:any:`notmuch-config(1)` for details.
+
 EXIT STATUS
 ===========