From: Juri Linkov <juri@linkov.net>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: 58532@debbugs.gnu.org
Subject: bug#58532: 29.0.50; Support displaying imenu entries in a separate buffer
Date: Wed, 19 Oct 2022 23:50:14 +0300 [thread overview]
Message-ID: <86sfjkxk69.fsf@mail.linkov.net> (raw)
In-Reply-To: <m1v8ol6h7y.fsf@yahoo.es> ("Daniel Martín via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sat, 15 Oct 2022 02:52:33 +0200")
> It'd be great if imenu supported displaying its alist of entries in a
> separate buffer. This is particularly useful when the list of entries
> has many levels (for example, it is the table of contents of a PDF,
Unfortunately, mupdf/mutool doesn't support Unicode characters:
https://bugs.ghostscript.com/show_bug.cgi?id=702358
Maybe doc-view--pdf-outline could post-process the output
to replace hex-encoded numbers with their character equivalents?
> supported in Emacs 29), because you could search for an entry very
> easily. Right now, pressing C-s in the minibuffer only searches for
> first-level imenu entries.
>
> I suggest the new buffer would be configured in outline-mode, which is
> suited for this kind of hierarchical content.
The problem is that imenu-submenus-on-top is t by default,
but such order is incompatible with the outline-mode trees.
For example, all functions belong to the Variables outline:
* Types
imenu
imenu-unavailable
* Variables
imenu-after-jump-hook
imenu-auto-rescan
imenu-auto-rescan-maxout
...
imenu
imenu--cleanup
imenu--completion-buffer
imenu--create-keymap
...
next prev parent reply other threads:[~2022-10-19 20:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m1v8ol6h7y.fsf.ref@yahoo.es>
2022-10-15 0:52 ` bug#58532: 29.0.50; Support displaying imenu entries in a separate buffer Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-15 14:51 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-15 23:58 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-16 11:45 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-16 13:10 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-15 14:51 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-19 20:50 ` Juri Linkov [this message]
2022-10-19 21:35 ` Jose A. Ortega Ruiz
2022-10-19 21:51 ` Stephen Berman
2022-10-20 7:38 ` Juri Linkov
2022-10-19 23:00 ` Jose A. Ortega Ruiz
2022-10-20 7:39 ` Juri Linkov
2022-10-19 22:03 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-20 7:43 ` Juri Linkov
2024-05-10 16:42 ` Juri Linkov
2024-05-28 17:55 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86sfjkxk69.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=58532@debbugs.gnu.org \
--cc=mardani29@yahoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.