[WIP PATCH 0/4] Add a mark thread option

Subject: [WIP PATCH 0/4] Add a mark thread option

Date: Tue, 22 Apr 2014 21:11:46 +0100

To: notmuch@notmuchmail.org

Cc:

From: Mark Walters


Allow users to mark threads in the search buffer and then apply
tagging operations to all marked threads.

This was requested on irc and is also something I have wanted several times.

Patch 1 is a cleanup which simplifies the existing code (imo) and
makes the subsequent patches easier.

Patch 2 is large but mostly just passing an argument all the way
throught the call chain.

Patch 3 and 4 do the actual logic.

At the moment the best way to clear all markings is to refresh the
buffer. Maybe that should change (do we even want refresh to clear
markings?)

On light testing it seems to work.

Best wishes

Mark

Mark Walters (4):
  emacs: search: tidy notmuch-search-foreach-result
  emacs: search: add a marked thread variable and add to relevant
    functions
  emacs: search: split foreach-result into list and region variants
  emacs: search: add key binding for marking a thread

 emacs/notmuch.el |  151 ++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 95 insertions(+), 56 deletions(-)

-- 
1.7.10.4


Thread: