[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] navi equivalent to 'g' speed command?
From: |
Alan Schmitt |
Subject: |
Re: [O] navi equivalent to 'g' speed command? |
Date: |
Thu, 04 Sep 2014 09:13:41 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (darwin) |
On 2014-09-03 21:00, Thorsten Jolitz <address@hidden> writes:
>> Maybe I should look into doing this the navi way. Assume you want to
>> reach an entry with "foobar" in its title, but you don't know at what
>> level this entry is. How would you do it?
>
> As I wrote in my last mail, I think outshine-imenu (using idomenu, you
> have to install that package for ido-style completion) does exacly what
> you want - offer all file headers with smart completion, so you only
> need to type 'foo' or so to get the "foobar" headline. Typing RET then
> moves point to the headline.
I looked a little deeper into this, and I found that the code is
supposed to work even when idomenu is not installed. Unfortunately it
does not: the function 'imenu-choose-buffer-index' does not seem to
exist until imenu is launched once. Maybe a "require" is missing?
Things work well once I've launched imenu manually (the integration
with helm is even automatic). There is one small additional issue,
though: the entry targetted remain folded. Is there a way to
(automatically) unfold it?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
signature.asc
Description: PGP signature