emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f8bb6cca33: Return the same file from locate-file in nativeco


From: Stefan Monnier
Subject: Re: master f8bb6cca33: Return the same file from locate-file in nativecomp and non
Date: Sun, 13 Mar 2022 20:20:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> AFAIK it reverts the behavior of `locate-file-internal` to that of
>> Emacs-27
> Emacs 27 behavior cannot guide us here, because the *.eln files and
> the aspects they bring into the issue are new.

`locate-file` is a function looks for files with a given set of
extensions through path.  That's it.  Nothing specific to ELisp files.
E.g. it's used in `executable-find`.

The existence of `.eln` should have no bearing on this.

It can affect the ELisp-specific code (such as `load` or
`find-library`), which may indeed use `locate-file` internally, but it
should not affect `locate-file` itself.

>> and I think the change in Emacs-28 is just a bug (an oversight, I
>> suspect)
> How can you think that when this "bug" endured more than a year of
> testing since the nativecomp branch was merged, including the pretest
> until now?

That's just what my understanding of the code tells me.

>> so I'd even suggest we install my patch in `emacs-28`.
> Do we want to release Emacs 28 any time soon, or do we want to
> continue dragging our feet by making destabilizing changes in it?

Notice that I did not install it on `emacs-28` nor asked to do that.
I only mention it as a way to say that I consider it fixes a regression
in Emacs-28, rather than being a "backward-incompatible change".


        Stefan




reply via email to

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