From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: Should Emacs define site-lisp load-path for Dynamically-Loaded Modules? Date: Tue, 26 Sep 2023 12:10:46 -0400 Message-ID: References: <87msx9c57e.fsf@thaodan.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26025"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?UTF-8?Q?To=3A_Bj=C3=83=C2=B6rn_Bidar_=3Cbjorn=2Ebidar=40thaodan=2Ede=3E?= =?UTF-8?Q?=0A?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 26 18:11:49 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qlAf5-0006UV-DY for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Sep 2023 18:11:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlAeC-00066x-Hb; Tue, 26 Sep 2023 12:10:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlAe7-00064M-Fj for emacs-devel@gnu.org; Tue, 26 Sep 2023 12:10:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlAe6-0002We-MJ; Tue, 26 Sep 2023 12:10:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=0KavyXiiEPCxE7UXINSKX3bla74/l5y0QZwLH+1z85A=; b=GCm3s200oui0 0bkjdj24phW4JWHUtlgvWtDKA+wXXlGKqiu823U8VzOqxnmYYwK9TS0Tymg2svRR8bpvhgLau2ljD uzzFE3HqpgmCqWwTeTcicS9ujazpMJUN1FearL0G9U0owfhNh7YTiBVxKC/gr85+SCjU0gkb1BT1y wylL2R80jJWoQiVAENAj8l4wAOK4+W4fBGB8fF3WuKrqS+axD5TM2K3UHTC6UTvVstG0lNAvXgibz 3jRUXUg2sxkh9TXuD/DEzg/6kWPtrCVrT5UUbE3lDPXX7rJvvBSW+pc+t1jwuwYpQ3RoD0lkgO+2Y PPZgzMNzpTGA109WCIA4BA==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qlAe6-0000n7-B8; Tue, 26 Sep 2023 12:10:46 -0400 In-Reply-To: =?UTF-8?Q?In-Reply-To=3A_=3C87msx9c57e=2Efsf=40thaodan=2Ede=3E_=28message?= =?UTF-8?Q?_from_Bj=C3=83=C2=B6rn_Bidar_on_Tue=2C_26=0A=09Sep_2023_18=3A41?= =?UTF-8?Q?=3A25_+0300=29=0A?= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311092 Archived-At: 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 . 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 by default? Are they architecture-dependent? Are they libraries or other object files? Seems so, off the cuff sounds reasonable.