From: Adam Porter <adam@alphapapa.net>
To: "João Távora" <joaotavora@gmail.com>
Cc: "Eli Zaretskii" <eliz@gnu.org>,
58431@debbugs.gnu.org, "Daniel Martín" <mardani29@yahoo.es>
Subject: bug#58431: 29.0.50; [Eglot] Add "breadcrumb.el" feature based, on imenu.el/project.el services
Date: Wed, 19 Apr 2023 23:27:45 -0500 [thread overview]
Message-ID: <338356f2-dc7f-d05c-0914-f0b3aa3eaf5b@alphapapa.net> (raw)
In-Reply-To: <CALDnm50URjQWpyvYKHXNESCfb7UQ45y28qQRFmGfSaKEMu+kzA@mail.gmail.com>
Hi João,
On 4/18/23 13:26, João Távora wrote:
> On Tue, Apr 18, 2023 at 7:10 PM Adam Porter <adam@alphapapa.net> wrote:
>
>> FWIW, this sounds similar to the topsy.el library I published on MELPA a
>> couple of years ago. It aims to provide similar (or better)
>> functionality than semantic-stickyfunc-mode without using Semantic.
>
> Had a look, but doesn't seem to work with Imenu directly. That's a goal
> here, because it makes this work for Eglot and also any other non-Eglot
> client that already defines an imenu.
Yes, it doesn't use any Imenu functions currently. It's an interesting
idea, though.
> Also seems to have a slightly different goal. The goal here, is for
> the headerline to show the current position in terms of the intervals
> it intersects in the imenu tree, which may be a deep hierarchical
> tree in some languages.
For most modes, that's true. For buffers using `magit-section-mode',
the `topsy--magit-section' function does return a breadcrumbs-style list
that shows the hierarchy of sections. Also, my other package that's
just for Org, org-sticky-header, does show a breadcrumbs-style list of
ancestor headings.
> Here's what I've come up with: it's fresh out of the oven :-)
>
> (meaning probably buggy, but hopefully hot)
Thanks. I tried it, and I'm not sure if it's doing what you intend, but
it doesn't seem to do what I need; that is, it doesn't show the
beginning of the top-level form that encloses the line at the top of the
window.
next prev parent reply other threads:[~2023-04-20 4:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 9:17 bug#58431: 29.0.50; [Eglot] Add "breadcrumb.el" feature based on imenu.el/project.el services João Távora
2022-10-11 15:38 ` Yuan Fu
2022-10-11 23:50 ` João Távora
2022-10-12 6:22 ` Yuan Fu
2022-10-12 8:30 ` João Távora
2023-05-12 13:09 ` João Távora
2023-05-17 21:31 ` Yuan Fu
2023-04-08 19:47 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-18 18:10 ` bug#58431: 29.0.50; [Eglot] Add "breadcrumb.el" feature based, " Adam Porter
2023-04-18 18:26 ` João Távora
2023-04-20 4:27 ` Adam Porter [this message]
2023-04-20 9:22 ` João Távora
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=338356f2-dc7f-d05c-0914-f0b3aa3eaf5b@alphapapa.net \
--to=adam@alphapapa.net \
--cc=58431@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=joaotavora@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).