From: Dmitry Gutov <dmitry@gutov.dev>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: 65520@debbugs.gnu.org, Visuwesh <visuweshm@gmail.com>
Subject: bug#65520: 30.0.50; [FR Xref] Project-wide operations
Date: Sun, 27 Aug 2023 03:32:22 +0300 [thread overview]
Message-ID: <e1829d82-b0d7-4eb2-426b-39e1971958c6@gutov.dev> (raw)
In-Reply-To: <m2msyee5eu.fsf@Mini.fritz.box>
On 26/08/2023 08:31, Gerd Möllmann wrote:
>>>> No such capability at the moment, but we indeed have an ELPA package
>>>> xref-union which implements the "merging" feature that has been
>>>> requested in the past.
>>> Thanks also to Visuwesh for pointing me to xref-union.
>>
>> Have you tried it?
>
> Not yet. I'm still hoping someone else (tm) builds something, so that I
> don't have to do anything.
xref-union is a thing that somebody has already built. Either you try it
and like it, or you can come back with more targeted feedback.
Which we could then use to improve either it, or the core xref, of course.
>> Indeed, it's also a question of mental model, which we might have
>> different. When I was saying "different projects" and "register
>> globally", I was thinking of being able to jump to Emacs' sources and
>> hack them from anywhere: from any other project I might be working on
>> at the moment.
>>
>> If we're talking about Emacs development only, a "combined" backend
>> might make more sense (see the other email).
>
> No, I didn't mean Emacs development specifically, although that's
> probably the only things I'd use such a facility for.
>
> The whole thing would be like in some IDEs, with their "usual" idea of
> project. I'm not 100% sure, but I think I've seen vscode being used
> with different languages (JS, CSS, Java...) and offering such
> project-wide stuff.
IIRC the LSP protocol includes project type detection, and so Eglot can
automatically spin up several language servers already.
Without the addition of a similar registry, which all backends would
have to plug into, the best we could do is loop across the open project
buffers and see what backends exist there. But that would e.g. miss
Elisp if you haven't opened any .el files in the current session yet.
next prev parent reply other threads:[~2023-08-27 0:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 6:49 bug#65520: 30.0.50; [FR Xref] Project-wide operations Gerd Möllmann
2023-08-25 7:03 ` Gerd Möllmann
2023-08-25 7:48 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-25 16:26 ` Dmitry Gutov
2023-08-25 8:26 ` Gerd Möllmann
2023-08-25 16:17 ` Dmitry Gutov
2023-08-26 5:22 ` Gerd Möllmann
2023-08-25 16:20 ` Dmitry Gutov
2023-08-26 5:31 ` Gerd Möllmann
2023-08-27 0:32 ` Dmitry Gutov [this message]
2023-08-27 6:32 ` Gerd Möllmann
2023-08-25 7:21 ` Eli Zaretskii
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=e1829d82-b0d7-4eb2-426b-39e1971958c6@gutov.dev \
--to=dmitry@gutov.dev \
--cc=65520@debbugs.gnu.org \
--cc=gerd.moellmann@gmail.com \
--cc=visuweshm@gmail.com \
/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.