[PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search

2017-06-12 Thread Damien Cassou
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 su

Re: [PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search

2017-06-11 Thread David Bremner
Damien Cassou writes: > David Bremner writes: >> I am indeed using the default. I think you forgot the screen >> shot. > > > indeed. Attached to this email. > > >>> I can still get rid of indentation if you confirm you don't >>> want it. >> >> I think so, although to be honest I never trie

Re: [PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search

2017-06-10 Thread David Bremner
Damien Cassou writes: > David Bremner writes: >> In show mode the chosen imenu index function seems less useful >> to me; it treats indentation level as significant, so in threads >> with many levels of reply, one has to type many periods. It's >> also not clear to me that the information on

Re: [PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search

2017-06-10 Thread Damien Cassou
David Bremner writes: In show mode the chosen imenu index function seems less useful to me; it treats indentation level as significant, so in threads with many levels of reply, one has to type many periods. It's also not clear to me that the information on the header line is very helpful for

Re: [PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search

2017-06-09 Thread David Bremner
Damien Cassou writes: > 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

[PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search

2017-05-23 Thread Damien Cassou
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 su