emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org-compat: Allow imenu items without hierarchy


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] org-compat: Allow imenu items without hierarchy
Date: Sun, 15 Apr 2018 12:33:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Michael Hendricks <address@hidden> writes:

> * lisp/org-compat.el (org-imenu-flat): New custom variable.
> (org-imenu-get-tree): Skip hierarchical item structure if
> org-imenu-flat is true.
>
> Many of my Org files have deep hierarchies, but few total headings.
> For those files, I find that navigating a flat menu structure is more
> effective than navigating many nested menus.
>
> A flat imenu structure also works well with packages, such as idomenu,
> which navigate imenu items via search.

Thank you. However, you don't need to patch Org to have this. Just set
`imenu-create-index-function' to your liking.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]