]> git.notmuchmail.org Git - notmuch/commit
emacs: Add auto-tagging for replied messages.
authorJesse Rosenthal <jrosenthal@jhu.edu>
Tue, 27 Apr 2010 15:53:30 +0000 (11:53 -0400)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 16:16:10 +0000 (09:16 -0700)
commit0adcabc7cf3451eb933b47726a74ea7bbf0c9ff3
tree735ad8134d6b8c6ebda3d44ed83e24f73425f2d6
parent7d440c56c134041b2d38681a93f0071c5cc5e709
emacs: Add auto-tagging for replied messages.

Add `notmuch-message-mark-replied', a function for automatically tagging
replied messages with user-defined tags. The tags (which can be either
added or removed) can be customized with the customization variable
`notmuch-message-replied-tags'. This is a simple list of strings. Any
string prefaced with a "-" will be removed; any string prefaced with a "+"
(or neither "+" nor "-") will be added.

This adds a new file notmuch-message.el, for functions which target
message mode (and in the future, notmuch-message mode). Based on some
conversation, notmuch-message.el will probably end up subsuming
notmuch-mua.el, but until we figure out exactly how we want to do that,
they will remain separate files.

Edited-by: Carl Worth <cworth@cworth.org>: Remove trailing whitespace
and add newline at end of file.
emacs/notmuch-message.el [new file with mode: 0644]