[Top][All Lists]

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

Re: [PATCH] Add new option 'org-imenu-flatten'

From: Ihor Radchenko
Subject: Re: [PATCH] Add new option 'org-imenu-flatten'
Date: Fri, 08 Dec 2023 22:19:58 +0000

Morgan Smith <Morgan.J.Smith@outlook.com> writes:

> * lisp/org/org-compat.el: Add definition of 'org-imenu-flatten'.
> (org-imenu-get-tree): Use 'org-imenu-flatten'.
> ---
> Hello!
> I've been using this patch for a bit and I quite like it.  One would think
> there would be an option in imenu itself to flatten trees but that does not
> seem to be the case.  I copied the defcustom from 'doc-view-imenu-flatten'.

Have you considered adding a "flatten" option to imenu itself?
That way, you could automatically get the functionality for free
everywhere, not just in Org mode.

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

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