[PATCH] How to improve the mail handling workflow?
Matthieu Lemerre
racin at free.fr
Fri Nov 12 07:23:58 PST 2010
Hi,
I think that there are several irritating nitpicks when using notmuch in
a typical mail workflow.
I don't know how other people process their email. I for myself use the
following method:
1. The script I use to fetch new mails tries to add tags if it can. For
instance, all new mails from the notmuch mailing lists appears with
tags "(inbox,unread,notmuch)".
2. When processing mails, I manually add some tag to the mails for which
no tags were added automatically. Then I archive the mail (remove its
inbox tag).
3. Sometimes I keep mails in my inbox, for instance if I am expecting a
specific mail and do not want to take the time to process the others.
The emacs interface to notmuch gets in my way in at least several
manners:
- I often find myself hitting the spacebar too much, which ends up with
some of my new messages being removed from all of their tags, which
make them very difficult to find. I don't think the spacebar should
remove the inbox tag at all. It should only change the unread tag.
- It does not provide a command for deleting mails. We were several
people who provided patches to add a 'd' keybinding to support
deletion. I provided a complex patch for that (that added "and not
tag:deleted" to all requests", but I now think that just adding a
"deleted" tag and removing the "inbox" tag would be sufficient).
- Processing mails which do not have any automatically added tag is
boring, because I need to press several keys to archive them: "+" to
add a tag, and then "a". If I forget about +, then my mail is
impossible to find.
Here is first a patch that copes with this last point. Whenever you want
to archive a thread, it finds whether you forgot to add a custom "user"
tag to a message, and if so asks you for a tag to add before
archiving. That way, I no longer have messages without any tags.
I probably will send patches to handle the other bullet points to, but
first I would be happy to hear your comments about this, or learn about
how you process your mail using the current interface.
Thanks,
Matthieu Lemerre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.patch
Type: text/x-diff
Size: 2244 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101112/2b3f0836/attachment.patch>
More information about the notmuch
mailing list