Re: Notmuch Emacs: tab completion for tags in Fcc:

Subject: Re: Notmuch Emacs: tab completion for tags in Fcc:

Date: Thu, 21 Dec 2017 15:07:32 +0100

To: Alex Abdo, Notmuch Mail


From: Tomas Nordin

Alex Abdo <> writes:

> All,
> One small suggestion for Notmuch Emacs: it would be nice if there were 
> tab completion for tags (and, if possible, folders) in the Fcc header 
> when composing messages in Emacs.
> There is already tab completion for tags in a number of other places, 
> but for some reason, there isn’t tab completion in the Fcc header.

The reason is maybe that this place don't often vary much. But there is
a configuration variable for this, notmuch-fcc-dirs, which see. Put
point in the beginning of the variable name here and say C-h v.

I have it set like this:

(setq notmuch-fcc-dirs
      '(("tomasn@kth\\.se" . "kth/Sent")
        ("tom\\(asn\\|nor\\)@posteo\\.\\(net\\|de\\)" . "posteo/Sent")))

A list of (regex . folder), and depending on the address I am sending
from I get a copy in the specified folder. I would probably find it
annoying if I had to write it each time, even with tab completion.
notmuch mailing list