]> git.notmuchmail.org Git - notmuch/commit
emacs: postpone a message
authorMark Walters <markwalters1009@gmail.com>
Sun, 13 Nov 2016 14:08:48 +0000 (14:08 +0000)
committerDavid Bremner <david@tethera.net>
Sun, 13 Nov 2016 16:55:24 +0000 (12:55 -0400)
commitd820b97477f5705640aa8dcf9dcf311e37508def
treeacc91875ce9c3b54892414ee248b46403892b55c
parentf8bdba37d3f4c877e05e17b5b1c7d2d512106538
emacs: postpone a message

This provides initial support for postponing in the emacs frontend;
resuming will follow in a later commit. On saving/postponing it uses
notmuch insert to put the message in the notmuch database

Current bindings are C-x C-s to save a draft, C-c C-p to postpone a
draft (save and exit compose buffer).

Previous drafts get tagged deleted on subsequent saves, or on the
message being sent.

Each draft gets its own message-id, and we use the namespace
draft-.... for draft message ids (so, at least for most people, drafts
are easily distinguisable).
emacs/Makefile.local
emacs/notmuch-draft.el [new file with mode: 0644]
emacs/notmuch-mua.el
test/T630-emacs-draft.sh [new file with mode: 0755]