emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding support for xref jumping to headers/interfaces


From: João Távora
Subject: Re: Adding support for xref jumping to headers/interfaces
Date: Sun, 26 Nov 2023 20:40:33 +0000

On Sun, Nov 26, 2023 at 4:08 PM Felician Nemeth
<felician.nemeth@gmail.com> wrote:
>
> Dmitry Gutov <dmitry@gutov.dev> writes:

> However, in the past it made sense to find the first xref backend that
> knew the definition of an identifier.  Now let's assume backend A
> provides definitions with letter "d" and backend B provides
> documentation locations also with letter "d".

I think according to Dmitry these documentation locations
should be crammed somewhere in either "definition", "declaration" or
"typeDefinition" or "implementation".  Go figure.

> > 2. Whether Eglot should, in time, deprecate its corresponding three
> > commands if Xref adds its own versions.
>
> I think one of João's design goals of Eglot is to rely on existing Emacs
> features as much as possible.

I don't think these commands should exist in Xref though.  They
directly reflect a limited LSP-specific categorization of
cross-referenceable things that should be confined to Emacs's
LSP interface, which is Eglot.  So I will not be deprecating these
commands, unless LSP deprecates them.

João



reply via email to

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