emacs-devel
[Top][All Lists]
Advanced

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

Re: Path for system-wide .eln files


From: Andrea Corallo
Subject: Re: Path for system-wide .eln files
Date: Fri, 04 Sep 2020 19:47:35 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Ulrich Mueller <ulm@gentoo.org> writes:

>>>>>> On Fri, 04 Sep 2020, Andrea Corallo wrote:
>
>> What I've pushed now (67c5369156) should be doing what we want in this
>> respect.
>
>> On my system the eln are now installed in:
>
>> /usr/local/lib/emacs/native-lisp/28.0.50-x86_64-pc-linux-gnu-679caf986.../
>
>> ELN_DESTDIR is computed as "$(DESTDIR)${libdir}/emacs/" in the Makefile.
>
>> Please give it a try to see if we are happy with that.
>
> Why would the architecture be included in that path? 

The reason is that this folder name is the same we use to disambiguate
the Emacs version for every folder in `comp-eln-load-path'.  I was asked
to add the version there so is more user friendly and I think is a good
suggestion.  So now became like:

~/.emacs.d/eln-cache/28.0.50-x86_64-pc-linux-gnu-679caf986.../

At this point the system cache was

/usr/local/lib/emacs/28.0.50/native-lisp/28.0.50-x86_64-pc-linux-gnu-679caf986.../

I thought this is reduntant and removed the version there.

> That's not what packages normally do (except for compilers and other
> programs of the binary toolchain).

Well doesn't sound that different :)

I'll admit I don't have any strong opinion/interest on this directory
topic, as long as we find a satisfying solution for everyone is no big
deal to re-add the version there if we like.

Regards

  Andrea



reply via email to

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