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)) _______________________________________________ notmuch mailing list email@example.com https://notmuchmail.org/mailman/listinfo/notmuch