]> git.notmuchmail.org Git - notmuch/commitdiff
Add Emacs' imenu support in notmuch-show and notmuch-search
authorDamien Cassou <damien@cassou.me>
Mon, 12 Jun 2017 13:30:10 +0000 (15:30 +0200)
committerDavid Bremner <david@tethera.net>
Wed, 14 Jun 2017 10:49:08 +0000 (07:49 -0300)
Emacs' major modes can facilitate navigation in their buffers by
supporting Imenu. In such major modes, launching Imenu (M-x imenu)
makes Emacs display a list of items (e.g., function definitions in a
code buffer). Selecting an item from this list moves point to this
item.

This patch adds Imenu support to both notmuch-show and notmuch-search
buffers:

* in notmuch-show, Imenu will present a list of all messages in the
  currently visible thread;

* in notmuch-search, Imenu will present a list of all messages in the
  search buffer.


No differences found