[Top][All Lists]

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

Re: Path for system-wide .eln files

From: Ulrich Mueller
Subject: Re: Path for system-wide .eln files
Date: Sat, 05 Sep 2020 00:59:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

>>>>> On Fri, 04 Sep 2020, Stefan Monnier wrote:

>> The difference between the two directories is that the home directory
>> may be shared between different architectures, while /usr/lib (or
>> /usr/local/lib) is _not_ shared by its definition. Therefore the
>> architecture makes sense in ~/.emacs.d/ but is redundant in /usr/lib/.

> The extra info may be redundant but it does no harm.

> The benefit is that /$DESTDIR/$libdir/emacs/native-lisp can be a normal
> member of the "eln files search path", whereas otherwise it would have
> to be treated specially.

Would that really be a problem? The tradeoff is an ugly directory
structure, in order to save a few lines of code.

>> I'd very much prefer (also from a distro point of view) if the directory
>> trees in /usr/share and /usr/lib would have a similar structure. That
>> is, /usr/lib/emacs/<version>/..., and no arch triplet.

> Other than aesthetic concerns, what is at stake?

Is it completely excluded that additional types of files will be
installed in /usr/lib/emacs/ in future? I believe it would make sense
to establish a directory structure that can be generalised, instead of
something that looks like an ad-hoc solution for one specific use case.

reply via email to

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