unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 8d4cebf78123e98ede94afbb641d2d6139f38177 2676 bytes (raw)
name: doc/man7/notmuch-properties.rst 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
 
==================
notmuch-properties
==================

SYNOPSIS
========

**notmuch** **count** **property:**<*key*>=<*value*>

**notmuch** **search** **property:**<*key*>=<*value*>

**notmuch** **show** **property:**<*key*>=<*value*>

**notmuch** **reindex** **property:**<*key*>=<*value*>

**notmuch** **tag** +<*tag*> **property:**<*key*>=<*value*>


**notmuch** **dump** **--include=properties**

**notmuch** **restore** **--include=properties**

DESCRIPTION
===========

Several notmuch commands can search for, modify, add or remove
properties associated with specific messages.  Properties are
key/value pairs, and a message can have more than one key/value pair
for the same key.

While users can select based on a specific property in their search
terms with the prefix **property:**, the notmuch command-line
interface does not provide mechanisms for modifying properties
directly to the user.

Instead, message properties are expected to be set and used
programmatically, according to logic in notmuch itself, or in
extensions to it.

Extensions to notmuch which make use of properties are encouraged to
report the specific properties used to the upstream notmuch project,
as a way of avoiding collisions in the property namespace.

CONVENTIONS
===========

Any property with a key that starts with "index." will be removed (and
possibly re-set) upon reindexing (see **notmuch-reindex(1)**).

MESSAGE PROPERTIES
==================

The following properties are set by notmuch internally in the course
of its normal activity.

**index.decryption**

    If a message contains encrypted content, and notmuch tries to
    decrypt that content during indexing, it will add the property
    ``index.decryption=success`` when the cleartext was successfully
    indexed.  If notmuch attempts to decrypt any part of a message
    during indexing and that decryption attempt fails, it will add the
    property ``index.decryption=failure`` to the message.

    Note that it's possible for a single message to have both
    ``index.decryption=success`` and ``index.decryption=failure``.
    Consider an encrypted e-mail message that contains another
    encrypted e-mail message as an attachment -- if the outer message
    can be decrypted, but the attached part cannot, then both
    properties will be set on the message as a whole.

    If notmuch never tried to decrypt an encrypted message during
    indexing (which is the default), then this property will not be
    set on that message.

SEE ALSO
========

**notmuch(1)**,
**notmuch-dump(1)**,
**notmuch-insert(1)**,
**notmuch-new(1)**,
**notmuch-reindex(1)**,
**notmuch-restore(1)**,
***notmuch-search-terms(7)**

debug log:

solving 8d4cebf7 ...
found 8d4cebf7 in https://yhetil.org/notmuch/20171017191008.8742-8-dkg@fifthhorseman.net/
found 2ab4f3f4 in https://yhetil.org/notmuch/20171017191008.8742-7-dkg@fifthhorseman.net/
found ffaa2418 in https://yhetil.org/notmuch/20171017191008.8742-5-dkg@fifthhorseman.net/

applying [1/3] https://yhetil.org/notmuch/20171017191008.8742-5-dkg@fifthhorseman.net/
diff --git a/doc/man7/notmuch-properties.rst b/doc/man7/notmuch-properties.rst
new file mode 100644
index 00000000..ffaa2418


applying [2/3] https://yhetil.org/notmuch/20171017191008.8742-7-dkg@fifthhorseman.net/
diff --git a/doc/man7/notmuch-properties.rst b/doc/man7/notmuch-properties.rst
index ffaa2418..2ab4f3f4 100644


applying [3/3] https://yhetil.org/notmuch/20171017191008.8742-8-dkg@fifthhorseman.net/
diff --git a/doc/man7/notmuch-properties.rst b/doc/man7/notmuch-properties.rst
index 2ab4f3f4..8d4cebf7 100644

Checking patch doc/man7/notmuch-properties.rst...
Applied patch doc/man7/notmuch-properties.rst cleanly.
Checking patch doc/man7/notmuch-properties.rst...
Applied patch doc/man7/notmuch-properties.rst cleanly.
Checking patch doc/man7/notmuch-properties.rst...
Applied patch doc/man7/notmuch-properties.rst cleanly.

index at:
100644 8d4cebf78123e98ede94afbb641d2d6139f38177	doc/man7/notmuch-properties.rst

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).