From unknown Tue Aug 19 09:31:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43475 <43475@debbugs.gnu.org> To: bug#43475 <43475@debbugs.gnu.org> Subject: Status: feature/native-comp; add a site-lisp path to comp-eln-load-path Reply-To: bug#43475 <43475@debbugs.gnu.org> Date: Tue, 19 Aug 2025 16:31:52 +0000 retitle 43475 feature/native-comp; add a site-lisp path to comp-eln-load-pa= th reassign 43475 emacs submitter 43475 Tom Gillespie severity 43475 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 17 13:37:24 2020 Received: (at submit) by debbugs.gnu.org; 17 Sep 2020 17:37:24 +0000 Received: from localhost ([127.0.0.1]:38898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIxqW-0007de-I5 for submit@debbugs.gnu.org; Thu, 17 Sep 2020 13:37:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:52700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIxqU-0007dW-SM for submit@debbugs.gnu.org; Thu, 17 Sep 2020 13:37:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIxqU-0006Ly-L0 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 13:37:22 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:36927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIxqR-0001j6-8k for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 13:37:22 -0400 Received: by mail-wr1-x42f.google.com with SMTP id z4so2958653wrr.4 for ; Thu, 17 Sep 2020 10:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=LfFshlGXd+KpOcw8MfR3jMZ8vsYYZwWeNiQp/E/Dv6I=; b=vaVy7wg5DG3LLFE5pkyAoE5SWfiheKZEJ9mM9HFgH93TR06j2msf/mAwJZAadeaz6J JDa7jvVHSJQPBOeqyccaUXuPx0ivhqTLSeMU+f5GXekEXAqNv/M61UY2eRcCQdRhBpEh lP2Bpl4KyRaA/Phw7EaXJDzwXa3tKVb204mliIU91YKyjJsX805VnHuRWjsQIKanxl/n Dg9IyXjcEjaEVVPsuBG6d7YLhZi2ed7PSeqcVW22uPrz5LkSU804jdUjng1vEzJbu1Or 4rF80ulXPLoHi1FqskBh8rktpnVwUTzkcEs7nO1ydQeGsRCuyE0oeDkVZLQeTv0MDF4P Wrpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LfFshlGXd+KpOcw8MfR3jMZ8vsYYZwWeNiQp/E/Dv6I=; b=qvcgolnlom2T7DVUaxlw1RDthPWQuDzqx5e5ZhJ+53IrDd6/JFlpRDT2ZYzTMAWoN+ BWzC2DqmQ4njQKMPB0IhP9XKhiEhtjQwCdeI3Eb4kDHM2K0N+26iiGHnEoCKfVNNNQnf ptsQqHDQNoGDa/S33rxw6WDd2Ja9L2XNgDZKG5MunTCFcQCXRCGZpTlHGbcnpI8MVh9w n0cgWGQ2fr70yvzktDw59Nor4JOPbDpy5UIt8SHJhSb8wixEbZ2JNXftDuhjPklj1JhJ 7NLdWNWZ8DHp/Sd2gCimSRS10gqhEFsJeOXSU0KAQ+3XQr8TlQB1ORVqNbc3ZgK/FLIn hKLw== X-Gm-Message-State: AOAM533iP3Ea6Zj4ru26/NnMi2+6IxbFqGtZCdgtta5onLr/AICQOfXi pifOFe30+40xs5opSJu7Ykweuhuxa8eNYrrCIhkCOIaNmfKG4g== X-Google-Smtp-Source: ABdhPJyRGY1P/iyhMHHueB7WkTTQ4ix+0/uUZ1aEmeSyU0ve4D73brDhzK+jHyXYZB0UF6eXnCpMCviiVnU5LlUW26w= X-Received: by 2002:adf:f492:: with SMTP id l18mr35003186wro.280.1600364236118; Thu, 17 Sep 2020 10:37:16 -0700 (PDT) MIME-Version: 1.0 From: Tom Gillespie Date: Thu, 17 Sep 2020 13:37:04 -0400 Message-ID: Subject: feature/native-comp; add a site-lisp path to comp-eln-load-path To: Emacs Bug Report , Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=tgbugs@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit Cc: ulm@gentoo.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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'm not sure the intervening native-lisp folder is necessary, especially given that there is the additional folder that is present for each version, and since the fact that we are in ${libdir}/emacs automatically suggests that we are dealing with native arch specific files. However, I suppose that there might be some future case where something other than the native-lisp files would be included in ${libdir}/emacs, so separating the eln files in their own folder would help. I have no idea how likely that happening in the future is though. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 15:09:26 2020 Received: (at submit) by debbugs.gnu.org; 18 Sep 2020 19:09:26 +0000 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 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 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 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 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 From: Andrea Corallo To: Tom Gillespie Subject: Re: feature/native-comp; add a site-lisp path to comp-eln-load-path References: Date: Fri, 18 Sep 2020 19:09:03 +0000 In-Reply-To: (Tom Gillespie's message of "Thu, 17 Sep 2020 13:37:04 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Emacs Bug Report , ulm@gentoo.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 06:12:41 2020 Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 10:12:41 +0000 Received: from localhost ([127.0.0.1]:45713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJZrE-0007EB-WB for submit@debbugs.gnu.org; Sat, 19 Sep 2020 06:12:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:49560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJZrD-0007E4-PE for submit@debbugs.gnu.org; Sat, 19 Sep 2020 06:12:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJZrD-0003K6-6F for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 06:12:39 -0400 Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:45321 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJZrA-00006p-Ot for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 06:12:38 -0400 From: Ulrich Mueller To: Andrea Corallo Subject: Re: feature/native-comp; add a site-lisp path to comp-eln-load-path In-Reply-To: (Andrea Corallo's message of "Fri, 18 Sep 2020 19:09:03 +0000") References: Date: Sat, 19 Sep 2020 12:12:20 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 06:12:27 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Tom Gillespie , Emacs Bug Report X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) >>>>> 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}/.) From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 09:47:51 2023 Received: (at 43475-done) by debbugs.gnu.org; 5 Jun 2023 13:47:51 +0000 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 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 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==; 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 From: Andrea Corallo To: Ulrich Mueller Subject: Re: bug#43475: feature/native-comp; add a site-lisp path to comp-eln-load-path In-Reply-To: (Ulrich Mueller's message of "Sat, 19 Sep 2020 12:12:20 +0200") References: Date: Mon, 05 Jun 2023 04:54:10 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43475-done X-Mailman-Approved-At: Mon, 05 Jun 2023 09:47:47 -0400 Cc: tgbugs@gmail.com, 43475-done@debbugs.gnu.org, Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From unknown Tue Aug 19 09:31:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Jul 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator