Christoph <just.mychris@googlemail.com> writes: > Hi, > > while configuring the notmuch Emacs front end, I was having trouble > getting `notmuch-fcc-dirs' to work as expected. I figured out that my > issue was, that I was composing mails using `compose-mail' instead of > `notmuch-mua-mail'. Since notmuch-mua.el provides a mail-user-agent, > configuring message to use the notmuch mail user agent wasn't that > difficult, but it would be nice if that would be stated in emacs-tips > of the notmuch documentation. Maybe you can add a section to it, so > others don't fall into that trap? I wasn't using Emacs as a mail > client before, so I didn't have much experience in configuring a > user-agent before. The "emacs tips" you refer to is a wiki [1], so feel free to update it. Customising mail-user-agent is discussed in the "official" manual [2]You may also have an info version of the same manual, depending on how you installed notmuch. > > Since `compose-mail' is defined in simple.el, I didn't find a nice way > to load notmuch lazy using use-package. I ended up writing a hook > around `compose-mail' to load notmuch on demand like so: I'm not familiar enough with use-package to comment on that. I agree that notmuch could be better about autoloading things, but since I always load notmuch and rarely restart emacs, it hasn't been a priority for me personally. [1] https://notmuchmail.org/wikiwriteaccess/ [2] https://notmuchmail.org/doc/latest/notmuch-emacs.html#sending-mail _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org