]> git.notmuchmail.org Git - notmuch/commit
emacs: make modifications to message Fcc vars buffer-local
authorDavid Bremner <david@tethera.net>
Sat, 1 Aug 2015 09:44:56 +0000 (11:44 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 7 Aug 2015 19:18:59 +0000 (21:18 +0200)
commitd0553ad524f241ba42f685cba6745c8a3a9ba20a
treebd5365e0c7067ae78c6828bfd7dc8442155c09b5
parent03aff8499d55614377d01e0296a4f186e0ed8735
emacs: make modifications to message Fcc vars buffer-local

Previously we globally modified these variables, which tended to cause
problems for people using message-mode, but not notmuch-mua-mail, to
send mail.

User visible changes:

- Calling notmuch-fcc-header-setup is no longer optional. OTOH, it
  seems to do the right thing if notmuch-fcc-dirs is set to nil.

- The Fcc header is visible during message composition

- The name in the mode line is changed, and no longer matches exactly
  the menu label.

- Previously notmuch-mua-send-and-exit was never called.  Either we
  misunderstood define-mail-user-agent, or it had a bug.  So there was
  no difference if the user called message-send-and-exit directly. Now
  there will be.

- User bindings to C-c C-c and C-c C-s in message-mode-map are
  overridden. The user can override them in notmuch-message-mode-map,
  but then they're on their own for Fcc handling.
emacs/notmuch-maildir-fcc.el
emacs/notmuch-mua.el
test/test-lib.sh