unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch-emacs: Fcc to top-level directory given by database.path
@ 2017-09-23  9:37 Arun Isaac
  2017-09-23 11:41 ` David Bremner
  0 siblings, 1 reply; 15+ messages in thread
From: Arun Isaac @ 2017-09-23  9:37 UTC (permalink / raw)
  To: notmuch


I am using notmuch-emacs, and I would like to Fcc my sent mail to the
top-level directory given by database.path, instead of using a folder
like "sent" relative to the top-level directory.

The function `notmuch-maildir-notmuch-insert-current-buffer' in
notmuch-maildir-fcc.el calls `notmuch insert' with the `--folder='
argument. I would like it to not do this.

For my immediate purposes, I have overridden
`notmuch-maildir-notmuch-insert-current-buffer' with the following
advice. But, it would be nice if this feature existed out of the box.

(define-advice notmuch-maildir-notmuch-insert-current-buffer
      (:override (folder &optional create tags)
		 insert-into-root)
    (apply 'notmuch-call-notmuch-process
	   :stdin-string (buffer-string)
	   "insert" tags))

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-06-19  9:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23  9:37 notmuch-emacs: Fcc to top-level directory given by database.path Arun Isaac
2017-09-23 11:41 ` David Bremner
2017-09-23 12:08   ` Mark Walters
2017-09-23 14:52   ` Arun Isaac
2017-09-24 12:14     ` David Bremner
2017-09-25 15:25       ` Tomi Ollila
2017-09-30  6:24       ` Mark Walters
2017-10-01 19:06         ` Arun Isaac
2017-10-02  6:48           ` Mark Walters
2017-10-02 16:03           ` Jani Nikula
2017-09-30  9:03   ` Jani Nikula
2017-10-02 16:29     ` Jani Nikula
2017-10-04  9:30     ` Arun Isaac
2018-06-06 14:04     ` David Bremner
2018-06-19  9:06       ` Arun Isaac

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).