emacs: break up notmuch-show-archive-thread-internal into two more generally useful...
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 25 Jan 2012 00:06:17 +0000 (16:06 -0800)
committerDavid Bremner <bremner@debian.org>
Tue, 31 Jan 2012 03:19:10 +0000 (23:19 -0400)
commit047792102c133f02e043759e9b8399e98938ba7f
tree5ebc7ef3cb722a01be362a4188d68c44dc68dc81
parent9b7e0dcb9a8bd8a5898d9dd68715f3a0d0e5280d
emacs: break up notmuch-show-archive-thread-internal into two more generally useful functions

Break up notmuch-show-archive-thread-internal into two new functions:

notmuch-show-tag-thread-internal: applies a tag to all messages in
thread.  If option remove flag is t, tags will be removed instead of
added.

notmuch-show-next-thread: moves to the next thread in the search
result.  If given a prefix, will show the next result, otherwise will
just move to it in the search view.

Two new interactive functions, notmuch-show-{add,remove}-tag-thread,
are also added.  Together, these provide a better suit of thread
tagging and navigation tools.

The higher level thread archiving functions are modified to use these
new function.
emacs/notmuch-show.el