unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] emacs: tag-jump: make k binding for the reverse tag change map
@ 2016-10-06 14:59 Mark Walters
  2016-10-06 14:59 ` [PATCH 2/2] emacs: tag-jump: make the same binding do " Mark Walters
  2016-10-06 18:23 ` [PATCH 1/2] emacs: tag-jump: make k binding for " Tomi Ollila
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Walters @ 2016-10-06 14:59 UTC (permalink / raw)
  To: notmuch

Currently, by default k invokes the tag-jump menu, and following it by
r invokes the reverse tag change jump menu. This is awkward to type
(e.g. k r u for undoing a -unread change). This changes it so that k
followed by k invokes the reverse menu.
---

There has been discussion on irc and reasonable agreement that this is
more convenient.

This patch can be applied on its own, or with the second patch. Since
it is relatively hard to configure the internal binding to jump to the
reverse tag changes it might be worth applying. Alternatively we could
have a defvar variable that specifies the key, so a user can configure
it if they want.

Since the first patch changes default keybindigs it is probably worth
applying that one soon, and then considering what, if anything, to do
about the second.

Best wishes

Mark





emacs/notmuch-tag.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
index 49662c2..36a498d 100644
--- a/emacs/notmuch-tag.el
+++ b/emacs/notmuch-tag.el
@@ -523,7 +523,7 @@ and vice versa."
 	(push (list key name-string
 		     `(lambda () (,tag-function ',tag-change)))
 	      action-map)))
-    (push (list "r" (if reverse
+    (push (list "k" (if reverse
 			"Forward tag changes "
 		      "Reverse tag changes")
 		(apply-partially 'notmuch-tag-jump (not reverse)))
-- 
2.1.4

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

end of thread, other threads:[~2016-10-08 15:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 14:59 [PATCH 1/2] emacs: tag-jump: make k binding for the reverse tag change map Mark Walters
2016-10-06 14:59 ` [PATCH 2/2] emacs: tag-jump: make the same binding do " Mark Walters
2016-10-06 18:23 ` [PATCH 1/2] emacs: tag-jump: make k binding for " Tomi Ollila
2016-10-06 21:59   ` [PATCH] " Mark Walters
2016-10-07 20:21     ` Tomi Ollila
2016-10-08  1:41     ` David Bremner
2016-10-08 15:05     ` 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).