Hello,

Michael Hendricks <mich...@ndrix.org> 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