From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43475: feature/native-comp; add a site-lisp path to comp-eln-load-path Date: Fri, 18 Sep 2020 19:09:03 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17524"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 43475@debbugs.gnu.org, ulm@gentoo.org To: Tom Gillespie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 18 21:51:26 2020 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 1kJMPm-0004Q5-Rj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 21:51:26 +0200 Original-Received: from localhost ([::1]:41204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJMPl-000195-RE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 15:51:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJLlj-0007my-M1 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 15:10:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJLli-0002WG-NC for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 15:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJLli-00046U-GI for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 15:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Sep 2020 19:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43475 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: Emacs Bug Report , ulm@gentoo.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160045616615729 (code B ref -1); Fri, 18 Sep 2020 19:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2020 19:09:26 +0000 Original-Received: from localhost ([127.0.0.1]:44422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJLl8-00045c-Fl for submit@debbugs.gnu.org; Fri, 18 Sep 2020 15:09:26 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJLl7-00045W-LC for submit@debbugs.gnu.org; Fri, 18 Sep 2020 15:09:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJLl5-0007BM-TU for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 15:09:25 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:60282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJLl0-0002Qu-2N for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 15:09:21 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08IJ93K0024440; Fri, 18 Sep 2020 19:09:03 GMT In-Reply-To: (Tom Gillespie's message of "Thu, 17 Sep 2020 13:37:04 -0400") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 15:09:10 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:188346 Archived-At: Hi Tom, thanks for raising this. Tom Gillespie writes: > Hi Andrea, > Sorry for the delay getting this submitted. Here is a summary of the > discussion about how to handle the site-lisp equivalent for eln files. Best! > Tom > > Use case. We need a default convention for where eln files compile from > files in /usr/share/emacs/site-lisp can be installed by a package manager. > For the record, https://github.com/gentoo/gentoo/pull/16962 was the start > of these discussions and the following devel thread is also relevant > https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg01036.html. > > My suggestion to use /usr/share was incorrect as Ulrich points out since > /usr/share should never contain arch specific files. Thus, ${libdir} > is the right base. > > 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? Thanks Andrea