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: Tue, 28 Nov 2023 15:02:11 +0000

On Tue, Nov 28, 2023 at 12:45 PM Dmitry Gutov <dmitry@gutov.dev> wrote:

> That's a good practice, and it works (and mitigates the issues) until we
> need to change the underlying function, for some reasons or other. In
> that sense, having the expansion use private functions (with "--" in the
> name) doesn't do much because those cannot be safely renamed, extended,
> etc. Unlike when they're called by a public function.

Sorry, that completely unspecified and vague scenario is irrelevant
in both theory and practice.  Why would you need to rename them?
They're internal functions: noone else but you needs to know or care
about them.  This technique doesn't suffer from any other problem
a function interface wouldn't have as well.  Can't tell why you're
trying to poke holes in such a well known and widely used Lisp
technique, but I must be off.



reply via email to

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