[PATCH 1/2] emacs: add show view bindings to move to previous/next thread

2013-05-25 Thread Jani Nikula
On Sat, 25 May 2013, Mark Walters wrote: > Did you want this to not exit back to the search results if you do M-p > on the first result? I attach a version below that does exit back (so > M-p and M-n behave the same. Oh, that was just pure fail from my part. Sorry about that, Mark, and thanks

[PATCH 1/2] emacs: add show view bindings to move to previous/next thread

2013-05-25 Thread Jani Nikula
We have most of the plumbing in place, add the bindings M-n and M-p. --- v2: reduce duplication by adding PREVIOUS argument to notmuch-show-next-thread instead of adding a separate function for moving to previous thread (Mark) --- emacs/notmuch-show.el | 28

[PATCH 1/2] emacs: add show view bindings to move to previous/next thread

2013-05-25 Thread Mark Walters
gt; + (notmuch-search-next-thread)) > + (if show > (notmuch-search-show-thread))))) Did you want this to not exit back to the search results if you do M-p on the first result? I attach a version below that does exit back (so M-p and M-n behave the same. Best wishes Ma

[PATCH 1/2] emacs: add show view bindings to move to previous/next thread

2013-05-25 Thread Jani Nikula
We have most of the plumbing in place, add the bindings M-n and M-p. --- v2: reduce duplication by adding PREVIOUS argument to notmuch-show-next-thread instead of adding a separate function for moving to previous thread (Mark) --- emacs/notmuch-show.el | 28

Re: [PATCH 1/2] emacs: add show view bindings to move to previous/next thread

2013-05-25 Thread Mark Walters
Subject: [PATCH 1/2] emacs: add show view bindings to move to previous/next thread We have most of the plumbing in place, add the bindings M-n and M-p. --- emacs/notmuch-show.el | 30 +- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch-show.el

Re: [PATCH 1/2] emacs: add show view bindings to move to previous/next thread

2013-05-25 Thread Jani Nikula
On Sat, 25 May 2013, Mark Walters markwalters1...@gmail.com wrote: Did you want this to not exit back to the search results if you do M-p on the first result? I attach a version below that does exit back (so M-p and M-n behave the same. Oh, that was just pure fail from my part. Sorry about