]> git.notmuchmail.org Git - notmuch/commit
emacs: fcc should fail at the right time if it doesn't point to a maildir
authorJesse Rosenthal <jrosenthal@jhu.edu>
Tue, 27 Apr 2010 00:29:27 +0000 (20:29 -0400)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 06:06:36 +0000 (23:06 -0700)
commit9b85872ed4526688a6195cfa8af19be20ed869c2
tree0fea6ecef2ff9bbac29d46f950e8b9c5545e3c97
parent0d8e26d0e3324e28424329dd79d4c44b849b27ce
emacs: fcc should fail at the right time if it doesn't point to a maildir

Throw an error after the maildir is generated but before the message
is sent. This change allows the user to edit the maildir if it fails,
so that it will point to a correct place.

Note that this changes the previous behavior which always overwrote
the existing Fcc line. Now, an Fcc line is only auto-generated if
there isn't one already there.

The ideal change would be to prompt to create a maildir. This should
enable a place for doing that in a future patch.
emacs/notmuch-maildir-fcc.el