GNU bug report logs - #44726
28.0.50; [feature/native-comp] Provide a mechanism to populate comp-eln-load-path from the environment

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: Tad <tadfisher@HIDDEN>; dated Wed, 18 Nov 2020 21:06:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 21:45:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 16:45:21 2020
Received: from localhost ([127.0.0.1]:36730 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kfVGT-00048D-GY
	for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:45:21 -0500
Received: from lists.gnu.org ([209.51.188.17]:56370)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tadfisher@HIDDEN>) id 1kfVGR-000485-Pf
 for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:45:20 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44544)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tadfisher@HIDDEN>)
 id 1kfVGR-0000vL-Hj
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:45:19 -0500
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:45124)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tadfisher@HIDDEN>)
 id 1kfVGO-0003gv-IJ
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:45:19 -0500
Received: by mail-lf1-x130.google.com with SMTP id z21so5152105lfe.12
 for <bug-gnu-emacs@HIDDEN>; Wed, 18 Nov 2020 13:45:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=evOBHH1eMRA9ubCa7CnqB2MtYesb8j+Tc8khU99Yeog=;
 b=alGkvkkOnQ+LHOUHFtrW00Og901ky08ULAwKehE1XKDl74ukZkqa1WwVZNROibQP9q
 /y5RDFlrcT2zm+TL18j3U73qnSNtkMlDMB4CgWqfzCXWGEnB9UxIo03nulgIiWhUjgL6
 1At0UmiQBUUal1JPFQL4gu8qylttri+g6P82H30WTIMur3RT5dnD8OTaFlihCLGJfMfd
 4OMHzsS5r+PeuNdqm5G+cf3JFS8XCXNiyF4vUS9qy4N9cXfTleJAgeUNYkNhngxKdk1e
 +5IwoORd0vtePP1G3R9RN8x9mQd+q785O3S3s6Uwk97mHD27paok4BWU9S44j3MpUxL9
 +EHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=evOBHH1eMRA9ubCa7CnqB2MtYesb8j+Tc8khU99Yeog=;
 b=p0GIF9jPr9Xiz+qcSQQ9xQsdvK0B5KpxQ/NzQpDe2FYAMIzU+kHB2iMirOTZH1XLMr
 Ptgsur+efaSyDiSNn5pu12+0FUQm0XcatzNzAbHdyDrWlVgqLvhxCQCrfUxvOuOjGbvo
 4ll2WITn+HtHfF2dguVxKamkAdkKARgyIn29ma1dibMxGKu0YTjE6tLd2oeQi7IoYhHU
 7hG3px7/CWmTsRLGuKodIjDgKTIq/rJ8GKSMq6oprKJc0rklS+f9J218q+z+7XYc5Fzp
 G+XS6duIO5pvNt9HPvIPIEzx0cn7TEbEWf7ZPWx+lsh0xhn0dXWXZ+cEtEnJNIjEFSCV
 sPcg==
X-Gm-Message-State: AOAM533tBNE/YQM2iNi12+kN6h1/53NEDA9iOPzUQR++Q5OpbfMvvPbe
 yQO9cUE4t35bHeFYlPw75q3Nma7lNh8VZYu835o=
X-Google-Smtp-Source: ABdhPJxMIlwTvx6I/7x4/ZtKHFqw1inRKs2ulnXftNjNG1EKAVj4GwWRIlkeUwldep/ZEsTYNHXKt4n6kLwnxO+rHZg=
X-Received: by 2002:a05:6512:10c9:: with SMTP id
 k9mr4282176lfg.40.1605735914461; 
 Wed, 18 Nov 2020 13:45:14 -0800 (PST)
MIME-Version: 1.0
References: <CA+BndfuMu5zGZPrQQXZB+tFTrqOzzZrbuN23G7Dzkv9fXJbeQg@HIDDEN>
 <xjfa6vebc4g.fsf@HIDDEN>
 <CA+BndfteJO4RhBXbgOKmWHNaNsUOk8LMSBRTbj4T9WWixUgvKQ@HIDDEN>
 <xjf5z62bawk.fsf@HIDDEN>
In-Reply-To: <xjf5z62bawk.fsf@HIDDEN>
From: Tad <tadfisher@HIDDEN>
Date: Wed, 18 Nov 2020 13:45:01 -0800
Message-ID: <CA+BndftK0Z_-QzTCfaPVXsf4nb2qWgN9VZGz++zrdbeHfYbreA@HIDDEN>
Subject: Re: 28.0.50; [feature/native-comp] Provide a mechanism to populate
 comp-eln-load-path from the environment
To: Andrea Corallo <akrl@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::130;
 envelope-from=tadfisher@HIDDEN; helo=mail-lf1-x130.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: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-gnu-emacs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

On Wed, Nov 18, 2020 at 1:41 PM Andrea Corallo <akrl@HIDDEN> wrote:

> Other question, shouldn't we use ":" as separator as in PATH?  I'm
> asking because I see in your snippet you don't so I was wondering if
> that's intentional.

That's not intentional, and thanks for catching that! Yes, ":" should
be used as the separator.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44726; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 21:41:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 16:41:40 2020
Received: from localhost ([127.0.0.1]:36713 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kfVCu-00041H-G9
	for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:41:40 -0500
Received: from lists.gnu.org ([209.51.188.17]:54766)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1kfVCs-000419-C4
 for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:41:39 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43750)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <akrl@HIDDEN>) id 1kfVCs-0008Uz-5F
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:41:38 -0500
Received: from mx.sdf.org ([205.166.94.24]:59850)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <akrl@HIDDEN>) id 1kfVCn-0003MP-Vi
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:41:37 -0500
Received: from mab (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 0AILfVFk014186;
 Wed, 18 Nov 2020 21:41:31 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Tad <tadfisher@HIDDEN>
Subject: Re: 28.0.50; [feature/native-comp] Provide a mechanism to populate
 comp-eln-load-path from the environment
References: <CA+BndfuMu5zGZPrQQXZB+tFTrqOzzZrbuN23G7Dzkv9fXJbeQg@HIDDEN>
 <xjfa6vebc4g.fsf@HIDDEN>
 <CA+BndfteJO4RhBXbgOKmWHNaNsUOk8LMSBRTbj4T9WWixUgvKQ@HIDDEN>
Date: Wed, 18 Nov 2020 21:41:31 +0000
In-Reply-To: <CA+BndfteJO4RhBXbgOKmWHNaNsUOk8LMSBRTbj4T9WWixUgvKQ@HIDDEN>
 (Tad's message of "Wed, 18 Nov 2020 13:20:37 -0800")
Message-ID: <xjf5z62bawk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@HIDDEN;
 helo=mx.sdf.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 10:30:26
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: bug-gnu-emacs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Tad <tadfisher@HIDDEN> writes:

> On Wed, Nov 18, 2020 at 1:15 PM Andrea Corallo <akrl@HIDDEN> wrote:
>
>> Wouldn't EMACS_NATIVE_LOAD_PATH be more idiomatic?
>
> I don't have a personal preference regarding the name. However, looking
> at [1], we don't generally use underscores in the variables we support.
> Some do have underscores, such as `DBUS_SESSION_BUS_ADDRESS' and `LC_*',
> but these are standardized outside of Emacs and used by other programs.
>
> [1] https://www.gnu.org/software/emacs/manual/html_node/emacs/General-Variables.html

Fair.

Other question, shouldn't we use ":" as separator as in PATH?  I'm
asking because I see in your snippet you don't so I was wondering if
that's intentional.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44726; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 21:21:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 16:21:03 2020
Received: from localhost ([127.0.0.1]:36667 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kfUsx-0003TV-Ha
	for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:21:03 -0500
Received: from lists.gnu.org ([209.51.188.17]:43996)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tadfisher@HIDDEN>) id 1kfUst-0003Sj-7I
 for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:21:01 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39472)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tadfisher@HIDDEN>)
 id 1kfUst-0002OA-1F
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:20:59 -0500
Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:33502)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tadfisher@HIDDEN>)
 id 1kfUsp-0000a1-Md
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:20:58 -0500
Received: by mail-lf1-x131.google.com with SMTP id l11so5143533lfg.0
 for <bug-gnu-emacs@HIDDEN>; Wed, 18 Nov 2020 13:20:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=MnCG9eqUIuuAFIjD1ylKcYlHCNh8Enwcn6usd6jp5D4=;
 b=W4YcDAIxrvbRTeg+xWan0tEsYMqF8C4c45+OG54tXixjTNfC/ecOGnT3aBkkPfQy45
 +tDQUzWk+eH+E7poSwj8mDuAsm1Hg8JrJbMbYiN0n369nDnTVaulAwEiIlTq9/cW09by
 SnRTdUatO9Hwaui8pE2+DljD8jyTlCILB+cMo0gFD3vwszdm2Xe57K5kbMj0KZuNlQhw
 /wov7u9/520Nfk/wUuyBROeG6jMrwTCzZtVeSjCpUii9Q8mgCFD5S0TrCvcqmb7APohc
 afwZHRAkCY7FNLsqMJZPuGUyDbtdIuYAkGJ2n3XZqfeda3jaenc3JH5H5uUnaBqL4721
 tJbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=MnCG9eqUIuuAFIjD1ylKcYlHCNh8Enwcn6usd6jp5D4=;
 b=JEqGvQ/CYpWDpRTje/l5Ih1us+19Q7n7HxXnBn4vcrU33T6dnFsu5CONy4BcUl8SaR
 BAsXtT0P9rvD5g806IpJw3Onh0eqpPH210btoLFqNF3+zp/XC6DOIQEEPXY9eGY2i315
 cx8CLK4qxaCAyTez1gbY6d1Wi/mH7ZBe93ELXim2KGpr1JaJsis2fflEbDT6dYsY5ec9
 cBcJ1vsrbruKryyDqIglt5njiY+g9hOJ+llHBOULU5xXZoP2Q2mI2AOfAjpnxidB7R2w
 ntRnnyfSGlqifsGxetyE43ux9SL6DkhIhuUno74QdZx2MI+jaVlziAvq8EkUTmJSowwz
 4eWw==
X-Gm-Message-State: AOAM5327X8cFPRZQCSmVfzAQ4hNjkCJKUdduEb+k2w4GsALEbnICOeic
 rKC8OthN/NXxnALMgtuKfpfIOs4jLHS3keHGoZQ=
X-Google-Smtp-Source: ABdhPJxaFUd3SXGiUoV+81TLqhHqXNmiAcFNIrpQMfCk8BL4+3rtRThhyte3jIc0y6vrhdRvd6hkDzDJ+MTB/1xUscQ=
X-Received: by 2002:ac2:4c39:: with SMTP id u25mr4817904lfq.27.1605734452574; 
 Wed, 18 Nov 2020 13:20:52 -0800 (PST)
MIME-Version: 1.0
References: <CA+BndfuMu5zGZPrQQXZB+tFTrqOzzZrbuN23G7Dzkv9fXJbeQg@HIDDEN>
 <xjfa6vebc4g.fsf@HIDDEN>
In-Reply-To: <xjfa6vebc4g.fsf@HIDDEN>
From: Tad <tadfisher@HIDDEN>
Date: Wed, 18 Nov 2020 13:20:37 -0800
Message-ID: <CA+BndfteJO4RhBXbgOKmWHNaNsUOk8LMSBRTbj4T9WWixUgvKQ@HIDDEN>
Subject: Re: 28.0.50; [feature/native-comp] Provide a mechanism to populate
 comp-eln-load-path from the environment
To: Andrea Corallo <akrl@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::131;
 envelope-from=tadfisher@HIDDEN; helo=mail-lf1-x131.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: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-gnu-emacs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

On Wed, Nov 18, 2020 at 1:15 PM Andrea Corallo <akrl@HIDDEN> wrote:

> Wouldn't EMACS_NATIVE_LOAD_PATH be more idiomatic?

I don't have a personal preference regarding the name. However, looking
at [1], we don't generally use underscores in the variables we support.
Some do have underscores, such as `DBUS_SESSION_BUS_ADDRESS' and `LC_*',
but these are standardized outside of Emacs and used by other programs.

[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/General-Variables.html




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44726; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 21:15:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 16:15:22 2020
Received: from localhost ([127.0.0.1]:36662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kfUnR-0003Kq-QS
	for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:15:22 -0500
Received: from lists.gnu.org ([209.51.188.17]:42958)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1kfUnQ-0003Kh-7L
 for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:15:20 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38602)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <akrl@HIDDEN>) id 1kfUnQ-0001Tw-28
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:15:20 -0500
Received: from mx.sdf.org ([205.166.94.24]:64323)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <akrl@HIDDEN>) id 1kfUnL-0008P9-0m
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:15:18 -0500
Received: from mab (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 0AILFBV3012471;
 Wed, 18 Nov 2020 21:15:11 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Tad <tadfisher@HIDDEN>
Subject: Re: 28.0.50; [feature/native-comp] Provide a mechanism to populate
 comp-eln-load-path from the environment
References: <CA+BndfuMu5zGZPrQQXZB+tFTrqOzzZrbuN23G7Dzkv9fXJbeQg@HIDDEN>
Date: Wed, 18 Nov 2020 21:15:11 +0000
In-Reply-To: <CA+BndfuMu5zGZPrQQXZB+tFTrqOzzZrbuN23G7Dzkv9fXJbeQg@HIDDEN>
 (Tad's message of "Wed, 18 Nov 2020 13:05:29 -0800")
Message-ID: <xjfa6vebc4g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@HIDDEN;
 helo=mx.sdf.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 10:30:26
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: bug-gnu-emacs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Tad <tadfisher@HIDDEN> writes:

> Emacs populates `load-path' at startup from `$EMACSLOADPATH' in the
> process environment. It would be useful to have an
> `$EMACSNATIVELOADPATH' or equivalent to populate `comp-eln-load-path'.
>
> I have implemented a workaround in NixOS with some code in
> `site-start.el', but it would probably be useful in other contexts as
> well.
>
>     ;; Append paths set via `EMACSNATIVELOADPATH', an environment
>     ;; variable made up for this purpose.
>     (when-let ((path-env (getenv "EMACSNATIVELOADPATH"))
>                (paths-from-env (split-string path-env))
>                (paths (seq-filter (lambda (path) (not (string= "" path)))
>                                   paths-from-env)))
>       (setq comp-eln-load-path
>             (append paths comp-eln-load-path)))

Wouldn't EMACS_NATIVE_LOAD_PATH be more idiomatic?

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44726; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 21:05:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 16:05:54 2020
Received: from localhost ([127.0.0.1]:36647 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kfUeI-00035o-E5
	for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:05:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:41226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tadfisher@HIDDEN>) id 1kfUeG-00035g-ET
 for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 16:05:52 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:36916)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tadfisher@HIDDEN>)
 id 1kfUeG-0008RA-9m
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:05:52 -0500
Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:33859)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tadfisher@HIDDEN>)
 id 1kfUe9-0007BR-Tf
 for bug-gnu-emacs@HIDDEN; Wed, 18 Nov 2020 16:05:51 -0500
Received: by mail-lf1-x12b.google.com with SMTP id e139so5073914lfd.1
 for <bug-gnu-emacs@HIDDEN>; Wed, 18 Nov 2020 13:05:42 -0800 (PST)
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=WxNWp2XSr20a1yRU/ecupcpk6WLHidzUCMNNKvQcuMY=;
 b=gP+GMZr/kXJ3EM7gnvDACFVtNcexC5Uqwvo27HoGm/ajV6TegAqy8ENIBAvSIuqQil
 9av1f7ScGMo8l2FmGs/8s8VUgZTtH6qqr25EivAh3UUMCjnRI+MBR+C7Qa3Zwbjv2krY
 jngrVdIkHbRd1f+Q85Ev+CXWqAG2rXh8iLUg51kGFS78rZmpHH7YnSpXvZkn1e/9MtuC
 PifGdsLce+wcVlUrDtGotg74D7pvpGtFMw8S9opTv4sNh5SAjlbj0cKD75zE9xqggJm6
 X2vaDtNf4PJpsVzpuKDsY7qTyj78Y9WDGKQPQFUdC0UsE6KhMt9PxL+REg3wpoITgag8
 4STQ==
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=WxNWp2XSr20a1yRU/ecupcpk6WLHidzUCMNNKvQcuMY=;
 b=Qg4v9vVgQFCpvQyUHI15ZDqmVp+5agIpH5ZBbxsbmLMBBcNBg9pv/E6GKAcpfvnK5q
 ArC9fRdFRouYXcJpFWr+XEPY76UU681LYVIbezTLhUMfUuSKHFfv68FzZWIIdeF+ST4V
 JwnX66eEngZl11X5BJkxw1OA9Kju5EVaMilztqtmB42V8Eiys3GmwQEeahTxQ9p30rb6
 sV04bNSya9+59IkFieKjEPcga5YHT+ECE7CQZ4p47lbwWzfFR2x9upvB2sKZcxv4WoYr
 f1IkxPPHijkWs03a7klupJn1QwxhzpZ7osJYNUoVl5DoPueNxQEcuka71tjxqVjTsfUg
 u50w==
X-Gm-Message-State: AOAM530tdsm/4mTwqMPReix542JKHBR1+caIh1O2Cfe8S8Mi6tUbkWaG
 hBwDLZVws4ns0aHwxvKKyqVC4t3hmxuKOFRysxSIn+HB8pXRyg==
X-Google-Smtp-Source: ABdhPJy7SYwpu4i6bJvVfUplkxqaNXzLN/khU6umn+/VXfBxoiQAG4vWfERIUDtoI/3QCYzB/Fp+FSkw1vOTxXq8MQ8=
X-Received: by 2002:ac2:4c39:: with SMTP id u25mr4793048lfq.27.1605733540564; 
 Wed, 18 Nov 2020 13:05:40 -0800 (PST)
MIME-Version: 1.0
From: Tad <tadfisher@HIDDEN>
Date: Wed, 18 Nov 2020 13:05:29 -0800
Message-ID: <CA+BndfuMu5zGZPrQQXZB+tFTrqOzzZrbuN23G7Dzkv9fXJbeQg@HIDDEN>
Subject: 28.0.50; [feature/native-comp] Provide a mechanism to populate
 comp-eln-load-path from the environment
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::12b;
 envelope-from=tadfisher@HIDDEN; helo=mail-lf1-x12b.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.2 (/)
X-Debbugs-Envelope-To: submit
Cc: Andrea Corallo <akrl@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Emacs populates `load-path' at startup from `$EMACSLOADPATH' in the
process environment. It would be useful to have an
`$EMACSNATIVELOADPATH' or equivalent to populate `comp-eln-load-path'.

I have implemented a workaround in NixOS with some code in
`site-start.el', but it would probably be useful in other contexts as
well.

    ;; Append paths set via `EMACSNATIVELOADPATH', an environment
    ;; variable made up for this purpose.
    (when-let ((path-env (getenv "EMACSNATIVELOADPATH"))
               (paths-from-env (split-string path-env))
               (paths (seq-filter (lambda (path) (not (string= "" path)))
                                  paths-from-env)))
      (setq comp-eln-load-path
            (append paths comp-eln-load-path)))

Thanks,
Tad




Acknowledgement sent to Tad <tadfisher@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#44726; 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: Wed, 18 Nov 2020 22:00:02 UTC

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