unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v2 0/5] emacs: help: and remap keybindings
@ 2013-11-08  0:21 Mark Walters
  2013-11-08  0:21 ` [PATCH v2 1/5] emacs: help: check for nil key binding Mark Walters
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Mark Walters @ 2013-11-08  0:21 UTC (permalink / raw)
  To: notmuch

This is version 2 of the series id:1382821479-23384-1-git-send-email-markwalters1009@gmail.com

It fixes most of the comments Austin raised in his review. 

The first patch is now trivial and fixes a bug with unset keys in
help. (This is Austin's solution which is obviously better than mine
was)

The second patch is unchanged. The third patch is new and just
separates out a helper function. This will make the remapping help
code clearer, but is probably good in its own right.

The fourth patch deals with help for the remapping case. It is
completely separate from the main help so does not clutter it up like
it did before. The logic is slightly different from before: it now
puts all remapped bindings in rather than just the first (if the
command being remapped was bound to multiple keys).

The fifth patch adds remappings to tree and is unchanged.

It does not address Austin's query about passing down the base keymap
for the remapping.

Best wishes

Mark


Mark Walters (5):
  emacs: help: check for nil key binding
  emacs: help: remove duplicate bindings
  emacs: help: split out notmuch-describe-key as a function
  emacs: help: add a special function to deal with remaps
  emacs: tree: use remap for the over-ridden global bindings

 emacs/notmuch-lib.el  |   76 +++++++++++++++++++++++++++++++++++-------------
 emacs/notmuch-tree.el |    8 ++--
 2 files changed, 59 insertions(+), 25 deletions(-)

-- 
1.7.9.1

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

end of thread, other threads:[~2013-11-08  3:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08  0:21 [PATCH v2 0/5] emacs: help: and remap keybindings Mark Walters
2013-11-08  0:21 ` [PATCH v2 1/5] emacs: help: check for nil key binding Mark Walters
2013-11-08  0:21 ` [PATCH v2 2/5] emacs: help: remove duplicate bindings Mark Walters
2013-11-08  3:09   ` Austin Clements
2013-11-08  0:21 ` [PATCH v2 3/5] emacs: help: split out notmuch-describe-key as a function Mark Walters
2013-11-08  3:30   ` Austin Clements
2013-11-08  0:21 ` [PATCH v2 4/5] emacs: help: add a special function to deal with remaps Mark Walters
2013-11-08  3:35   ` Austin Clements
2013-11-08  0:21 ` [PATCH v2 5/5] emacs: tree: use remap for the over-ridden global bindings Mark Walters

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).