unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v5 0/3] Add filter to emacs show mode
@ 2015-06-13  8:08 Mark Walters
  2015-06-13  8:08 ` [PATCH v5 1/3] emacs: split notmuch-show-apply-state Mark Walters
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Mark Walters @ 2015-06-13  8:08 UTC (permalink / raw)
  To: notmuch

The previous version of this patch was over 3 years ago at
id:1335658006-20161-1-git-send-email-markwalters1009@gmail.com

The reason the patch stopped was that it marked messages read (removed
the unread tag) spuriously (see Austin's review
id:20120429005736.GK2704@mit.edu) and this was difficult to
fix. However, now the unread handling has been updated this is no
longer a problem. (More precisely, since the unread handling is done
in the command loop hook the unread tag only gets updated after
notmuch has displayed the final result.)

There are two small questions with this version that I would
appreciate views on. First it binds the filter/limit to l since f is
already bound to forward in show mode. It changes the binding in
search mode to match but that may annoy a lot of people who have got f
for filter into muscle memory. If we prefer to leave the keybinding in
search mode as it is then we can just drop the final patch.

Secondly what should the behaviour be if the user just gives and empty
filter query? This patch just opens all messages in the thread (ie it
treats the query as matching everything). Alternatively, it could just
exit without refreshing the buffer in that case.

Best wishes

Mark


Mark Walters (3):
  emacs: split notmuch-show-apply-state
  emacs: add a filter option to show
  emacs: Bind filter in search to 'l'

 emacs/notmuch-show.el | 30 +++++++++++++++++++++++-------
 emacs/notmuch.el      |  4 ++--
 2 files changed, 25 insertions(+), 9 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-02-18 21:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-13  8:08 [PATCH v5 0/3] Add filter to emacs show mode Mark Walters
2015-06-13  8:08 ` [PATCH v5 1/3] emacs: split notmuch-show-apply-state Mark Walters
2015-06-13  8:08 ` [PATCH v5 2/3] emacs: add a filter option to show Mark Walters
2015-08-04  7:19   ` David Bremner
2015-06-13  8:08 ` [PATCH v5 3/3] emacs: Bind filter in search to 'l' Mark Walters
2015-09-07  6:19   ` Tomi Ollila
2016-02-09 20:24   ` David Edmondson
2016-02-09 21:04     ` Mark Walters
2016-02-10  8:17       ` Tomi Ollila
2016-02-17 22:44       ` Daniel Kahn Gillmor
2016-02-18  0:24         ` David Bremner
2016-02-18  7:54         ` David Edmondson
2016-02-13 16:45   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).