From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#43475: feature/native-comp; add a site-lisp path to comp-eln-load-path Date: Mon, 05 Jun 2023 04:54:10 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4794"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: tgbugs@gmail.com, 43475-done@debbugs.gnu.org, Andrea Corallo To: Ulrich Mueller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 05 15:48:56 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1q6AZs-00012l-Kf for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jun 2023 15:48:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6AZC-0003RA-1p; Mon, 05 Jun 2023 09:48:14 -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 1q6AZ1-0003Lk-Ah for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:48:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6AZ0-0002Uq-Rp for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6AZ0-0008Hu-NM for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:48:02 -0400 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jun 2023 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43475 X-GNU-PR-Package: emacs Mail-Followup-To: 43475@debbugs.gnu.org, acorallo@gnu.org, tgbugs@gmail.com Original-Received: via spool by 43475-done@debbugs.gnu.org id=D43475.168597287131771 (code D ref 43475); Mon, 05 Jun 2023 13:48:02 +0000 Original-Received: (at 43475-done) by debbugs.gnu.org; 5 Jun 2023 13:47:51 +0000 Original-Received: from localhost ([127.0.0.1]:48525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6AYo-0008GJ-JI for submit@debbugs.gnu.org; Mon, 05 Jun 2023 09:47:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q65yi-0003Gn-GR for 43475-done@debbugs.gnu.org; Mon, 05 Jun 2023 04:54:16 -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 1q65yd-0004Cl-3r; Mon, 05 Jun 2023 04:54:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=adRe/zeTYyhjXvWwQOAPmQCB2p4dQ1al1ESMARCHk6A=; b=mZQwlYVaojjsG4hTq/sY J7Ql6MHc6AUHjEB6u+LnxMJjLaubDJPmOayt1YIOv08a/jccLwYORlIS1l0wX1sd3AMJsOtoko2qL 72qtL7HVq7bARzdZyLPak73bRcf1fQRkFQAdyYlinTvV2KpurT+WdLeF7s6pkVXUcxtV/eLRd+aKT 5DRZNjj6sxhh09pIkqIhozW3Mkjw6fxC/+Bd7YRw2J7cAUuOc+VV3+WcS0fGSa3gF8OEPUSXeoPgw OmZtRKOCSkw1aNd7WDesrQcvrThs0754xYxdYy1VzO5DS2TDuQQ4w87gEvIP+J2jbRbsugstdrshK 9jJSFbfCEdLheg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q65yc-00031F-UA; Mon, 05 Jun 2023 04:54:10 -0400 In-Reply-To: (Ulrich Mueller's message of "Sat, 19 Sep 2020 12:12:20 +0200") X-Mailman-Approved-At: Mon, 05 Jun 2023 09:47:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263012 Archived-At: Ulrich Mueller writes: >>>>>> On Fri, 18 Sep 2020, Andrea Corallo wrote: > >> Tom Gillespie writes: > >>> Suggestions from the previous discussion are >>> /usr/lib{,64}/emacs/site-eln and /usr/lib{,64}/emacs/site-lisp/eln. >>> >>> If we want to mirror the way native-lisp is used for the system files >>> then ${libdir}/emacs/site-lisp and ${libdir}/emacs/site-lisp/native-lisp >>> are two other options. > >> I think ${libdir}/emacs/site-lisp/native-lisp would be probably more >> future proof but I've no strong preference. > >> Ulrich what would be your suggestion for this? > > I'd prefer the shorter path. I believe it's very unlikely that there > could be other files in future that would be both lisp and architecture > dependent, i.e. that would be installed in ${libdir}/emacs/site-lisp/ > as well. In other words, the additional subdirectory level would be > totally redundant. > > So, my suggestion would be either ${libdir}/emacs/site-lisp/ or > ${libdir}/emacs/site-eln/ with a slight preference for the second. > > (Note that Gentoo would create another subdirectory when installing an > add-on elisp package, so the path would be (for example) > ${libdir}/emacs/site-eln/${package_name}/.) Closing this very old bug still related to feature/native-comp as I think ATM the interface we provide satisfies distro needs. Happy to reopen if more work is needed in this area. Best Regards Andrea