GNU bug report logs - #52178
29.0.50; process-environment not used in async-shell-command

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: Damien Merenne <dam@HIDDEN>; dated Mon, 29 Nov 2021 12:34:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 52178) by debbugs.gnu.org; 16 Jan 2022 10:52:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 16 05:52:15 2022
Received: from localhost ([127.0.0.1]:42573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n938x-0005KR-Ik
	for submit <at> debbugs.gnu.org; Sun, 16 Jan 2022 05:52:15 -0500
Received: from mail-yb1-f178.google.com ([209.85.219.178]:44005)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmerenne@HIDDEN>) id 1n938w-0005KE-Pv
 for 52178 <at> debbugs.gnu.org; Sun, 16 Jan 2022 05:52:15 -0500
Received: by mail-yb1-f178.google.com with SMTP id g81so37136084ybg.10
 for <52178 <at> debbugs.gnu.org>; Sun, 16 Jan 2022 02:52:14 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=dGtGPfUHrGUj+OkTCx9cLCw0FqWdbV/0gt1B+jeklGE=;
 b=6HowlF+vvPHZPZBpKC5GBETZsVhUG+1IA4lc8URHLahke80UB91r22uoUBUB+oIx85
 ZuFFrsXFX4/YUb9qQSLB6y7lreEwk9pTDbznVbTDxuscsgAeiGk7PJ1sV0El+SDh3wo5
 1BLsi1JzXTymhAdSfoANAfxM0kbiSQvLcH4av2ASaf/bpjeAye2yFIOLyZx2GmsMVMBl
 EnRU9Z/NGA/TbKXwsH2duPTIH6RlANq2HLKB4UjNt5++vuVPiq8nRO8U0XYN2u1sHiVf
 QZXQQjWPGAWMERkxhfSk0Ia+HVP1ZlrP3XwJ4Pc9o7wnAeJcV2WTjUxA4/nwFUnsC8DO
 JRRA==
X-Gm-Message-State: AOAM531UZn41RmCsV4tFatu6NdSJQB4aGRxatgjlVoHaFg/dZ9fLvL7O
 2SZ8xAA1//izpZI9gQMjkuvKSmZAnaYxjI/cVFg=
X-Google-Smtp-Source: ABdhPJw/TUD0OyhqXRekTNeV0COJbcdVGKZaZiTKaGkTDQkX9Bcw4hIxiOhZg4kPwstXZA4+513zpeM2IBJ+KdCa6QQ=
X-Received: by 2002:a05:6902:1145:: with SMTP id
 p5mr7492639ybu.332.1642330329312; 
 Sun, 16 Jan 2022 02:52:09 -0800 (PST)
MIME-Version: 1.0
References: <8735nf3zvf.fsf@HIDDEN> <87zgpnxc17.fsf@HIDDEN>
 <CAAgrLvjrGGm9b4JVPzHqezwJWUSHUz9x8AoSE=tJ-hU11bmVBg@HIDDEN>
 <87zgnxtae0.fsf@HIDDEN> <87bl0c65ld.fsf@HIDDEN>
 <CAAgrLvhbNBQoJC6f9pH_bFkJTOGV7A881kB-R7uFv3vMPUZU_Q@HIDDEN>
In-Reply-To: <CAAgrLvhbNBQoJC6f9pH_bFkJTOGV7A881kB-R7uFv3vMPUZU_Q@HIDDEN>
From: Damien Merenne <dam@HIDDEN>
Date: Sun, 16 Jan 2022 10:51:58 +0000
Message-ID: <CAAgrLvhiD1F5riicWVZ+s_+qNJeoPSRss6da=44iCOZYC14qNQ@HIDDEN>
Subject: Re: bug#52178: 29.0.50;
 process-environment not used in async-shell-command
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 52178
Cc: 52178 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@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: -0.5 (/)

But still, the envrc use case for making process-environment buffer
local for some buffer is still valid and I think the original problem
should be fixed.
--=20
Damien MERENNE   <dam@HIDDEN>

Le dim. 16 janv. 2022 =C3=A0 10:49, Damien Merenne <dam@HIDDEN> a =C3=
=A9crit :
>
> Thanks for the reminder and the pointer to the watcher! I finally
> found that it happens due to the `envrc` package.
> That package is meant to set `process-environment` buffer local for
> some buffers. Somehow it sets
> process-environment globally local but only when emacs is started as a
> daemon from the systemd unit. Running
> it normally or with --fg-daemon from a terminal does not set the
> variable globally local. I'll check with the envrc
> maintainer why that would be but there is still something strange
> going on, I would not expect Emacs behaviour to
>  change when started in systemd.
>
> For people stumbling upon this, here is the code I used to pinpoint the p=
roblem:
> ```
> (defvar pltraces (list (cons "early-init.el" (local-variable-p
> 'process-environment))))
> (add-hook 'after-load-functions
>           (lambda (fn)
>             (setq pltraces (cons (cons fn (local-variable-p
> 'process-environment)) pltraces))))
> (add-variable-watcher 'process-environment
>                       (lambda (symbol newval operation where)
>                         (when where
>                           (setq pltraces (cons (cons (buffer-name
> where) (local-variable-p 'process-environment)) pltraces)))))
> ```
> It records the place where the variable is set and its local status in
> the `pltraces` variable.
>
> --
> Damien MERENNE   <dam@HIDDEN>
>
> Le sam. 15 janv. 2022 =C3=A0 21:39, Michael Heerdegen
> <michael_heerdegen@HIDDEN> a =C3=A9crit :
> >
> > Lars Ingebrigtsen <larsi@HIDDEN> writes:
> >
> > > Damien Merenne <dam@HIDDEN> writes:
> > >
> > > > I'll try to find what's triggering it but its not obvious.
> > >
> > > Did you make any progress here?
> >
> > Damien, maybe using a variable watcher:
> >
> >   (info "(elisp) Watching Variables")
> >
> > could help to understand what's going on?  They are able to notice
> > changes in buffer-localness.
> >
> > Michael.




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

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


Received: (at 52178) by debbugs.gnu.org; 16 Jan 2022 10:49:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 16 05:49:37 2022
Received: from localhost ([127.0.0.1]:42562 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n936P-0005G0-8W
	for submit <at> debbugs.gnu.org; Sun, 16 Jan 2022 05:49:37 -0500
Received: from mail-yb1-f175.google.com ([209.85.219.175]:35777)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmerenne@HIDDEN>) id 1n936N-0005Fl-LH
 for 52178 <at> debbugs.gnu.org; Sun, 16 Jan 2022 05:49:36 -0500
Received: by mail-yb1-f175.google.com with SMTP id c10so37220593ybb.2
 for <52178 <at> debbugs.gnu.org>; Sun, 16 Jan 2022 02:49:35 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=ODYcJ4VtXAfF6c2H5kUESUN83Idsv4QxF0DvCi1zsNU=;
 b=1DKXXMQ+7IMabJRRM9zibFSXbYOh8l83Lo2tMAplhZW+fFM9po0ZbQzr/L9MMrJ7q2
 Qk+hfdHsoBGLPghKlJ5qHS2hBbJ4CKO3kqU64/0KVG985jx4MvrdDRymNx0XMWvj6dEM
 NWUoyPcdEoX1kXvGDvmK8DXvbSmdvHPFbRHlaAiDneptltYrEj+rypWhQntU125XVgO9
 X30KUaUTgB9i2MUV4FRtYkHVbDoqREyHSrs+p/8iz9h0iRmvAxQvItApUp55mlwldKq8
 Nxbr9evU4hIq9E9HpJDy7T7sn6L3nLhWjSbX1DbqgFgYIiT0AG/NYPSSomD2cLYgH7WZ
 LT2Q==
X-Gm-Message-State: AOAM531wYeYN95w6OEyj0wfylEsSN553ZxDTXypoE2sxgEBsTo8wQDfx
 hrGrQRuXmqVIxXzDMZZngHo7nKNbYK00+cNHTUw=
X-Google-Smtp-Source: ABdhPJyIktH+HrHOGrrLqbIPo/7MIOmHZG+l0rbswMEHoO0e1qPWdVbuHMWgmFn8zNWtSuvt52rVu2jREjKuRBzEgXM=
X-Received: by 2002:a25:3f46:: with SMTP id m67mr20165399yba.656.1642330170012; 
 Sun, 16 Jan 2022 02:49:30 -0800 (PST)
MIME-Version: 1.0
References: <8735nf3zvf.fsf@HIDDEN> <87zgpnxc17.fsf@HIDDEN>
 <CAAgrLvjrGGm9b4JVPzHqezwJWUSHUz9x8AoSE=tJ-hU11bmVBg@HIDDEN>
 <87zgnxtae0.fsf@HIDDEN> <87bl0c65ld.fsf@HIDDEN>
In-Reply-To: <87bl0c65ld.fsf@HIDDEN>
From: Damien Merenne <dam@HIDDEN>
Date: Sun, 16 Jan 2022 10:49:18 +0000
Message-ID: <CAAgrLvhbNBQoJC6f9pH_bFkJTOGV7A881kB-R7uFv3vMPUZU_Q@HIDDEN>
Subject: Re: bug#52178: 29.0.50;
 process-environment not used in async-shell-command
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 52178
Cc: 52178 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@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: -0.5 (/)

Thanks for the reminder and the pointer to the watcher! I finally
found that it happens due to the `envrc` package.
That package is meant to set `process-environment` buffer local for
some buffers. Somehow it sets
process-environment globally local but only when emacs is started as a
daemon from the systemd unit. Running
it normally or with --fg-daemon from a terminal does not set the
variable globally local. I'll check with the envrc
maintainer why that would be but there is still something strange
going on, I would not expect Emacs behaviour to
 change when started in systemd.

For people stumbling upon this, here is the code I used to pinpoint the pro=
blem:
```
(defvar pltraces (list (cons "early-init.el" (local-variable-p
'process-environment))))
(add-hook 'after-load-functions
          (lambda (fn)
            (setq pltraces (cons (cons fn (local-variable-p
'process-environment)) pltraces))))
(add-variable-watcher 'process-environment
                      (lambda (symbol newval operation where)
                        (when where
                          (setq pltraces (cons (cons (buffer-name
where) (local-variable-p 'process-environment)) pltraces)))))
```
It records the place where the variable is set and its local status in
the `pltraces` variable.

--=20
Damien MERENNE   <dam@HIDDEN>

Le sam. 15 janv. 2022 =C3=A0 21:39, Michael Heerdegen
<michael_heerdegen@HIDDEN> a =C3=A9crit :
>
> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>
> > Damien Merenne <dam@HIDDEN> writes:
> >
> > > I'll try to find what's triggering it but its not obvious.
> >
> > Did you make any progress here?
>
> Damien, maybe using a variable watcher:
>
>   (info "(elisp) Watching Variables")
>
> could help to understand what's going on?  They are able to notice
> changes in buffer-localness.
>
> Michael.




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

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


Received: (at 52178) by debbugs.gnu.org; 15 Jan 2022 21:40:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 15 16:40:10 2022
Received: from localhost ([127.0.0.1]:42097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8qmP-0005Cq-WF
	for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 16:40:10 -0500
Received: from mout.web.de ([212.227.15.4]:57435)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1n8qmM-0005CB-DH
 for 52178 <at> debbugs.gnu.org; Sat, 15 Jan 2022 16:40:08 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1642282800;
 bh=l/iQJeGKqETS93zdS5G7XdGh+ueZ6X3dZu3RIS9Lkic=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=P4ExjT1W+9kEtlbJUDB1aheHvAe122/Tg3dgneQfSG+mFQecDQnyqWo45WO7cRvIQ
 kn7madEcEXUjdj28BjOVNWtBUqgwNGclefRZkoJGlZDc1uy8qsttUAzCjZQLtoOmUx
 zyLiiRg1b6fLsM1ZWTjaoVq5MyN0jjOCz/xWdOG0=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.66.201.186]) by smtp.web.de (mrweb005
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M6pUQ-1nFy3F3fN0-008c2z; Sat, 15
 Jan 2022 22:39:59 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#52178: 29.0.50; process-environment not used in
 async-shell-command
References: <8735nf3zvf.fsf@HIDDEN> <87zgpnxc17.fsf@HIDDEN>
 <CAAgrLvjrGGm9b4JVPzHqezwJWUSHUz9x8AoSE=tJ-hU11bmVBg@HIDDEN>
 <87zgnxtae0.fsf@HIDDEN>
Date: Sat, 15 Jan 2022 22:39:58 +0100
In-Reply-To: <87zgnxtae0.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sat,
 15 Jan 2022 14:07:51 +0100")
Message-ID: <87bl0c65ld.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:rw8lUlnIVUf3Q0DagJ5NvCxlm2tonsF/RQC8nk5qu+N4WZZ2Shl
 wDNIqKWsrHgqbXfEao1xDewi0yIaXsaKNGSzcSz3ofdrQjmtz2Bwo2WJEi/CZB6rVunZZIN
 xSy6h5WuqhmEdR627n7HTKhbFTxoagPdqIR/gPcYOvppb6xw2Sffyx1MTtA9qVeB9dLH5fu
 04oR5CFRxmfBxM7Fot2fg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:ZtTETCPQg04=:ut3B+lJbVMwse22CFNcJAh
 WYsaMKQ1u18dEa8xK45s7yirZ/rNZp3kvm7GEzKafLcSWK1WgrFIbcOUYEHnpiQfN694I4QsB
 YrKiy7mlTCzm2uQ9FVg8BKOXTIJ4xaXf18PvnPf9NakSei70pAHgMeVinfJrkdM3+hiOZWaB7
 ZTEnnZ0jtofHhD8h/fvmRz0Mndl1tAADXhuET0TgTPv+lly3WwD05a0E0tJsXwZsYeAjCoqfE
 O1nN2aU0bOyAQDq9063H6hczQhwEtziRKY8jMpGf7HWh4rTf/QjVbEGgpvLHIiNnzUq3RXEkh
 f/BsqWgNeD9c8zQJ9095IjqlcR2/RF/Z4LmHc0ZOr4bFu2EyFQkqR8P8hm0aZM8csqqMqQTay
 CB9lCVXHFIxxIP3oVD923GR5eKUHZpaW6Kq3y0ctucBkvpCY2O4nz2yIcBso29eY/DwACnXyG
 YSjNv7Lx7fq6m3bbo40e2t3XaeOkQWgGSHPnz0cPUv2D8kiZsH/5njsJWlpPu2V4hj7LNfYFM
 IDo+ZYKoktab0wrGObDy75ShwHjNsRCNSuA4in5IKa8rnfS5jIPksm1Yv5//I6r1hwCVuVTdq
 rlO9exKdjRsds2SpeVHAANUUeCim1y/xBFwlq6NBmlDnMchyDNm/PBLtLSNOrW2ZZRP/uf3UB
 qNKOvb+RBOj/kzuh+w60oQgdkh3oNF9QGLs24qorV/lzycXLhrFl4Z6SEa2swRqobIrK+o1Ee
 jhrjlA5VZZxx74SiSA8oM+LraXvcsKwxkNp6VyIqf+Ve0Nhu4t8UErIppzAJjWZcs++F7eg9I
 kXNgici25hSK2JsBUIjEB9c7jheaOcjrlVke3Mw5SJcgbgDnUbgOEFq5bf4moXu5hN/inFfB0
 2BPraMaxMgxE1+SV0B/KX9TsmsflmGuMflOjLwkCOAaY23IfmdQU0Xt0sWq1dBzmR6huh1ApN
 fusf+k0HyfzabWYreO+kTj6tmMlxGyE5JFFZB0zxCXXvXb5Thdpq8cCiDEJVSV9jKGSsfvUs2
 Ojs66azgJOj3ImbEjcOKLzdRHoyoVtwo42yCUmo5G4CujCTTX2kIr545wCvbBGWG0Vbu/DGPc
 ccrPyepwisGW18=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 52178
Cc: 52178 <at> debbugs.gnu.org, Damien Merenne <dam@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: -1.7 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Damien Merenne <dam@HIDDEN> writes:
>
> > I'll try to find what's triggering it but its not obvious.
>
> Did you make any progress here?

Damien, maybe using a variable watcher:

  (info "(elisp) Watching Variables")

could help to understand what's going on?  They are able to notice
changes in buffer-localness.

Michael.




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

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


Received: (at 52178) by debbugs.gnu.org; 15 Jan 2022 13:08:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 15 08:08:08 2022
Received: from localhost ([127.0.0.1]:39376 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8imu-0004YL-Hr
	for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 08:08:08 -0500
Received: from quimby.gnus.org ([95.216.78.240]:49170)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1n8imq-0004XK-UN
 for 52178 <at> debbugs.gnu.org; Sat, 15 Jan 2022 08:08:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=LEj06PUVnz/New1lFFq55vEzJbEalE9MJcbivEG5c/w=; b=vUqrEgHFltnqpQFMB1nFOtcAui
 O2G1ap+eAEnQfiFODf5md2wy5wvXFgmWpaNeZi63gk83325glrkuGB0N3y7IzfvbJOCfiFtvm4L2I
 yYDUItplXBKZji+am9WusMTy9WARL97R1oqTRX0yHfGCL24RLIS13HNJJZmIwTJeTV8A=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1n8imi-0004Tf-HR; Sat, 15 Jan 2022 14:07:59 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Damien Merenne <dam@HIDDEN>
Subject: Re: bug#52178: 29.0.50; process-environment not used in
 async-shell-command
References: <8735nf3zvf.fsf@HIDDEN> <87zgpnxc17.fsf@HIDDEN>
 <CAAgrLvjrGGm9b4JVPzHqezwJWUSHUz9x8AoSE=tJ-hU11bmVBg@HIDDEN>
X-Now-Playing: Arto Lindsay's _Prize_: "O Nome Dela"
Date: Sat, 15 Jan 2022 14:07:51 +0100
In-Reply-To: <CAAgrLvjrGGm9b4JVPzHqezwJWUSHUz9x8AoSE=tJ-hU11bmVBg@HIDDEN>
 (Damien Merenne's message of "Mon, 29 Nov 2021 20:34:10 +0000")
Message-ID: <87zgnxtae0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Damien Merenne <dam@HIDDEN> writes: > I'll try to find
 what's triggering it but its not obvious. Did you make any progress here?
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52178
Cc: 52178 <at> debbugs.gnu.org
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: -3.3 (---)

Damien Merenne <dam@HIDDEN> writes:

> I'll try to find what's triggering it but its not obvious.

Did you make any progress here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 52178) by debbugs.gnu.org; 29 Nov 2021 20:34:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 29 15:34:30 2021
Received: from localhost ([127.0.0.1]:39579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrnM6-0000vF-0S
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 15:34:30 -0500
Received: from mail-pj1-f42.google.com ([209.85.216.42]:52942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmerenne@HIDDEN>) id 1mrnM3-0000uy-5t
 for 52178 <at> debbugs.gnu.org; Mon, 29 Nov 2021 15:34:28 -0500
Received: by mail-pj1-f42.google.com with SMTP id h24so13618022pjq.2
 for <52178 <at> debbugs.gnu.org>; Mon, 29 Nov 2021 12:34:27 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=ESs4zGebyGLEjSFDYZyOVRkbKYmrs4cSOkITRxiW0iI=;
 b=Y7Q2Aws9yFNm2eYoNWIkiY9lxC3Co2cK8Arqnv8vAG/eujnssgOzwWJcAZo4W69Oh8
 SaE3PHF8+cSjtqmYjEuKhSl2pgHHiiJQt5mgJhbsvCOWU02OXDAhEHcEHEr0nhIgzmbc
 I+QqN1BTDPTb01SZJlFCK1iY9mTsyrhT+Dc/LWPXeHfJjsP/eMr/wKbDv0JCZYq0sPZk
 pEtJx0TiVxeEJh6hqRZxzBTM1wqz+S9lcbZIxrjXb0/HAPWFYLHNfI46AOSyD/R16KZS
 0yfxEfK4elAk+kUNW/CxCa2E0F9LKL/gLx3OBBIUwuaYvtb02ixtA4jdC0E+v1Ubbcer
 ZQuw==
X-Gm-Message-State: AOAM531IPYP/hK7pcDuJQPgwGlvkrEH7bhewB7ZzR0eJQJfg/m0VbSby
 bqBxBWrAT5exK8bC5h90PDLeBHdMqwiQoSHLXlgiH/bSJZE=
X-Google-Smtp-Source: ABdhPJywF8AYSa+yWNaKKZkGWgtc7+FvjUJQAlizAwhdJO9U2ZkBovPza7xIT7lVMD/oMSSA8MsyPc82IZf+rKwC6DU=
X-Received: by 2002:a17:90b:4ace:: with SMTP id
 mh14mr464659pjb.164.1638218061230; 
 Mon, 29 Nov 2021 12:34:21 -0800 (PST)
MIME-Version: 1.0
References: <8735nf3zvf.fsf@HIDDEN> <87zgpnxc17.fsf@HIDDEN>
In-Reply-To: <87zgpnxc17.fsf@HIDDEN>
From: Damien Merenne <dam@HIDDEN>
Date: Mon, 29 Nov 2021 20:34:10 +0000
Message-ID: <CAAgrLvjrGGm9b4JVPzHqezwJWUSHUz9x8AoSE=tJ-hU11bmVBg@HIDDEN>
Subject: Re: bug#52178: 29.0.50;
 process-environment not used in async-shell-command
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 52178
Cc: 52178 <at> debbugs.gnu.org
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: -0.5 (/)

Le lun. 29 nov. 2021 =C3=A0 14:38, Lars Ingebrigtsen <larsi@HIDDEN> a =C3=
=A9crit :
> Do you have a complete case to reproduce the
> problem, starting from "emacs -Q"?
So indeed I thought I was able to reprodce it in `emacs -Q` but it was
due to the bug in my snippet.
Now I can't reproduce it anyore with `emacs -Q`.

The `process-environment` seems to be switch to a buffer-local
variable due to some autoload
because right after initialization, its still a normal variable. At
some point I do something and
whoops, it is converted to a buffer local...

I'll try to find what's triggering it but its not obvious.

--=20
Damien Merenne <dam@HIDDEN>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52178; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 52178) by debbugs.gnu.org; 29 Nov 2021 14:38:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 29 09:38:27 2021
Received: from localhost ([127.0.0.1]:37569 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrhnW-0000L8-MX
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 09:38:26 -0500
Received: from quimby.gnus.org ([95.216.78.240]:58374)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mrhnU-0000Kr-BG
 for 52178 <at> debbugs.gnu.org; Mon, 29 Nov 2021 09:38:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=7i6cTxTbFrZnPLKJZstCdP5b/D4UDGw4Inv07ye54oM=; b=jqqWBrtoe2Qlv1xbAK76fTTSX8
 Fi4jA38iiCLP6IvuQAA6FcKu+YcQwU7Adrf9wm8VVSwGUFrr0KpHW+xML5IM08sauTJcwm9VKnkmZ
 l8VEtHgS5zfpAaNgtf61MN4gq0hWr+bJiHCu9FjPWi7e/5y9bq/4QlcMTP0py8cL6VDs=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mrhnJ-0005BA-BN; Mon, 29 Nov 2021 15:38:16 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Damien Merenne <dam@HIDDEN>
Subject: Re: bug#52178: 29.0.50; process-environment not used in
 async-shell-command
References: <8735nf3zvf.fsf@HIDDEN>
X-Now-Playing: Gazing at Taurus's _The Tunnel and the Clearing_: "Night Sky
 Rumba"
Date: Mon, 29 Nov 2021 15:38:12 +0100
In-Reply-To: <8735nf3zvf.fsf@HIDDEN> (Damien Merenne's message of
 "Mon, 29 Nov 2021 13:33:40 +0100")
Message-ID: <87zgpnxc17.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Damien Merenne <dam@HIDDEN> writes: > When running an
 async process, the value of `process-environment' is > lost, in 'emacs -Q'
 scratch buffer: > > (let ((process-environment "EDITOR=test")) >
 (shell-command "env &")) 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52178
Cc: 52178 <at> debbugs.gnu.org
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: -3.3 (---)

Damien Merenne <dam@HIDDEN> writes:

> When running an async process, the value of `process-environment' is
> lost, in 'emacs -Q' scratch buffer:
>
>     (let ((process-environment "EDITOR=test"))
>       (shell-command "env &"))

I think you mean

    (let ((process-environment '("EDITOR=test")))
      (shell-command "env &"))

> and the output is my normal environment, not the limited one. When
> removing the &, it works okay. I managed to pinpoint the problem to the
> call to `with-current-buffer' in simple.el:4229. As process-environment
> is buffer local, it is not passed in the process buffer.

process-environment is not buffer-local by default, though, so the test
case works fine normally.  Do you have a complete case to reproduce the
problem, starting from "emacs -Q"?

> This patch fixes it but I have no idea if this is the correct way to
> fix it:

The patch wasn't complete, so I've recreated it and included below for
reference.

It makes sense to me, but I'd like to know where this fixes anything
before applying.

diff --git a/lisp/simple.el b/lisp/simple.el
index 84928caa31..e38988f916 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4194,7 +4194,8 @@ shell-command
                               (or output-buffer shell-command-buffer-name-async)))
                      (bname (buffer-name buffer))
                      (proc (get-buffer-process buffer))
-                     (directory default-directory))
+                     (directory default-directory)
+                     (process-env process-environment))
 		;; Remove the ampersand.
 		(setq command (substring command 0 (match-beginning 0)))
 		;; Ask the user what to do with already running process.
@@ -4237,7 +4238,7 @@ shell-command
                                 (format "COLUMNS=%d"
                                         async-shell-command-width)))
                           (comint-term-environment)
-                          process-environment)))
+                          process-env)))
 		    (setq proc
 			  (start-process-shell-command "Shell" buffer command)))
 		  (setq mode-line-process '(":%s"))


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at submit) by debbugs.gnu.org; 29 Nov 2021 12:33:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 29 07:33:53 2021
Received: from localhost ([127.0.0.1]:37312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrfqy-00012b-7f
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 07:33:52 -0500
Received: from lists.gnu.org ([209.51.188.17]:41484)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dam@HIDDEN>) id 1mrfqw-00012S-B1
 for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 07:33:51 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52020)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dam@HIDDEN>) id 1mrfqw-0001jD-5E
 for bug-gnu-emacs@HIDDEN; Mon, 29 Nov 2021 07:33:50 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:53139)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dam@HIDDEN>) id 1mrfqt-0005ag-9o
 for bug-gnu-emacs@HIDDEN; Mon, 29 Nov 2021 07:33:49 -0500
Received: (Authenticated sender: dam@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id EC4371C000A
 for <bug-gnu-emacs@HIDDEN>; Mon, 29 Nov 2021 12:33:42 +0000 (UTC)
From: Damien Merenne <dam@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; process-environment not used in async-shell-command
Date: Mon, 29 Nov 2021 13:33:40 +0100
Message-ID: <8735nf3zvf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: softfail client-ip=217.70.183.197; envelope-from=dam@HIDDEN;
 helo=relay5-d.mail.gandi.net
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_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
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 (--)


When running an async process, the value of `process-environment' is
lost, in 'emacs -Q' scratch buffer:

    (let ((process-environment "EDITOR=test"))
      (shell-command "env &"))

and the output is my normal environment, not the limited one. When
removing the &, it works okay. I managed to pinpoint the problem to the
call to `with-current-buffer' in simple.el:4229. As process-environment
is buffer local, it is not passed in the process buffer. This patch
fixes it but I have no idea if this is the correct way to fix it:

@@ -4194,7 +4194,8 @@ shell-command
                               (or output-buffer shell-command-buffer-name-async)))
                      (bname (buffer-name buffer))
                      (proc (get-buffer-process buffer))
-                     (directory default-directory))
+                     (directory default-directory)
+                     (process-env process-environment))
 		;; Remove the ampersand.
 		(setq command (substring command 0 (match-beginning 0)))
 		;; Ask the user what to do with already running process.
@@ -4237,7 +4238,7 @@ shell-command
                                 (format "COLUMNS=%d"
                                         async-shell-command-width)))
                           (comint-term-environment)
-                          process-environment)))
+                          process-env)))
 		    (setq proc
 			  (start-process-shell-command "Shell" buffer command)))
 		  (setq mode-line-process '(":%s"))



In GNU Emacs 29.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.25, cairo version 1.16.0)
 of 2021-11-29 built on workstation.lan
Repository revision: f5498a608fe85b66a4068a5ccf88c9b3d3b88f98
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101001
System Description: Ubuntu 21.04

Configured using:
 'configure --with-native-compilation --with-mailutils --with-gnutls
 --with-modules --with-json --without-gpm --with-file-notification=yes
 --with-xwidgets --without-selinux --with-libsystemd --with-jpeg
 --with-tiff --with-gif --with-png --with-rsvg --with-imagemagick'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: fr_BE.UTF-8
  value of $LC_NUMERIC: fr_BE.UTF-8
  value of $LC_TIME: fr_BE.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: C/*lw

Minor modes in effect:
  bloom-global-minor-mode: t
  flyspell-mode: t
  bug-reference-prog-mode: t
  magit-wip-after-apply-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  tree-sitter-hl-mode: t
  global-tree-sitter-mode: t
  tree-sitter-mode: t
  dtrt-indent-global-mode: t
  dtrt-indent-mode: t
  pdf-occur-global-minor-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  subword-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  auto-revert-mode: t
  marginalia-mode: t
  selectrum-mode: t
  corfu-global-mode: t
  corfu-mode: t
  global-ligature-mode: t
  ligature-mode: t
  shell-dirtrack-mode: t
  envrc-global-mode: t
  envrc-mode: t
  bepo-global-mode: t
  which-key-mode: t
  savehist-mode: t
  global-so-long-mode: t
  override-global-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  auto-fill-function: yas--auto-fill
  indent-tabs-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
/home/dam/.emacs.d/straight/build/transient/transient hides /usr/local/share/emacs/29.0.50/lisp/transient
/home/dam/.emacs.d/straight/build/jsonrpc/jsonrpc hides /usr/local/share/emacs/29.0.50/lisp/jsonrpc
/home/dam/.emacs.d/straight/build/xref/xref hides /usr/local/share/emacs/29.0.50/lisp/progmodes/xref
/home/dam/.emacs.d/straight/build/flymake/flymake hides /usr/local/share/emacs/29.0.50/lisp/progmodes/flymake
/home/dam/.emacs.d/straight/build/project/project hides /usr/local/share/emacs/29.0.50/lisp/progmodes/project
/home/dam/.emacs.d/straight/build/let-alist/let-alist hides /usr/local/share/emacs/29.0.50/lisp/emacs-lisp/let-alist
/home/dam/.emacs.d/straight/build/eldoc/eldoc hides /usr/local/share/emacs/29.0.50/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsbug misearch multi-isearch pulse vc-mtn
vc-hg vc-bzr vc-src vc-sccs vc-cvs vc-rcs vc cl-print helpful trace
edebug info-look help-fns elisp-refs mule-util form-feed epa-file slack
slack-company slack-unread slack-websocket slack-thread-event
slack-room-event slack-star-event slack-reaction-event slack-reply-event
slack-typing slack-slash-commands slack-message-event slack-event
slack-dialog-edit-element-buffer slack-dialog-buffer slack-dialog
slack-stars-buffer slack-search-result-buffer
slack-thread-message-compose-buffer slack-file-list-buffer
slack-file-info-buffer slack-all-threads-buffer slack-message-buffer
slack-user-profile-buffer slack-pinned-items-buffer slack-pinned-item
slack-thread-message-buffer slack-room-info-buffer slack-room-buffer
slack-message-share-buffer slack-message-edit-buffer
slack-room-message-compose-buffer slack-message-compose-buffer
slack-message-attachment-preview-buffer slack-action slack-star
slack-reminder slack-search slack-message-reaction slack-message-editor
slack-message-sender slack-message-notification alert log4e
notifications dbus gntp slack-buffer slack-message-formatter
slack-thread slack-im slack-channel slack-group slack-conversations
slack-create-message slack-attachment slack-selectable slack-bot-message
slack-user-message slack-file slack-message slack-message-faces
slack-unescape slack-block slack-mrkdwn slack-usergroup slack-reaction
slack-modeline slack-room slack-counts slack-user slack-bot
slack-dnd-status slack-emoji slack-image slack-request slack-log lui
tracking shorten slack-team slack-team-ws slack-util websocket bindat
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs slack-autoloads
emojify-autoloads ht-autoloads alert-autoloads log4e-autoloads
gntp-autoloads circe-autoloads oauth2-autoloads websocket-autoloads
bloomlife bloom-mode eglot array jsonrpc ert ewoc debug backtrace
bloom-sensor gdb-mi bloom-tools bloom-magit bloom-magit-bitbucket
atlassian-bitbucket bloom-magit-build bloom-project bloom-test-runner
bloom-build bloom-cmake bloom-conan bloom-bbw bloom-target bloom-common
bloom-pkg bloomlife-autoloads sonar sonar-autoloads circleci
circleci-autoloads atlassian atlassian-jira atlassian-common request
atlassian-autoloads request-autoloads magit-async-section
magit-async-section-autoloads terraform-mode-autoloads
hcl-mode-autoloads cargo-autoloads racer smartparens-rust rust-utils
rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo
racer-autoloads pos-tip-autoloads rust-mode-autoloads rubocop
rubocop-autoloads robe etags fileloop generator inf-ruby robe-autoloads
inf-ruby-autoloads rbenv rbenv-autoloads ruby-mode smie
smartparens-python python tramp-sh smartparens-scala scala-mode
scala-mode-prettify-symbols scala-mode-imenu scala-mode-map
scala-mode-fontlock scala-mode-indent scala-mode-paragraph
scala-mode-syntax scala-mode-lib scala-mode-autoloads java-imports
pcache eieio-base java-imports-autoloads form-feed-autoloads
elisp-format flymake-proc flymake flyspell elisp-format-autoloads
test-runner-ert elfmt elfmt-autoloads cask-mode cask-mode-autoloads
docker docker-volume docker-network docker-image docker-container
docker-faces docker-compose docker-utils json-mode json-snatcher
smartparens-javascript js docker-core docker-autoloads
json-mode-autoloads json-snatcher-autoloads docker-tramp-autoloads
docker-tramp tramp-cache dockerfile-mode-autoloads djinni-mode
djinni-mode-autoloads cov-autoloads elquery-autoloads gud-lldb cmake-api
cmake-api-autoloads test-runner-catch2 test-runner-catch2-autoloads
eglot-clangd-autoloads eldoc-cmake eldoc-cmake-autoloads
cmake-font-lock-autoloads cmake-mode smartparens-rst rst
cmake-mode-autoloads android android-autoloads pbuf pbuf-autoloads gud
xref forge-list forge-commands forge-semi forge-bitbucket buck
forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github
forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml
bug-reference forge-post forge-repo forge forge-core forge-db
forge-autoloads yaml-autoloads closql emacsql-sqlite emacsql
emacsql-compiler closql-autoloads emacsql-sqlite-autoloads
emacsql-autoloads ghub-graphql treepy gsexp ghub url-http url-gw nsm
url-auth ghub-autoloads treepy-autoloads git-timemachine vc-git
vc-dispatcher git-timemachine-autoloads magit-extras magit-bookmark
magit-submodule magit-obsolete magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff-mode git-commit log-edit message yank-media rmc rfc822
mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader pcvs-util add-log magit-core
magit-autorevert magit-margin magit-transient magit-process magit-mode
transient magit-git magit-section magit-utils magit-autoloads
magit-section-autoloads git-commit-autoloads transient-autoloads
tree-sitter-langs tree-sitter-langs-build tar-mode arc-mode archive-mode
tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn
tsc-dyn-get tsc-obsolete tree-sitter-langs-autoloads
tree-sitter-autoloads tsc-autoloads eglot-autoloads flymake-autoloads
project-autoloads xref-autoloads eldoc-autoloads jsonrpc-autoloads
dtrt-indent dtrt-indent-autoloads diff ispell reformatter
reformatter-autoloads test-runner project test-runner-autoloads
vterm-autoloads ag vc-svn find-dired ag-autoloads dired-collapse
dired-collapse-autoloads dired-rainbow dired-rainbow-autoloads
dired-narrow delsel dired-narrow-autoloads dired-ranger-autoloads
dired-subtree-autoloads dired-filter f s dired-hacks-utils dired-x
dired-filter-autoloads dired-hacks-utils-autoloads dired-aux
yaml-mode-autoloads plantuml-mode plantuml-mode-autoloads pdf-occur
ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter
semantic/wisent/comp semantic/wisent semantic/wisent/wisent
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc
imenu pdf-tools package pdf-view jka-compr pdf-cache pdf-info tq
pdf-util pdf-macs pdf-tools-autoloads let-alist-autoloads
tablist-autoloads xwwp eww xdg url-queue shr kinsoku svg dom mm-url gnus
nnheader gnus-util rmail rmail-loaddefs xwwp-autoloads xwidget
url-handlers image-mode exif browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap osx-browse-autoloads browse-url-dwim-autoloads
string-utils-autoloads smartparens-markdown markdown-mode noutline
outline markdown-mode-autoloads nov-autoloads esxml-autoloads
kv-autoloads yasnippet yasnippet-autoloads wgrep grep compile
wgrep-autoloads cap-words superword subword string-inflection
string-inflection-autoloads smartparens-config smartparens-text
smartparens-c smartparens-ruby smartparens dash smartparens-autoloads
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars
mmm-utils mmm-compat mmm-mode-autoloads iedit iedit-lib iedit-autoloads
autorevert filenotify marginalia marginalia-autoloads
embark-consult-autoloads consult-dash consult-selectrum consult bookmark
text-property-search consult-dash-autoloads consult-autoloads
embark-autoloads selectrum minibuf-eldef crm selectrum-autoloads
orderless orderless-autoloads corfu corfu-autoloads
ns-auto-titlebar-autoloads all-the-icons-dired-autoloads all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons all-the-icons-autoloads
ligature ligature-autoloads solarized-dark-high-contrast-theme
solarized-palettes solarized-theme solarized solarized-faces color
solarized-theme-autoloads use-theme use-theme-autoloads password-store
with-editor server password-store-autoloads with-editor-autoloads
auth-source-pass url-parse url-vars unicode-fonts
unicode-fonts-autoloads ucs-utils-autoloads font-utils-autoloads
persistent-soft-autoloads list-utils-autoloads cl pcache-autoloads
daemons daemons-autoloads smtpmail sendmail mail-utils tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete comint ring parse-time iso8601 time-date ls-lisp auth-source
eieio eieio-core eieio-loaddefs password-cache envrc inheritenv
ansi-color envrc-autoloads inheritenv-autoloads eshell esh-cmd esh-ext
esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util bepo
which-key advice which-key-autoloads time savehist recentf tree-widget
edmacro kmacro helpful-autoloads elisp-refs-autoloads f-autoloads
s-autoloads dash-autoloads exec-path-from-shell
exec-path-from-shell-autoloads so-long diminish diminish-autoloads
dash-docs use-package-dash-docs gnutls puny format-spec xml json map
dash-docs-autoloads async async-autoloads no-littering
no-littering-autoloads finder-inf use-package-ensure-system-package
system-packages use-package-ensure-system-package-autoloads
system-packages-autoloads use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
use-package-core use-package-autoloads bind-key-autoloads cus-edit pp
cus-load wid-edit straight-autoloads straight info autoload radix-tree
easy-mmode pcase checkdoc lisp-mnt mail-parse rfc2231 rfc2047 rfc2045
mm-util ietf-drums mail-prsvr dired dired-loaddefs thingatpt comp
comp-cstr warnings rx cl-seq cl-macs cl-extra help-mode seq gv subr-x
byte-opt cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl
tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget keymap hashtable-print-readable backquote threads
xwidget-internal dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit
x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 951887 739595)
 (symbols 48 65848 4)
 (strings 32 298876 339972)
 (string-bytes 1 10134341)
 (vectors 16 127606)
 (vector-slots 8 3430125 852341)
 (floats 8 1324 1784)
 (intervals 56 13228 1365)
 (buffers 992 35))




Acknowledgement sent to Damien Merenne <dam@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#52178; 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, 20 Jan 2022 09:45:01 UTC

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