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: Mon, 27 Nov 2023 23:25:32 +0000

On Mon, Nov 27, 2023 at 6:12 PM Dmitry Gutov <dmitry@gutov.dev> wrote:

> There are also abstract method definitions in C++ and so on.

No, there aren't.  You probably mean "(pure) virtual member function".
And yes, I can assure you that's the jargon that professional and aspiring
C++ developers prefer when communicating with colleagues and compilers,
certainly not wishy-washy Javaisms.

> What goes for declarations in a lot of cases will also be "definitions
of some sort".

But if you squint hard enough, everything's "definition".  In fact,
definition definition definition.  Definition?  Definition!

> If you don't like "definitions" in "xref-show-definitions-function",
> then it would need to be a term that describes "special kind of
> cross-references". Probably referring to the kinds of locations those
> cross-references point to (which determines the optimal UI).

I'm fine with that name myself, it's specifically for xref
-find-definitions, right?  I just find it nonsensical to use that
to justify the "definitions" in your proposed xref-find-all-definitions
which potentially serves to find C declarations, C++ deduction
guides, Elisp feature-providing forms, CL macroexpansion loci,
etc, etc.  I've given plenty of alternatives.



reply via email to

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