[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should Emacs define site-lisp load-path for Dynamically-Loaded Modul
From: |
Alfred M. Szmidt |
Subject: |
Re: Should Emacs define site-lisp load-path for Dynamically-Loaded Modules? |
Date: |
Tue, 26 Sep 2023 12:10:46 -0400 |
Recently I have began on packaging Emacs packages for OpenSuSE Linux,
many of whom use dynamic modules.
I noticed that almost all packages that use dynamic modules compile
the module after installation and store it in the package directory.
Emacs define site-lisp for locally installed libraries however the
directory is usually contained inside <datadir>.
Might be a good idea to double check
https://www.gnu.org/prep/standards/html_node/Directory-Variables.html .
The site-lisp directory can be read-only, and should only contain
architecture-_independent_ files since it sirts under datarootdir.
That makes me ask the questions should there be a second site-lisp for
dynamic modules in <libdir> by default?
Are they architecture-dependent? Are they libraries or other object
files? Seems so, off the cuff sounds reasonable.