diff options
| author | David Bremner <david@tethera.net> | 2023-01-05 20:02:06 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-04-02 19:24:43 -0300 |
| commit | a554690d6af0ac8cb55166a20efd0f449abde389 (patch) | |
| tree | b852e9fe4b19ad6dbf3d49b731d82253151b8c5a /doc | |
| parent | 3f5809bf28becbddfed9ff33d6f1242346904c23 (diff) | |
lib: index attachments with mime types matching index.as_text
Instead of skipping indexing all attachments, we check of a (user
configured) mime type that is indexable as text.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/man1/notmuch-config.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/man1/notmuch-config.rst b/doc/man1/notmuch-config.rst index 388315f6..988dc5a3 100644 --- a/doc/man1/notmuch-config.rst +++ b/doc/man1/notmuch-config.rst @@ -122,6 +122,16 @@ paths are presumed relative to `$HOME` for items in section Default tag prefix (filter) for :any:`notmuch-git`. +.. nmconfig:: index.as_text + + List of regular expressions (without delimiters) for MIME types to + be indexed as text. Currently this applies only to attachments. By + default the regex matches anywhere in the content type; if they + user wants an anchored match, they should include anchors in their + regexes. + + History: This configuration value was introduced in notmuch 0.38. + .. nmconfig:: index.decrypt Policy for decrypting encrypted messages during indexing. Must be |
