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

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

Date: Sat, 10 Jun 2017 23:49:13 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Damien Cassou


David Bremner <david@tethera.net> 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 navigation, even without indentation. 
 
I guess you are using the default imenu frontend which is both 
ugly and inefficient. I also guess few people care about adding 
imenu support to packages for this exact reason.   The counsel's 
version is quite good though (see attached screenshot). The 
indentation is respected making the imenu content a visual 
overview of the thread (and you don't have to type any periods). 
I can still get rid of indentation if you confirm you don't want 
it. For example, I understand that it would be nice to have better 
integration with the original imenu frontend (even though the 
default frontend is so bad I doubt anyone not having a better 
version ever uses imenu at all). You also say the information on 
the header line is not very helpful. Do you have any other 
suggestion? I'm open to trying several different alternatives and 
see what people prefer. 

Bye 

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

Thread: