From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: "Alfred M. Szmidt" <ams@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Should Emacs define site-lisp load-path for Dynamically-Loaded Modules?
Date: Tue, 26 Sep 2023 22:40:52 +0300 [thread overview]
Message-ID: <87h6ngd8or.fsf@thaodan.de> (raw)
In-Reply-To: <E1qlAe6-0000n7-B8@fencepost.gnu.org> (Alfred M. Szmidt's message of "Tue, 26 Sep 2023 12:10:46 -0400")
"Alfred M. Szmidt" <ams@gnu.org> writes:
> 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.
The link you refer to doesn't contain any reference to site-lisp besides *lispdir*.
I thought it was clear that I don't mean to define site-lisp but define
a second site-lisp as you say your self.
>
> 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.
Did you read the manual? Yes dynamic modules are per definition
architecture-dependent after they have been compiled as they use
compiled languages such as C or C++.
next prev parent reply other threads:[~2023-09-26 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 15:41 Should Emacs define site-lisp load-path for Dynamically-Loaded Modules? Björn Bidar
2023-09-26 16:10 ` Alfred M. Szmidt
2023-09-26 19:40 ` Björn Bidar [this message]
2023-09-29 12:36 ` Alfred M. Szmidt
2023-09-29 20:56 ` Björn Bidar
2023-09-29 10:49 ` Eli Zaretskii
2023-09-29 21:04 ` Björn Bidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6ngd8or.fsf@thaodan.de \
--to=bjorn.bidar@thaodan.de \
--cc=ams@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).