unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Suggestion for Emacs: notmuch-draft-dirs
@ 2018-02-15 12:44 Karl Fogelmark
  0 siblings, 0 replies; only message in thread
From: Karl Fogelmark @ 2018-02-15 12:44 UTC (permalink / raw)
  To: notmuch


Hi!

I've just started migrating to emacs notmuch from another emacs mail client.
My situation is that I have multiple email accounts and I want to mirror the
web interface of each e-mail service, so I can use either the web interface or
notmuch interchangeably.

Setting notmuch-fcc-dirs allows me to do this (as far as I can tell), by
choosing the correct "sent" maildir depending on "From" filed.

Now I'd also like drafts to be saved in different maildirs depending on the
"From" field of the active message; however, there is no notmuch-draft-dirs
with analogous behavior, instead, there's only notmuch-draft-folder, which
only allows one constant string.

Currently I have:
(setq notmuch-fcc-dirs '(("work.com" . "\"work/Sent Items\" -unread -inbox" )
                         ("somemail.com" . "\"private/Sent Items\" -unread -inbox" )))

(setq notmuch-draft-folder "work/Drafts")

But it would be nice if the last line could be:

(setq notmuch-draft-dirs '(("work.com" . "\"work/Drafts \" -unread -inbox" )
                          ("somemail.com" . "\"private/Drafts \" -unread -inbox" )))

On IRC it was suggested I send this suggestion through here.

Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-15 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15 12:44 Suggestion for Emacs: notmuch-draft-dirs Karl Fogelmark

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).