GNU bug report logs - #43475
feature/native-comp; add a site-lisp path to comp-eln-load-path

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Tom Gillespie <tgbugs@HIDDEN>; dated Thu, 17 Sep 2020 17:38:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 17 Sep 2020 17:37:24 +0000
From debbugs-submit-bounces <at> Thu Sep 17 13:37:24 2020
Received: from localhost ([]:38898
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1kIxqW-0007de-I5
	for submit <at>; Thu, 17 Sep 2020 13:37:24 -0400
Received: from ([]:52700)
 by with esmtp (Exim 4.84_2)
 (envelope-from <tgbugs@HIDDEN>) id 1kIxqU-0007dW-SM
 for submit <at>; Thu, 17 Sep 2020 13:37:23 -0400
Received: from ([2001:470:142:3::10]:41896)
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tgbugs@HIDDEN>) id 1kIxqU-0006Ly-L0
 for bug-gnu-emacs@HIDDEN; Thu, 17 Sep 2020 13:37:22 -0400
Received: from ([2a00:1450:4864:20::42f]:36927)
 by with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tgbugs@HIDDEN>) id 1kIxqR-0001j6-8k
 for bug-gnu-emacs@HIDDEN; Thu, 17 Sep 2020 13:37:22 -0400
Received: by with SMTP id z4so2958653wrr.4
 for <bug-gnu-emacs@HIDDEN>; Thu, 17 Sep 2020 10:37:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: AOAM533iP3Ea6Zj4ru26/NnMi2+6IxbFqGtZCdgtta5onLr/AICQOfXi
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 <tgbugs@HIDDEN>
Date: Thu, 17 Sep 2020 13:37:04 -0400
Message-ID: <CA+G3_PPwWP0Y-S-5jJHFoHMb2QbFAaoTopK8_NbfrdLC_cChAQ@HIDDEN>
Subject: feature/native-comp; add a site-lisp path to comp-eln-load-path
To: Emacs Bug Report <bug-gnu-emacs@HIDDEN>, Andrea Corallo <akrl@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::42f;
X-detected-operating-system: by 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,
 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@HIDDEN
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
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!

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, was the start
of these discussions and the following devel thread is also relevant

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

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.

Acknowledgement sent to Tom Gillespie <tgbugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43475; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 17 Sep 2020 17:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.