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: Spencer Baugh
Subject: Re: Adding support for xref jumping to headers/interfaces
Date: Wed, 15 Nov 2023 16:32:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Dmitry Gutov <dmitry@gutov.dev> writes:
> On 11/11/2023 14:38, Spencer Baugh wrote:
>> So e.g. c-ts-mode could define
>> c-find-signature, which has a clear meaning for C.
>
> And c-mode will not.

Some major modes will support things which other major modes do not
support.  Users will use the best one, whatever it is, and we'll change
the default to whatever it is, eventually.  I don't see an issue.

>> And likewise for
>> refactorings which only make sense in a given language.
>
> And then it will fail because the user didn't enable a minor mode
> which would give access to said functionality.

That doesn't seem like much of a problem.

Alternatively, maybe such commands can autostart Eglot or whatever other
backend it needs?




reply via email to

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