]> git.notmuchmail.org Git - notmuch/commit
emacs: Bind MIME part commands to "." submap
authorAustin Clements <amdragon@MIT.EDU>
Thu, 30 May 2013 01:13:47 +0000 (21:13 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 1 Jun 2013 01:01:12 +0000 (22:01 -0300)
commitedc740857f9af3a7c81829dac438496ca08b81f8
tree79180a0c71cc0a8da2b08e4ea841429b547eed58
parent1546387d723ec47cd281f3c2bf6da2fddf18c045
emacs: Bind MIME part commands to "." submap

Since the part commands are no longer tied to a button, but can be
applied with point anywhere within a part, bind the part commands
keymap to "." everywhere in the show buffer.  This lets you save or
view parts without having to navigate to the part button, and is
particularly useful for parts that have no button.

This removes the un-prefixed MIME part commands from the part button
keymap, but that's okay because those clashed in annoying ways with
show buffer bindings like "s" for search.  RET on part buttons is
unaffected, which is the most important part button binding.
emacs/notmuch-show.el