bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#52773: Master and (probably) emacs-28: locate-library hides .eln fil


From: Andrea Corallo
Subject: bug#52773: Master and (probably) emacs-28: locate-library hides .eln files.
Date: Sat, 25 Dec 2021 10:43:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Mackenzie <acm@muc.de> writes:

[...]

>> Hi Alan,
>
>> The trouble in this area is that `locate-library' might be used by
>> existing programs to obtain the source file (.elc files are tipically in
>> the same directory where the corresponding .el are).
>
> Are you saying that programs obtain the path of the .elc file, then
> expect to get the source file by removing the "c" at the end?

Precisely.

Despite what the docstring says we have to deal with the existing
software on the field.  IIRC at the time after a number of bug reports
was deemed that minimizing incompatibilities and making the
native-compiler as much transparent as possible was priority.

One option would be to update the docstring and add a second function to
return the true value similarly to what we did with
`load-true-file-name'.

The other option is of course what you've suggested.

Thanks!

  Andrea





reply via email to

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