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: Dmitry Gutov
Subject: Re: Adding support for xref jumping to headers/interfaces
Date: Thu, 9 Nov 2023 01:06:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 08/11/2023 18:11, Spencer Baugh wrote:
However, the alternative UI which shows all kinds of definitions in a
single buffer does not exist for Eglot in the same way it exists for
Elisp.  So... I can't really compare it to that.

I wonder what kind of forms we would call "declarations" in Emacs Lisp.

cl-defgeneric form seems to meet that description, but it can also contain the default definition, so on average it seems good to have it in the "find definitions" set by default.

We also have (declare-function ...) calls which seem to fit the description even better. Unfortunately, we don't know how to search for them (yet?), so they only feature in the search for "references". And that's probably good that they are not in the "find definitions" set.

Anything else? I think that's it.



reply via email to

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