From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Where should dynamic modules be installed? Date: Mon, 21 Oct 2019 12:45:02 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="238976"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: gnu-emacs@gentoo.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 21 12:46:47 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMVD4-001042-QI for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 12:46:46 +0200 Original-Received: from localhost ([::1]:37516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMVD3-0001Zb-Ms for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 06:46:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44504) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMVBg-0001SQ-RV for emacs-devel@gnu.org; Mon, 21 Oct 2019 06:45:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMVBZ-0006TH-UY for emacs-devel@gnu.org; Mon, 21 Oct 2019 06:45:19 -0400 Original-Received: from smtp.gentoo.org ([140.211.166.183]:38462) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMVBZ-0006NL-P6 for emacs-devel@gnu.org; Mon, 21 Oct 2019 06:45:13 -0400 Original-Received: from a1i15 (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 30B3234BD6F; Mon, 21 Oct 2019 10:45:05 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 140.211.166.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241288 Archived-At: 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. Would /usr/lib{,64}/emacs/site-modules/ be a reasonable place for this? 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?