[Top][All Lists]

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

Re: Where should dynamic modules be installed?

From: Eli Zaretskii
Subject: Re: Where should dynamic modules be installed?
Date: Mon, 21 Oct 2019 16:44:48 +0300

> From: Ulrich Mueller <address@hidden>
> Date: Mon, 21 Oct 2019 12:45:02 +0200
> Cc: address@hidden
> We are going to include the first package with a dynamically loaded
> module (emacs-libvterm) in Gentoo. The question arose where the .so file
> should be installed? Since it is a system dependent binary, installing
> it under /usr/share/emacs/ looks wrong. I cannot find anything about a
> recommended install location in the documentation.

Why do you think /usr/share/emacs/ is wrong?  That's where the
site-lisp directory lives.

> Also, wouldn't it be cleaner if Emacs had a separate variable (analog to
> image-load-path, custom-theme-load-path, etc.) for loading of dynamic
> modules, instead of reusing load-path?

The idea with reusing load-path was that modules will almost always be
accompanied by some .el file(s), and having those separately from the
module binaries would be a complication.

reply via email to

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