aboutsummaryrefslogtreecommitdiff
path: root/doc/man1
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-07-30 20:45:51 -0300
committerDavid Bremner <david@tethera.net>2022-08-11 07:32:04 -0300
commitbf64c48855f41833b57e0a770ad37f6a16a1193b (patch)
tree53198f6cabfdbcc1e2be56a6996a8a326ed84326 /doc/man1
parent5a47b5a884d594e74bb967dd8bb0500c7051bd79 (diff)
doc: add some documentation about duplicate files.
This is mainly motivated by the new emacs-UI features to select duplicates, but hopefully it will help demystify things for users of the CLI as well.
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/notmuch.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst
index 1fec4ee5..c488f12a 100644
--- a/doc/man1/notmuch.rst
+++ b/doc/man1/notmuch.rst
@@ -155,6 +155,23 @@ equivalent:
notmuch --config:alt-config config get user.name
notmuch --config alt-config config get user.name
+.. _duplicate-files:
+
+DUPLICATE MESSAGE FILES
+=======================
+
+Notmuch considers the :mailheader:`Message-ID` to be the primary
+identifier of message. Per :rfc:`5322` the :mailheader:`Message-ID` is
+supposed to be globally unique, but this fails in two distinct
+ways. When you receive copies of a message via a mechanism like
+:mailheader:`Cc` or via a mailing list, the copies are typically
+interchangeable. In the case of some broken mail sending software, the
+same :mailheader:`Message-ID` is used for completely unrelated
+messages. The options :option:`search --duplicate` and :option:`show
+--duplicate` options provide the user with control over which message
+file is displayed. Front ends will need to provide their own
+interface, see e.g. the Emacs front-end :any:`emacs-show-duplicates`.
+
ENVIRONMENT
===========