1 [[!img notmuch-logo.png alt="Notmuch logo" class="left"]]
2 # Tags special to notmuch
4 This page describes the tags that the notmuch lib, cli, and emacs ui recognize
5 and treat specially, and whether these tags can be configured.
9 None of the tags recognized by the lib are configurable.
11 ### Synchronization between tags and maildir flags
20 The above tags are recognized by the lib, and synchronized with the
21 corresponding maildir flags through the following lib function calls:
23 - `notmuch_message_maildir_flags_to_tags()`
24 - `notmuch_message_tags_to_maildir_flags()`
26 The cli calls the above functions if the maildir.synchronize_flags configuration
27 option is enabled. Maildir flags are synchronized to tags in "notmuch new", and
28 tags are synchronized to maildir flags in "notmuch tag" and "notmuch restore".
36 The above tags are assigned to messages that have an attachment, or are signed
37 or encrypted, when adding a message to the database through the lib function
40 - `notmuch_database_add_message()`
42 The cli calls the above function in "notmuch new".
44 ## Tags special to cli
46 All of the tags recognized by the cli are configurable.
48 ### Default tags for new messages
53 These are the tags assigned to new message by default. The tags can be changed
54 using the new.tags configuration option.
56 ### Default excluded tags
61 These are the default tags used for excluding messages from search results. The
62 tags can be changed using the search.exclude_tags configuration option.
64 ## Tags special to Emacs UI
66 All of the tags recognized by the emacs ui are configurable.
73 The elementary mail reading commands automatically remove the tag(s) specified
74 by `notmuch-show-mark-read-tags` ("unread" by default) when visiting a message,
75 and remove the tag(s) specified by `notmuch-archive-tags` ("inbox" by default)
76 when archiving a message.
83 The tag(s) specified by `notmuch-message-replied-tags` ("replied" by default)
84 are added to messages that are replied to, and "flagged" messages are
85 highlighted through `notmuch-search-line-faces` by default.