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: Sat, 11 Nov 2023 07:39:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Dmitry Gutov <dmitry@gutov.dev> writes:
> On 09/11/2023 19:07, Spencer Baugh wrote:
>> Custom kinds would still require you to type in the kind symbol.  (Or a
>> backend or mode can make a "quick-access" command specific to that kind,
>> if they want.)
> If we leave all the UI decisions to the backends (both extra commands
> and the dispatch which kind to use in the "unifying" command as well),
> then there might be little point in adding extra infrastructure to
> xref.el itself.
>
> xref-show-xrefs is a public function, FETCHER just needs to return a
> list of xrefs, the same data that backend functions like
> xref-backend-definitions return.

I think we plausibly leave UI decisions to the *major-modes*.




reply via email to

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