"notmuch + maildir" instead of "notmuch vs maildir"

Two unfortunate issues with notmuch mode:

  1. my folders aren't automatically listed in the sidebar. I have to add them manually with query-map.

  2. can't move items to a folder.

I think it would be nice if notmuch were an extension to maildir/maildirpp mode instead of an alternative to it. (i.e. retain full maildir functionality, but lean on notmuch for searching / tagging)

Assigned to
1 year, 8 months ago
1 year, 7 months ago
feature maildir notmuch

~ferdinandyb 1 year, 8 months ago

I second this!

~inwit 1 year, 8 months ago

Might make sense. In fact, this is what I did for a while in my work email account: having both tabs in my aerc, I used the Maildir one to manage messages and the notmuch one just to search. It was too clumsy, so I went back to notmuch in emacs and a (also clumsy) script-based tag/folder replication interface.

~rockorager 1 year, 8 months ago

Possible solution:

  1. Add an account config option “notmuch-database”, which is a path to the notmuch database (usually the same as the maildir)

  2. If a maildir has that set, use notmuch for certain commands instead of maildir

~ferdinandyb 1 year, 8 months ago

What I would expect to be able to do with this:

  • do a maildir move AND update notmuch tags
  • search via notmuch (fancy would be if this could be restricted to this particular maildir account, since you might have multiple of those with one notmuch instance over them)

what might be complicated: show maildir folders AND notmuch virtual folders

I currently do the double dance with two accounts, but I'd actually keep the notmuch account around for a unified inbox view (for multiple emails), so the sweet thing would be if the notmuch account could also do maildir moves :)

~rjarry REPORTED IMPLEMENTED 1 year, 7 months ago

Julian Pidancet referenced this ticket in commit c7bfe4e.

Register here or Log in to comment, or comment via email.