From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: Should Emacs define site-lisp load-path for Dynamically-Loaded Modules? Date: Tue, 26 Sep 2023 22:40:52 +0300 Message-ID: <87h6ngd8or.fsf@thaodan.de> References: <87msx9c57e.fsf@thaodan.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37027"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 26 21:41: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 1qlDwL-0009PR-5i for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Sep 2023 21:41:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlDvn-0000c9-4w; Tue, 26 Sep 2023 15:41:15 -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 1qlDvi-0000bH-NT for emacs-devel@gnu.org; Tue, 26 Sep 2023 15:41:10 -0400 Original-Received: from thaodan.de ([185.216.177.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlDvU-0007Yv-8A; Tue, 26 Sep 2023 15:41:10 -0400 Original-Received: from odin (dsl-trebng12-50dc77-87.dhcp.inet.fi [80.220.119.87]) by thaodan.de (Postfix) with ESMTPSA id 58F10D08DEB; Tue, 26 Sep 2023 22:40:53 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1695757253; bh=g6co88m2gd1K9rbgDE4FrUOkDdMa7LUGEv0suxONyi4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=uIEeSCgLqYNCiL9vimHjY2xKFOSbOHn4idrKE1jYcnOmyvLEvxb5Uz5N1oHNMRBvu Y8UmdDbC09PpvEJj+W1MGqNV5DLKDd+SdhZPXVp5X5jQupyYRzkIe+8Mu+Ihe6lFrm hyOGSRLHjGlcu5dkd4ohHFGSs7+UaBOzVdYW7QmacVXUrliNcy8/8i+QdBDzp/3kZ4 /lQ5Ii4SiFdUMjSP2QanB5hYRS997MkSTeP2Qa23dR0qOXo51OWauhHgMJtqgJA3Ia uVxV/GzxnPokjlNZGrQDVfJXrQi8xC4HmrnOMBYxsvIvfLNTYrO3M4LBjCxd5MdrH0 Q1/qyXf7dVp5PkKmc11JG+pytR4lbCrb64S19OS3YD4IWxqUy7F4jDM+YXUGtysnms 5n61jlY64CJIKEZQ02QxdJAOAqaY3ioP9RSV+l4K9vdrbHwIP3marDzqqBLVpm2iTB Poe2Y+pefwSaH3SYyO/4JSrO2ApUWIsIai93ZqIq01a3qgooGDynV71xQlaGpq5LLJ hH3uUv8Iv4ke/IZ8aIbJ/OO3CthXB2aC1nfrax5VKD2Wm3IIL//EWVVHBbQMte0uj6 eC3RSbmGnyZR/6+LxYxV4B971XD7GXqcsjCJvh1wOpiXVsSakg3GJiwxfGE9G8LOU4 uboHMGpGburuRjcnWvMyPzgo= In-Reply-To: (Alfred M. Szmidt's message of "Tue, 26 Sep 2023 12:10:46 -0400") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=185.216.177.71; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:311097 Archived-At: "Alfred M. Szmidt" 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 . > > 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 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++.