]> git.cworth.org Git - notmuch-wiki/blob - feature-requests.mdwn
feature request: Add hooks for retagging
[notmuch-wiki] / feature-requests.mdwn
1 [[!img notmuch-logo.png alt="Notmuch logo" class="left"]]
2 #List of features people have requested and ideas that people want to keep thinking about
3
4 ## Emacs client
5
6 +    Add 'd' keybinding
7
8      Removes unread and inbox tags, adds deleted tag.
9
10      When used from a search results view, it deletes the thread that
11      the cursor is on.
12
13      When used from the thread view, it deletes the currently
14      displayed message inside the thread.
15
16 +    Add 'D' keybinding
17
18      Removes unread and inbox tags, adds deleted tag.
19
20      When used from a search results view, it deletes the thread that
21      the cursor is on (just like 'd')
22
23      When used from the thread view, it deletes the currently
24      displayed thread (and not just the message)
25
26 +    Add '???' keybinding
27
28      Skips current thread without archiving it
29
30      Right now 'n' gets me to the end of a thread, but not to the
31      beginning of the next thread. 'a' gets you to the next thread,
32      but archives the current one.
33
34 +    Allow different "real names" for the optional email addresses
35
36      if only one name is configured, use that for all addresses;
37      if other_names are configured, match those with the other_email addresses
38
39 +    Put the the emacs mode in a separate repository and include it as a submmodule in main (better for emacs package managers among other things).
40  
41 ## notmuch
42
43 +    Add hooks for retagging:
44    + pre-tag: Called before tagging messages
45    + post-tag: Called after messages got tagged
46
47      This might be useful if you want to sync for example your Maildirs with the notmuch tags.
48
49 +    Allow a custom location for .notmuch
50
51      The notmuch index is currently saved in .notmuch under the user's
52      Maildir and there's no configuration option to change that.
53
54      This is problematic with both tools that sync Maildirs and with IMAP
55      servers that consider .notmuch a Maildir subfolder (e.g. dovecot)
56
57      A better solution would be to add a configuration option for this so
58      that it can be put e.g. in ~/.notmuch
59
60 +    Add a list or pattern for subfolders to ignore
61
62      Some people are crazy enough to archive e.g. their Spam in their
63      Maildir and perhaps they'd prefer not having them indexed on notmuch.
64
65      Having a configuration option to exclude or include certain subparts of
66      the user's Maildir would be a very nice feature to have.
67
68 +    Index more headers.  Some desired headers:
69
70   + Received: allows for searches based on the arrival path
71   + Reply-To: allows for searches based on the return address
72
73 +    Allow anchors in searches
74
75      `notmuch search from:domain.org$` only matches if "domain.org" is
76      at the end of the From: header
77
78      `notmuch search from:^username` only matches if "username" is at
79      the beginning of the From: header (right after the ':')
80
81      This leaves the interesting question if we want a way to bind to
82      the actual address component.
83
84 +    Add folder tags to mail automatically
85
86      Add the name of the IMAP folder as the tag for mails.  This way,
87      server-side filtering can be directly used by notmuch to tag all
88      incoming mail.
89
90 +    Make message store code modular
91
92      Notmuch is built on the assumption that the message store is a
93      collection of message files in directories (roughly Maildir
94      format). This performs suboptimally for a wide range of systems,
95      especially with large numbers of messages. Modularising the
96      message store code to move this assumption into the implementation
97      rather than the interface would allow adding support for different
98      message stores like the traditional [mbox
99      formats](http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/mail-mbox-formats.html)
100      as well as more experimental approaches like using git as an object
101      storage (similar to how [[nmbug]] operates).
102
103 +    Put content of all non-multipart content-types in results of `notmuch show --format=json ...`
104
105      In the JSON-format output of the `show` command, only text/plain
106      parts' content is included.  Including the content of parts having any
107      non-multipart content-type would assist with those who wished to access
108      their mail through notmuch's `show` command (because of having written
109      their MUA in a language with no library bindings or access to them
110      [e.g. Perl, Lua or shell]) and also had a mailcap or similar MIME-type
111      mapping system with which to actually view HTML files, images and the like.
112
113 ## 3rd party apps
114
115 ### notmuchsync
116
117 NOTE: most of notmuchsync's functionality has been integrated in
118       notmuch 0.5. It probably doesn't make much sense to requests
119       features for it, rather than notmuch itself.
120
121 +    DONE: id:"878w8niy83.fsf@SSpaeth.de"
122      Add feature to move files in the maildir hierarchy
123
124      `notmuchsync --move "searchstring" "targetfolder"`
125
126      Where searchstring is any valid notmuch search
127