GNU bug report logs - #56013
28.1; "gio open" and "xdg-open" fail silently under eshell

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: Jeff Kowalski <jeff.kowalski@HIDDEN>; dated Thu, 16 Jun 2022 06:27:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 56013) by debbugs.gnu.org; 23 Nov 2022 22:59:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 17:59:41 2022
Received: from localhost ([127.0.0.1]:56537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxyiT-0002dB-4n
	for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 17:59:41 -0500
Received: from mail-pf1-f182.google.com ([209.85.210.182]:38879)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1oxyiP-0002cu-LA
 for 56013 <at> debbugs.gnu.org; Wed, 23 Nov 2022 17:59:40 -0500
Received: by mail-pf1-f182.google.com with SMTP id w129so46381pfb.5
 for <56013 <at> debbugs.gnu.org>; Wed, 23 Nov 2022 14:59:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:mime-version:date:message-id:from:to:cc
 :subject:date:message-id:reply-to;
 bh=XzYXm/CnJc15gPhfOeYKfg8EkesWCuTF5aZMBzlNWLw=;
 b=Slx1bSFH8CCSXYeEJ/D3QXtx9cK/mxuK2kpm19ukchGYf7WuKF0I/3tTPaWavS8QeO
 vmOx3N9ajgAYWyvdsxeHMkGimeNO7HE59F/yZJbIeZuvQTspz7yH4HdlGxvipr/6EZPJ
 WwDlszuJbf/6ULeedYT0eCugCkZ/X5G9Xzs3RdumqKvPp2EUrWEETfPgwOLB/H7dlGzN
 8Gwa6Q36FuDpVMqj5eZ+ltLlYSaoEHfutWqeDmRSojGOmtRpObVPYkE3eVjcX0Nk3cDg
 b5K2X/vQeQ0m49Soq5xKhvuyQQoaasDw/qnDn+D+GLZ2XdzelYAPdYF0/ajQ7dvNuFrg
 G9nQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=XzYXm/CnJc15gPhfOeYKfg8EkesWCuTF5aZMBzlNWLw=;
 b=A89Prubcxqsq4mePzcxOl1jaWvh7XfXiL4uptV7T9LctEoa5D5a322DIfZo2kP0dgF
 KWpvw5ELgRKWD+pSWEA1Rp2vCVYl4898OcXo5zzmZRA9sUNOe8FlyNrRtEqMQfjXb3NO
 GeItCKZPGmjkXOdcq8g1FlAYmas0eHb+xrq2I3+es0quLF974yGpp/zVyUNc5aIQoCnF
 4BO7o1QkZ7ZB9kW3ISaUrWrzgHoXYC8wcEPZsx6QVTgzIRrimOIQIdY2oeZNSv6+vy+C
 cwPYgMaraAxhDOSeJvriKgC4g6xmWj+i5Adwm7ugKFsjCxjVPKONxy2KKZlvtUS2hfP2
 6nFw==
X-Gm-Message-State: ANoB5pnSBpQdxlym5cE524J0bgMTiGwEb+509bAqdxSAZKjLBvPO97rp
 Pmiy2TBUMobWKwz7VjLLbJs=
X-Google-Smtp-Source: AA0mqf62P8czgkTPGabECJhws8fJoEJm7vlx/PGBr2vKrQVIVucIHPnNMM+YM9h0XgB9igI05JqUqg==
X-Received: by 2002:a63:5263:0:b0:439:8dd3:c3c2 with SMTP id
 s35-20020a635263000000b004398dd3c3c2mr8956534pgl.481.1669244371592; 
 Wed, 23 Nov 2022 14:59:31 -0800 (PST)
Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com.
 [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id
 h10-20020a17090a470a00b0021870b2c7absm1904296pjg.42.2022.11.23.14.59.30
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 23 Nov 2022 14:59:30 -0800 (PST)
Message-ID: <18d536c3-13c7-f1cf-ab64-72ba7b8931dc@HIDDEN>
Date: Wed, 23 Nov 2022 14:59:30 -0800
MIME-Version: 1.0
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
Content-Language: en-US
To: Jeff Kowalski <jeff.kowalski@HIDDEN>
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN>
 <87ilozbivd.fsf@HIDDEN> <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
 <292942b6-4a7f-0002-2af4-210b32612ba1@HIDDEN>
 <CAG-eCj5OD_Hzv5A+ON9nuoE+Pwx2zdJrFBAQJu5iQkdNr5DMBg@HIDDEN>
 <381f9df9-4442-4580-17f5-6590f7326e3b@HIDDEN>
 <CAG-eCj5w_7ppJme8vYBY90wLOXQgaft1evrJGX4XAkNf7Rr9MA@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <CAG-eCj5w_7ppJme8vYBY90wLOXQgaft1evrJGX4XAkNf7Rr9MA@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 56013
Cc: 56013 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 Andreas Schwab <schwab@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.0 (-)

On 11/22/2022 1:00 PM, Jeff Kowalski wrote:
> Thanks for the response and suggestion.
>  From eshell,
>       λ xdg-open file.txt
> exits immediately, without opening file.txt, and
>       λ cat | xdg-open file.txt | cat
> shows the same behavior, but
>       λ setsid -w xdg-open file.txt
> opens the file as expected.

Is this with Emacs 28 or 29? In 29, `cat | xdg-open file.txt | cat` 
should work as expected (I hope).

If it doesn't, then the solution I had in mind (make `xdg-open` use a 
pipe for its IO) probably wouldn't work, leaving us back at square one 
for this bug...





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

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


Received: (at 56013) by debbugs.gnu.org; 23 Nov 2022 08:28:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 03:28:29 2022
Received: from localhost ([127.0.0.1]:53439 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxl7M-0007RC-Tn
	for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 03:28:29 -0500
Received: from mail-vs1-f48.google.com ([209.85.217.48]:39514)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jeff.kowalski@HIDDEN>) id 1oxaNt-0004dx-DY
 for 56013 <at> debbugs.gnu.org; Tue, 22 Nov 2022 16:00:50 -0500
Received: by mail-vs1-f48.google.com with SMTP id m4so15676547vsc.6
 for <56013 <at> debbugs.gnu.org>; Tue, 22 Nov 2022 13:00:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=O+SjeY6eKHleQgOAt5/4wAgk/6dY6y/JOVAHW1PaxwY=;
 b=SlZZgsvbTyo3PwKAQ8TxiareWOUcaShmOUirIfdwjEqu4DEXZQUIhE/+ffa6UR73UK
 7dXu3ZMZnjuXAQ06UtOhAgf6epH4mP1X3RebDUHROYXstV0VimA4xLSWhvFRQV9/i1WS
 FAfgsS7pz3ZmrssJGhN9rB3er74llk8Vqulh+lX/ix87pvdD5L8Sxj4jf6WvvWkYN2si
 jpVebjHAZxFBuIX5xqfJnDVJ0+j/znS/ihbVzmohxzO3Y5FB6OlwmLryH/BZWtC1Lbes
 5+lyU3yn6B99xuJcegugdaLuDjDCVpomCLvoq9rju/HVXGDGcRtvVW7GaiedpdWxEb5a
 r+Fg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=O+SjeY6eKHleQgOAt5/4wAgk/6dY6y/JOVAHW1PaxwY=;
 b=m3GC6uO8wC91xTOmI1x3J2KSWD45THPgvw0HCShZVWtrq25ROXv/QPW9c1uIPUFOXV
 vIdq78kfY9s4HZFdH1dv768fIqm3XicfsCtb7FLCzsPgbJHAwgKYyAzFq+jWlsyZgvmw
 xXHIRRYctbUDhwaD42GPf9l6hcbvn+zB2mwpBcSR4pS+T5MAFdRpGQSsuDdAncQDRKxK
 EehBaHYFiJpIDR3gph7HNUkUbrwFGaPiwC2VI42gOahTTUyydRlY4SvXMMxtkmHSfC86
 Lo6qN4/EnQYhEVS3QKIJ/Iyy4r7qcKEh1MPH7LSr10zIwGt3jRBofzo3ARMH+BwCfLJH
 fyDg==
X-Gm-Message-State: ANoB5pkhQ0TBHOaKwbSqEo7mIHpSXJIXFdCsH6aBvdyf0wldlZo3dKgx
 /ehotjJJtT6yft4O47oPjJ6/YrDynQfeqiFetXM=
X-Google-Smtp-Source: AA0mqf56d8O2S5eKeKooMwFfF+M5sVcv0QMk2iNG7e+Xe7yKuJndLv28VQG8hgMY81q0yYDRfVn4vpXO/5kqxmhzGSs=
X-Received: by 2002:a67:fd53:0:b0:3a6:eff1:94ca with SMTP id
 g19-20020a67fd53000000b003a6eff194camr3849563vsr.62.1669150843564; Tue, 22
 Nov 2022 13:00:43 -0800 (PST)
MIME-Version: 1.0
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN> <87ilozbivd.fsf@HIDDEN>
 <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
 <292942b6-4a7f-0002-2af4-210b32612ba1@HIDDEN>
 <CAG-eCj5OD_Hzv5A+ON9nuoE+Pwx2zdJrFBAQJu5iQkdNr5DMBg@HIDDEN>
 <381f9df9-4442-4580-17f5-6590f7326e3b@HIDDEN>
In-Reply-To: <381f9df9-4442-4580-17f5-6590f7326e3b@HIDDEN>
From: Jeff Kowalski <jeff.kowalski@HIDDEN>
Date: Tue, 22 Nov 2022 13:00:32 -0800
Message-ID: <CAG-eCj5w_7ppJme8vYBY90wLOXQgaft1evrJGX4XAkNf7Rr9MA@HIDDEN>
Subject: Re: bug#56013: 28.1;
 "gio open" and "xdg-open" fail silently under eshell
To: Jim Porter <jporterbugs@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000001b77e705ee1577cb"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 56013
X-Mailman-Approved-At: Wed, 23 Nov 2022 03:28:22 -0500
Cc: Andreas Schwab <schwab@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>,
 56013 <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: -1.0 (-)

--0000000000001b77e705ee1577cb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks for the response and suggestion.
From eshell,
     =CE=BB xdg-open file.txt
exits immediately, without opening file.txt, and
     =CE=BB cat | xdg-open file.txt | cat
shows the same behavior, but
     =CE=BB setsid -w xdg-open file.txt
opens the file as expected.
Hope this helps,
Jeff



On Tue, Nov 22, 2022 at 12:20 PM Jim Porter <jporterbugs@HIDDEN> wrote:

> On 11/20/2022 9:14 PM, Jeff Kowalski wrote:
> > While I cannot help to craft the solution (I'm limited by my knowledge
> > of internals here), I'm very happy to help test proposals.  It seemed
> > there was a hint of a solution developed in this thread.
>
> This is a hacky workaround, but if it works for you, it would help prove
> a strategy to fix this:
>
>    ~ $ cat | xdg-open file.txt | cat
>
> The above forces 'xdg-open' to be run with pipes for its stdin and
> stdout. I believe the issue is that when 'xdg-open' sees a PTY for
> stdin/stdout, it seems to assume that the PTY will live for a long time;
> however, in Eshell, it will close the PTY as soon as 'xdg-open' returns,
> which breaks things.
>
> A real fix would be to tell Eshell that certain programs, like xdg-open,
> should never use PTYs. (There used to be a variable called
> 'eshell-needs-pipe' that did something similar to this, but after
> changing how Eshell connects processes, it was no longer needed.)
>

--0000000000001b77e705ee1577cb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks for the response and suggestion.<div>From eshell,=
=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0=CE=BB xdg-open file.txt=C2=A0=C2=A0<b=
r></div><div>exits immediately, without opening file.txt, and</div><div>=C2=
=A0 =C2=A0 =C2=A0=CE=BB cat | xdg-open file.txt | cat<br></div><div>shows t=
he same behavior, but</div><div>=C2=A0 =C2=A0 =C2=A0=CE=BB setsid -w xdg-op=
en file.txt<br></div><div>opens the file as expected.</div><div>Hope this=
=C2=A0helps,</div><div>Jeff</div><div><br></div><div><br></div></div><br><d=
iv class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Nov =
22, 2022 at 12:20 PM Jim Porter &lt;<a href=3D"mailto:jporterbugs@HIDDEN=
">jporterbugs@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">On 11/20/2022 9:14 PM, Jeff Kowalski wrote:<br>
&gt; While I cannot help to craft the solution (I&#39;m limited by my knowl=
edge <br>
&gt; of internals here), I&#39;m very happy to help test proposals.=C2=A0 I=
t seemed <br>
&gt; there was a hint of a solution developed in this thread.<br>
<br>
This is a hacky workaround, but if it works for you, it would help prove <b=
r>
a strategy to fix this:<br>
<br>
=C2=A0 =C2=A0~ $ cat | xdg-open file.txt | cat<br>
<br>
The above forces &#39;xdg-open&#39; to be run with pipes for its stdin and =
<br>
stdout. I believe the issue is that when &#39;xdg-open&#39; sees a PTY for =
<br>
stdin/stdout, it seems to assume that the PTY will live for a long time; <b=
r>
however, in Eshell, it will close the PTY as soon as &#39;xdg-open&#39; ret=
urns, <br>
which breaks things.<br>
<br>
A real fix would be to tell Eshell that certain programs, like xdg-open, <b=
r>
should never use PTYs. (There used to be a variable called <br>
&#39;eshell-needs-pipe&#39; that did something similar to this, but after <=
br>
changing how Eshell connects processes, it was no longer needed.)<br>
</blockquote></div>

--0000000000001b77e705ee1577cb--




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

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


Received: (at 56013) by debbugs.gnu.org; 22 Nov 2022 20:20:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 22 15:20:08 2022
Received: from localhost ([127.0.0.1]:52625 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxZkW-0001Ji-GW
	for submit <at> debbugs.gnu.org; Tue, 22 Nov 2022 15:20:08 -0500
Received: from mail-pg1-f177.google.com ([209.85.215.177]:41565)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1oxZkU-0001J7-1H
 for 56013 <at> debbugs.gnu.org; Tue, 22 Nov 2022 15:20:07 -0500
Received: by mail-pg1-f177.google.com with SMTP id q71so14985817pgq.8
 for <56013 <at> debbugs.gnu.org>; Tue, 22 Nov 2022 12:20:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:mime-version:date:message-id:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Ytjl4SQW9VR1yF3UYr2bbQ6r/M3tEXJPBaXmpQoNHKU=;
 b=L9kjJCoNiJriJ2ssk/CBIu4OjkjKQ3ihzfP3WfUDVZ9w7TPj1biatpBR6l+2LaBVBj
 9ePpOFiwqSy2RJcuT+7NHv0dX+1MWY2tbQQEvGQE4nDQ5J9w0ZG0YsCWS+l3SuYEnLrC
 GOa2425Mo42/D5NfFKZxFHkG0c22jkBNX5Djp57gmR6MQea1fU+gbQe7up2WgMPWLrtd
 YA3WfBZfDPK3D/B0VUMWM9fA7QTx+w/U3e4PNy1xEou3Ovx+HUZNqRUvd7HQS+mMuHk/
 cZmX54ZgUgTRSgkdp3lrjg5vEsIeJ7RWlVtCWaOKWgFIObJCXp6gCbQWcdb4JJjmKl9z
 Htjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:in-reply-to:from:references:cc:to
 :content-language:subject:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=Ytjl4SQW9VR1yF3UYr2bbQ6r/M3tEXJPBaXmpQoNHKU=;
 b=fPWLkWVSvj27TGqzuzMGeYuN3NBLEDwTuNfzFt2CRY1LMP4F8yuIpnCKFdtVWhahPt
 t3gN//ctKkPOrU0jT2mLPfMDxJkGxjRSqRDQFI4LAb2TAQp2Ao8Re33HfMUo9g3kCpy+
 WIHym5n85+49PA/OqzI82MCplEw2SEIy+Zd4+xSPoTiqxs9/E+DMcTBLnFEWkOwU6P/w
 g71Kckh+biheiHIFg7ggyDsH3WS7i6LGk8VceC3sq7K/kb8IoOIYWCMD5I2NhFBPNVkw
 O9ztO94ytAhOl/H0UTbd2XNhj+MGbNtNp0k1gDj+SB4gU6K0XKmhNg85rPiHTvVeJ36Y
 7X6g==
X-Gm-Message-State: ANoB5pk86aWgXtMwwznO5MsQieoID+wLlAZnKMr9B82x48dG8RHmZn4I
 /nmQ5+DwfFM35sxDp0/OEI8=
X-Google-Smtp-Source: AA0mqf7UejXcPexRqOdInl7Dhhqe78ZJmnr7RqDZpaF6+T0ncuRBVPkaCcBw3QIAYimqFCJlOqFB1A==
X-Received: by 2002:a63:5719:0:b0:476:ea7d:3ff6 with SMTP id
 l25-20020a635719000000b00476ea7d3ff6mr6108323pgb.73.1669148400215; 
 Tue, 22 Nov 2022 12:20:00 -0800 (PST)
Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com.
 [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id
 135-20020a62178d000000b0056e8eb09d58sm11352072pfx.170.2022.11.22.12.19.58
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 22 Nov 2022 12:19:59 -0800 (PST)
Message-ID: <381f9df9-4442-4580-17f5-6590f7326e3b@HIDDEN>
Date: Tue, 22 Nov 2022 12:19:56 -0800
MIME-Version: 1.0
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
Content-Language: en-US
To: Jeff Kowalski <jeff.kowalski@HIDDEN>
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN>
 <87ilozbivd.fsf@HIDDEN> <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
 <292942b6-4a7f-0002-2af4-210b32612ba1@HIDDEN>
 <CAG-eCj5OD_Hzv5A+ON9nuoE+Pwx2zdJrFBAQJu5iQkdNr5DMBg@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <CAG-eCj5OD_Hzv5A+ON9nuoE+Pwx2zdJrFBAQJu5iQkdNr5DMBg@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 56013
Cc: Andreas Schwab <schwab@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>,
 56013 <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: -1.0 (-)

On 11/20/2022 9:14 PM, Jeff Kowalski wrote:
> While I cannot help to craft the solution (I'm limited by my knowledge 
> of internals here), I'm very happy to help test proposals.  It seemed 
> there was a hint of a solution developed in this thread.

This is a hacky workaround, but if it works for you, it would help prove 
a strategy to fix this:

   ~ $ cat | xdg-open file.txt | cat

The above forces 'xdg-open' to be run with pipes for its stdin and 
stdout. I believe the issue is that when 'xdg-open' sees a PTY for 
stdin/stdout, it seems to assume that the PTY will live for a long time; 
however, in Eshell, it will close the PTY as soon as 'xdg-open' returns, 
which breaks things.

A real fix would be to tell Eshell that certain programs, like xdg-open, 
should never use PTYs. (There used to be a variable called 
'eshell-needs-pipe' that did something similar to this, but after 
changing how Eshell connects processes, it was no longer needed.)




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

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


Received: (at 56013) by debbugs.gnu.org; 21 Nov 2022 09:02:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 21 04:02:15 2022
Received: from localhost ([127.0.0.1]:45376 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ox2gv-0001UQ-V3
	for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 04:02:15 -0500
Received: from mail-ua1-f49.google.com ([209.85.222.49]:41550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jeff.kowalski@HIDDEN>) id 1owz8N-0007vN-7o
 for 56013 <at> debbugs.gnu.org; Mon, 21 Nov 2022 00:14:19 -0500
Received: by mail-ua1-f49.google.com with SMTP id y18so3683392uae.8
 for <56013 <at> debbugs.gnu.org>; Sun, 20 Nov 2022 21:14:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=hYEIhypKwOof+JQwlt/5vTH0lFjpU+zoryRwv9VTgg0=;
 b=kILXOO+tqv6N7J+r2ZMjStj3EnYQCk6+x1+3/vzrl0KJgpqh8/0sXMXR2aiQCR7r/t
 zyvYAhyKps7cAS5dgRv1MaX0Cr2Z7zUSzBIYl3bB6g1wnSdyl/ZvJLLI1MbAonNdSjF+
 HW49U0FxCPxd3jAXyhJzeQZa1ZnDnamuVg8n8UN2MVMbVgfT9XNxRHFDEGWRCLT5JLFf
 K19kwgKf35B59gEVZZyLgxpEYwm7glMoVjsQ2RqVES+EkRSDKeZfhBZuYgmXiUaphGhn
 hXydNiiOqH9Wtne9T6AMXQdzXn4qrTOzaLvxrQCS2SJvIX5oG4y8dlBU60T+2H4djBYH
 /tEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=hYEIhypKwOof+JQwlt/5vTH0lFjpU+zoryRwv9VTgg0=;
 b=n6GyVlE3CSV6iTx8NS6PomCct1hQxXFJa00VHaEZ4JD6vaoS2lQpe/cfpJeK8xWG9S
 KZM1UiHJtalrKHFY0Rfp1dKHFOS5mmyHqmNo8HLruoi6sWMcg7Cq2uZbvlsDV18aJ9J6
 3YhT4NHTjrye+d7nbIz776m1z5Q87UdzPiO11mAyf0duBckIPypIYh/JZl2GQeuaItFw
 KbWUnZjUPRGn2Mk8/qi9oecxL7oQRhAfySUvN25S7mlpGYpWvIh2qaj2aPL+u1pPZYOn
 oew2PWh+3JnzOjxk2y9KQgDrXtUfEGus62bz34WBj9anbQHK87kBgTUjfEwAXrDG5hLy
 JbLg==
X-Gm-Message-State: ANoB5pkT0rLbgZ2bVMzmCHaWW2i5B3nzf4QSg90iAYGwduAFOmAzDps5
 hEwMlEWkAKYv6/sEyaeL8mXKPZS4qMIkeOYEAtI=
X-Google-Smtp-Source: AA0mqf4II8Zb9uiEFAljRygwDjneeStOJgYF9tnu4ui6+9dX0cibAAe9t6BFst3sIb5Vy0Zm1oQXIw2iMiXbGJtI/48=
X-Received: by 2002:ab0:4a05:0:b0:3df:5b51:4886 with SMTP id
 q5-20020ab04a05000000b003df5b514886mr8070769uae.115.1669007653654; Sun, 20
 Nov 2022 21:14:13 -0800 (PST)
MIME-Version: 1.0
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN> <87ilozbivd.fsf@HIDDEN>
 <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
 <292942b6-4a7f-0002-2af4-210b32612ba1@HIDDEN>
In-Reply-To: <292942b6-4a7f-0002-2af4-210b32612ba1@HIDDEN>
From: Jeff Kowalski <jeff.kowalski@HIDDEN>
Date: Sun, 20 Nov 2022 21:14:02 -0800
Message-ID: <CAG-eCj5OD_Hzv5A+ON9nuoE+Pwx2zdJrFBAQJu5iQkdNr5DMBg@HIDDEN>
Subject: Re: bug#56013: 28.1;
 "gio open" and "xdg-open" fail silently under eshell
To: Jim Porter <jporterbugs@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000052d58b05edf4204d"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 56013
X-Mailman-Approved-At: Mon, 21 Nov 2022 04:02:11 -0500
Cc: 56013 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 Andreas Schwab <schwab@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.0 (-)

--00000000000052d58b05edf4204d
Content-Type: text/plain; charset="UTF-8"

While I cannot help to craft the solution (I'm limited by my knowledge of
internals here), I'm very happy to help test proposals.  It seemed there
was a hint of a solution developed in this thread.

On Fri, Jun 17, 2022 at 11:25 AM Jim Porter <jporterbugs@HIDDEN> wrote:

> On 6/17/2022 10:17 AM, Jim Porter wrote:
> > On 6/17/2022 4:59 AM, Lars Ingebrigtsen wrote:
> >> Andreas Schwab <schwab@HIDDEN> writes:
> >>
> >>> See bug#44824.
> >>
> >> Ah, right.  The fix proposed there was:
> >>
> >>      org.el: Avoid xdg-open silent failure
> >>      * lisp/org.el (org-open-file): Use 'pipe :connection-type instead
> of
> >>      'pty to prevent killing of background process on handler exit.
> >>
> >> Perhaps Jim has some comments here; added to the CCs.
> >
> > Yeah, this is an issue with how `start-file-process' is being called in
> > Eshell (see `eshell-gather-process-output'). If I call `(setq
> > process-connection-type nil)' before running gio in Eshell, it works
> fine.
>
> Oh right... I remember looking at a related issue before. Note: I don't
> think this will directly fix the issue in this bug, but it might affect
> how we do fix this, so I'm mentioning it here.
>
> `eshell-needs-pipe-p' has a link to bug#1388, which discusses why that
> function exists in the first place. Basically, if `eshell-needs-pipe-p'
> didn't exist, then the following Eshell command wouldn't work right[1]:
>
>    ~ $ *echo "1+1" | bc
>
> However, the solution isn't quite right if you think about it: while
> it's true that bc's stdin should be a pipe, couldn't its stdout still be
> a pty? The all-or-nothing nature of "pipe vs pty" seems a bit
> over-restrictive. For example, this is (part of) why piping to `less' is
> so broken in Eshell. If you remove "less" from `eshell-visual-commands',
> you can see some of the issues. The following works ok, though you get
> the "dumb terminal" interface for less:
>
>    ~ $ less file.txt
>
> But this fails:
>
>    ~ $ cat file.txt | less
>    Missing filename ("less --help" for help)
>
> I believe that's because `less' sees that stdin is a pty in that case
> and so it expects a filename. However, adding `less' to
> `eshell-needs-pipe' fails though because then `less' thinks stdout is a
> pipe too, so you don't even get the dumb terminal UI; it just forwards
> stdin to stdout unchanged.
>
> Fixing this would get rid of the current uses for `eshell-needs-pipe-p',
> but then we'd probably want to keep it around in a slightly different
> form in order to handle gio/xdg-open properly. What we do about the
> issue described above would probably determine how the contents of
> `eshell-needs-pipe' should be specified.
>
> [1] The "*" in that command is to use the real /bin/echo, since bc
> expects a trailing newline and Eshell's built-in echo doesn't do that.
>

--00000000000052d58b05edf4204d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">While I cannot help to craft the solution (I&#39;m limited=
 by my knowledge of internals here), I&#39;m very happy to help test propos=
als.=C2=A0 It seemed there was a hint of a solution developed in this threa=
d.</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Fri, Jun 17, 2022 at 11:25 AM Jim Porter &lt;<a href=3D"mailto:jporter=
bugs@HIDDEN">jporterbugs@HIDDEN</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">On 6/17/2022 10:17 AM, Jim Porter wrot=
e:<br>
&gt; On 6/17/2022 4:59 AM, Lars Ingebrigtsen wrote:<br>
&gt;&gt; Andreas Schwab &lt;<a href=3D"mailto:schwab@HIDDEN" target=
=3D"_blank">schwab@HIDDEN</a>&gt; writes:<br>
&gt;&gt;<br>
&gt;&gt;&gt; See bug#44824.<br>
&gt;&gt;<br>
&gt;&gt; Ah, right.=C2=A0 The fix proposed there was:<br>
&gt;&gt;<br>
&gt;&gt; =C2=A0=C2=A0=C2=A0=C2=A0 org.el: Avoid xdg-open silent failure<br>
&gt;&gt; =C2=A0=C2=A0=C2=A0=C2=A0 * lisp/org.el (org-open-file): Use &#39;p=
ipe :connection-type instead of<br>
&gt;&gt; =C2=A0=C2=A0=C2=A0=C2=A0 &#39;pty to prevent killing of background=
 process on handler exit.<br>
&gt;&gt;<br>
&gt;&gt; Perhaps Jim has some comments here; added to the CCs.<br>
&gt; <br>
&gt; Yeah, this is an issue with how `start-file-process&#39; is being call=
ed in <br>
&gt; Eshell (see `eshell-gather-process-output&#39;). If I call `(setq <br>
&gt; process-connection-type nil)&#39; before running gio in Eshell, it wor=
ks fine.<br>
<br>
Oh right... I remember looking at a related issue before. Note: I don&#39;t=
 <br>
think this will directly fix the issue in this bug, but it might affect <br=
>
how we do fix this, so I&#39;m mentioning it here.<br>
<br>
`eshell-needs-pipe-p&#39; has a link to bug#1388, which discusses why that =
<br>
function exists in the first place. Basically, if `eshell-needs-pipe-p&#39;=
 <br>
didn&#39;t exist, then the following Eshell command wouldn&#39;t work right=
[1]:<br>
<br>
=C2=A0 =C2=A0~ $ *echo &quot;1+1&quot; | bc<br>
<br>
However, the solution isn&#39;t quite right if you think about it: while <b=
r>
it&#39;s true that bc&#39;s stdin should be a pipe, couldn&#39;t its stdout=
 still be <br>
a pty? The all-or-nothing nature of &quot;pipe vs pty&quot; seems a bit <br=
>
over-restrictive. For example, this is (part of) why piping to `less&#39; i=
s <br>
so broken in Eshell. If you remove &quot;less&quot; from `eshell-visual-com=
mands&#39;, <br>
you can see some of the issues. The following works ok, though you get <br>
the &quot;dumb terminal&quot; interface for less:<br>
<br>
=C2=A0 =C2=A0~ $ less file.txt<br>
<br>
But this fails:<br>
<br>
=C2=A0 =C2=A0~ $ cat file.txt | less<br>
=C2=A0 =C2=A0Missing filename (&quot;less --help&quot; for help)<br>
<br>
I believe that&#39;s because `less&#39; sees that stdin is a pty in that ca=
se <br>
and so it expects a filename. However, adding `less&#39; to <br>
`eshell-needs-pipe&#39; fails though because then `less&#39; thinks stdout =
is a <br>
pipe too, so you don&#39;t even get the dumb terminal UI; it just forwards =
<br>
stdin to stdout unchanged.<br>
<br>
Fixing this would get rid of the current uses for `eshell-needs-pipe-p&#39;=
, <br>
but then we&#39;d probably want to keep it around in a slightly different <=
br>
form in order to handle gio/xdg-open properly. What we do about the <br>
issue described above would probably determine how the contents of <br>
`eshell-needs-pipe&#39; should be specified.<br>
<br>
[1] The &quot;*&quot; in that command is to use the real /bin/echo, since b=
c <br>
expects a trailing newline and Eshell&#39;s built-in echo doesn&#39;t do th=
at.<br>
</blockquote></div>

--00000000000052d58b05edf4204d--




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

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


Received: (at 56013) by debbugs.gnu.org; 17 Jun 2022 18:26:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 17 14:26:10 2022
Received: from localhost ([127.0.0.1]:46918 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o2GfZ-0007Xf-Ts
	for submit <at> debbugs.gnu.org; Fri, 17 Jun 2022 14:26:10 -0400
Received: from mail-pl1-f181.google.com ([209.85.214.181]:39496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1o2GfU-0007X7-PS
 for 56013 <at> debbugs.gnu.org; Fri, 17 Jun 2022 14:26:08 -0400
Received: by mail-pl1-f181.google.com with SMTP id a17so2573402pls.6
 for <56013 <at> debbugs.gnu.org>; Fri, 17 Jun 2022 11:26:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=subject:from:to:cc:references:message-id:date:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=YGuF6e2D0WuhyAdagA8pFKd+A4j/25322gAXfWBpPfY=;
 b=beAA1Z9IdmwXfH35W9/K6AAUVODeqRTixM5WO5YXyItBla6LHnoo/j0HufC5caXIsn
 6fYMit/4mtN0HFx+nQoP60vhtiXtTi3CaFP0iAdeF/kmrQJyrw9hx53AOyLl5yqmUmni
 VmIIkvYLHvuwYkJvCGRcBB4ldEe6mCvymmvkMynx5z/QkzeegMMvaO+VxLXeC9Ix3si1
 IAamFmp2GkaJYiLMFVT19ZCRxbIAZn1JHjcgt3VSZAwB/DAD9ss02YLNgcIUuEMgYgPE
 8rlHoPIGRRC05lxZkKU9WgD/jRvt/mKgP12SwquzBfDNw2OA02tb7abpTikxIDgXX92k
 etlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:subject:from:to:cc:references:message-id:date
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=YGuF6e2D0WuhyAdagA8pFKd+A4j/25322gAXfWBpPfY=;
 b=OkR5D5LLAV/z/Pa8EbYL/b/u+HOCWV1tL1bhCwahCLb2RdXi7I+pZjLYvKnjZIYO9/
 PuxiimBpG+yn2kvWGXrHTugfglDnblt0UxtRfsz7diTM+352u+E2dow4+EUdliZSPlOY
 MR9ibrp1vbipQRNKA5q4RCOkOE5wajGGNpDPf5MFxrmGMn4OQwWmxglw+ACzdH/ZK5f+
 ZD85oTKIgLFUSqFqRNtj5r8Y+02kB3JeNJl3zrojHZoq+hz450aqrSrcThWQVsbNd3a4
 e9TWGAU8+98Tm3ea4yWPgHEkrldxI7VD3qR3mXarik7PxfJhN2i2aa6YTKnA2FyzCcrw
 CJzA==
X-Gm-Message-State: AJIora9yDpweIFgwp1/WA+e7pbWvjWfSt0qEB6B7Ks72Np/OPVuXNG2l
 CYto19hTG/G0OXG/LWpSl6k=
X-Google-Smtp-Source: AGRyM1teManzHf02k9BnN7RWm8XaPFbq5SB+pzYaKKPLVc/Knc5lPeI/L5RYjZzWMcht9oL3XKSt1Q==
X-Received: by 2002:a17:90b:33c8:b0:1ea:c199:9794 with SMTP id
 lk8-20020a17090b33c800b001eac1999794mr12036766pjb.224.1655490357822; 
 Fri, 17 Jun 2022 11:25:57 -0700 (PDT)
Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com.
 [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id
 d20-20020a056a00199400b0050dc762815asm4263737pfl.52.2022.06.17.11.25.56
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 17 Jun 2022 11:25:57 -0700 (PDT)
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
From: Jim Porter <jporterbugs@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>, Andreas Schwab <schwab@HIDDEN>
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN>
 <87ilozbivd.fsf@HIDDEN> <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
Message-ID: <292942b6-4a7f-0002-2af4-210b32612ba1@HIDDEN>
Date: Fri, 17 Jun 2022 11:25:58 -0700
MIME-Version: 1.0
In-Reply-To: <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 56013
Cc: 56013 <at> debbugs.gnu.org, Jeff Kowalski <jeff.kowalski@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.0 (-)

On 6/17/2022 10:17 AM, Jim Porter wrote:
> On 6/17/2022 4:59 AM, Lars Ingebrigtsen wrote:
>> Andreas Schwab <schwab@HIDDEN> writes:
>>
>>> See bug#44824.
>>
>> Ah, right.  The fix proposed there was:
>>
>>      org.el: Avoid xdg-open silent failure
>>      * lisp/org.el (org-open-file): Use 'pipe :connection-type instead of
>>      'pty to prevent killing of background process on handler exit.
>>
>> Perhaps Jim has some comments here; added to the CCs.
> 
> Yeah, this is an issue with how `start-file-process' is being called in 
> Eshell (see `eshell-gather-process-output'). If I call `(setq 
> process-connection-type nil)' before running gio in Eshell, it works fine.

Oh right... I remember looking at a related issue before. Note: I don't 
think this will directly fix the issue in this bug, but it might affect 
how we do fix this, so I'm mentioning it here.

`eshell-needs-pipe-p' has a link to bug#1388, which discusses why that 
function exists in the first place. Basically, if `eshell-needs-pipe-p' 
didn't exist, then the following Eshell command wouldn't work right[1]:

   ~ $ *echo "1+1" | bc

However, the solution isn't quite right if you think about it: while 
it's true that bc's stdin should be a pipe, couldn't its stdout still be 
a pty? The all-or-nothing nature of "pipe vs pty" seems a bit 
over-restrictive. For example, this is (part of) why piping to `less' is 
so broken in Eshell. If you remove "less" from `eshell-visual-commands', 
you can see some of the issues. The following works ok, though you get 
the "dumb terminal" interface for less:

   ~ $ less file.txt

But this fails:

   ~ $ cat file.txt | less
   Missing filename ("less --help" for help)

I believe that's because `less' sees that stdin is a pty in that case 
and so it expects a filename. However, adding `less' to 
`eshell-needs-pipe' fails though because then `less' thinks stdout is a 
pipe too, so you don't even get the dumb terminal UI; it just forwards 
stdin to stdout unchanged.

Fixing this would get rid of the current uses for `eshell-needs-pipe-p', 
but then we'd probably want to keep it around in a slightly different 
form in order to handle gio/xdg-open properly. What we do about the 
issue described above would probably determine how the contents of 
`eshell-needs-pipe' should be specified.

[1] The "*" in that command is to use the real /bin/echo, since bc 
expects a trailing newline and Eshell's built-in echo doesn't do that.




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

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


Received: (at 56013) by debbugs.gnu.org; 17 Jun 2022 17:17:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 17 13:17:17 2022
Received: from localhost ([127.0.0.1]:46862 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o2Fav-0003f5-F6
	for submit <at> debbugs.gnu.org; Fri, 17 Jun 2022 13:17:17 -0400
Received: from mail-pg1-f175.google.com ([209.85.215.175]:41507)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1o2Far-0003eq-JM
 for 56013 <at> debbugs.gnu.org; Fri, 17 Jun 2022 13:17:15 -0400
Received: by mail-pg1-f175.google.com with SMTP id w29so4558755pgl.8
 for <56013 <at> debbugs.gnu.org>; Fri, 17 Jun 2022 10:17:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=subject:to:cc:references:from:message-id:date:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=oC1f9ec7Pq8DY+P6v4y3WTifOQUH597xHY/7GpifOvg=;
 b=hbWyWU/KISZTCFhbhFWg8x1jmTeKW3bbs+pEu28U4Bf5FdLUJfAlYcUiPPNtXA5wMy
 DiTiXesnnsah/fjWlmBKxxS8fNDBdUWSmx5osnaFoAjTj5cXFnjbzBej2b/zoO+9uUls
 JHmpCQzeWLjGsH5xg8YsWgfghngDY80D/2TypZVosV/AhJBd9LdkGDAr9xoQLlaXNHVA
 y8S1YUsWUiT+Pvyxyzlc5rTVhPmR0JCNcxsKaxCI+an0CW4QFfWRPO544W7kPuZXNlFQ
 TYYof/D5lSzR+8gU/BE/Lv3F/TD2zpWMRbTr5Y1t7TjaJ40tniBCFPgThe1qp1tdszvX
 3z/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=oC1f9ec7Pq8DY+P6v4y3WTifOQUH597xHY/7GpifOvg=;
 b=e3vXVuV/1Im+GnfV9l3q3LznAtVZ7rCEtV/lhGXJj8nm1dCBS3FFsAtHqtXuLH3qgj
 NREqVX0Igk0kUQlW/mumtp5ueGnDlF1u5dG+PdBMJsRFAlWYdznDM/r80/uBzlu77bDj
 dkEos4ZT+Ybe3kfVPIwuYiK2FLij/rSeSuDJr1Lmzj6kAT9KgjusujBWiG2jE59aUC8x
 OjevPxS+nwxhxzBL3CKKzGCpLU3+MolYFuv4ZI8xuMCkp77h3RuFRdlLGwVWEC1Bc6ZX
 u8UAQwRsNIeYEXR1vZc7IoR2dTLkTnHsPMILYZ8xDwV0/Voc0XmcB6+yjE+oNiwuPPRP
 uWgw==
X-Gm-Message-State: AJIora81A75mnAHn3YaVV9ci3RXw3YWL9KrS6sZC2kHVGACxwY8Bt/Z2
 Z9gtgqsqiQWAqyfFgnmL/iE=
X-Google-Smtp-Source: AGRyM1u/5guI+F0UM3CdeofnGfWLvAXbyTl9gMgk29BAI0BNvfAzlAUKHwqSt3TEZdV1agEYdgWbPA==
X-Received: by 2002:a62:2584:0:b0:520:785d:2ba with SMTP id
 l126-20020a622584000000b00520785d02bamr11061451pfl.55.1655486227438; 
 Fri, 17 Jun 2022 10:17:07 -0700 (PDT)
Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com.
 [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id
 i10-20020a170902cf0a00b001641244d051sm3809244plg.257.2022.06.17.10.17.06
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 17 Jun 2022 10:17:07 -0700 (PDT)
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
To: Lars Ingebrigtsen <larsi@HIDDEN>, Andreas Schwab <schwab@HIDDEN>
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN>
 <87ilozbivd.fsf@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
Message-ID: <a388eeea-411a-7834-a104-d8fcb51d33dd@HIDDEN>
Date: Fri, 17 Jun 2022 10:17:08 -0700
MIME-Version: 1.0
In-Reply-To: <87ilozbivd.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 56013
Cc: 56013 <at> debbugs.gnu.org, Jeff Kowalski <jeff.kowalski@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.0 (-)

On 6/17/2022 4:59 AM, Lars Ingebrigtsen wrote:
> Andreas Schwab <schwab@HIDDEN> writes:
> 
>> See bug#44824.
> 
> Ah, right.  The fix proposed there was:
> 
>      org.el: Avoid xdg-open silent failure
>      
>      * lisp/org.el (org-open-file): Use 'pipe :connection-type instead of
>      'pty to prevent killing of background process on handler exit.
> 
> Perhaps Jim has some comments here; added to the CCs.

Yeah, this is an issue with how `start-file-process' is being called in 
Eshell (see `eshell-gather-process-output'). If I call `(setq 
process-connection-type nil)' before running gio in Eshell, it works fine.

There's *almost* an existing Eshell function that would solve this: 
`eshell-needs-pipe-p'. Currently, it only returns t if certain programs 
are being piped *to*, but we could enhance that to allow specifying that 
some programs need a "pipe" (i.e. for `process-connection-type' to be 
nil) all the time. Then we'd just need to add gio and xdg-open to 
`eshell-needs-pipe' (which should probably be a defcustom while we're 
there).




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

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


Received: (at 56013) by debbugs.gnu.org; 17 Jun 2022 12:00:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 17 08:00:09 2022
Received: from localhost ([127.0.0.1]:43965 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o2Ae1-00006J-5p
	for submit <at> debbugs.gnu.org; Fri, 17 Jun 2022 08:00:09 -0400
Received: from quimby.gnus.org ([95.216.78.240]:54442)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o2Adt-0008VA-KD
 for 56013 <at> debbugs.gnu.org; Fri, 17 Jun 2022 08:00:03 -0400
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=4jM28Q+/Sww1vl5VWiBXtn/KZ9K+tv1mvpXmF+hNd0I=; b=VnjugB23guSzFi8qlCJBGfdgRE
 cDw/KLGHROlhipobpxQBCsZ/P4XJqqM2YiVEovF5ONj3LbDrMunvx/XFAUxsmZARIdngjWj34tWxl
 0Tku5tDio0Vja1y79SquHrm2/EZh3OdPv88/S0ydMb+qby3TANq50HltPblVWhAMGgNQ=;
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 1o2Adj-0002h1-SB; Fri, 17 Jun 2022 13:59:54 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN> <87czf88yre.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEU2Pj+OeFf///+r
 WAvDAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+YGEQs6J+faE5YA
 AAEeSURBVCjPTZFRjsMgDETHEv4HCe5jpObfSPj+V9kxSZtFSpqHzczgolnpAPgEcM2uBIMQIloC
 DrSxpqEBSlhd3Vi4diG0cAhk8AfSplc2rUEoa2xumcVproNbaDtFrxZ1mg4kFN8XxbesA5BpUnEU
 qDUhwmIGqQTo7g8ws0xNhfk0ZFJQJW0rQyHvVjJDVlSdpymX9ck0slOmMii9eP98QysO2BFUo3lY
 vtE6iqUXM6ZE4e6EsvLhhotF1rMBrtZBO1TGqHk4zzAJ2/ihH9zrwO20/YWWAoR5X/S460nXca4i
 p60wsXq9/AZGGn55/4J4+G2Ts9xrv57eHuDfSee4hzciYqtUfFeV5T9w2Z8f2Bnety1n+gLiPcPZ
 4N/qfyafNBAw3keoAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTE3VDExOjU4OjM5KzAwOjAw
 /EEBIgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0xN1QxMTo1ODozOSswMDowMI0cuZ4AAAAA
 SUVORK5CYII=
X-Now-Playing: Loma's _Don't Shy Away_: "Breaking Waves Like a Stone"
Date: Fri, 17 Jun 2022 13:59:50 +0200
In-Reply-To: <87czf88yre.fsf@HIDDEN> (Andreas Schwab's message of "Thu, 16
 Jun 2022 16:32:37 +0200")
Message-ID: <87ilozbivd.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: Andreas Schwab <schwab@HIDDEN> writes: > See
 bug#44824. Ah, right. The fix proposed there was: 
 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: 56013
Cc: Jim Porter <jporterbugs@HIDDEN>, 56013 <at> debbugs.gnu.org,
 Jeff Kowalski <jeff.kowalski@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: -3.3 (---)

Andreas Schwab <schwab@HIDDEN> writes:

> See bug#44824.

Ah, right.  The fix proposed there was:

    org.el: Avoid xdg-open silent failure
    
    * lisp/org.el (org-open-file): Use 'pipe :connection-type instead of
    'pty to prevent killing of background process on handler exit.

Perhaps Jim has some comments here; added to the CCs.

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




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

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


Received: (at 56013) by debbugs.gnu.org; 16 Jun 2022 14:32:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 10:32:45 2022
Received: from localhost ([127.0.0.1]:42768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1qY9-0004oC-IK
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 10:32:45 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:57331)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1o1qY3-0004nx-Rn
 for 56013 <at> debbugs.gnu.org; Thu, 16 Jun 2022 10:32:43 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4LP4QG4JR1z1s75L;
 Thu, 16 Jun 2022 16:32:38 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4LP4QG2Bhgz1qqkB;
 Thu, 16 Jun 2022 16:32:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id Aswa7PsC8JMh; Thu, 16 Jun 2022 16:32:37 +0200 (CEST)
X-Auth-Info: p3Ytu98pMjU62URn1zDB4zv7JOG2Vrjy6trVvwBnw0Ahc3Iy1+FSduoXyCYxVYLF
Received: from igel.home (ppp-46-244-177-5.dynamic.mnet-online.de
 [46.244.177.5])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Thu, 16 Jun 2022 16:32:37 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 3D36B2C3A5D; Thu, 16 Jun 2022 16:32:37 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN>
X-Yow: I can't decide which WRONG TURN to make first!!
 I wonder if BOB GUCCIONE has these problems!
Date: Thu, 16 Jun 2022 16:32:37 +0200
In-Reply-To: <87h74kes5l.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 16 Jun 2022 13:58:46 +0200")
Message-ID: <87czf88yre.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 56013
Cc: 56013 <at> debbugs.gnu.org, Jeff Kowalski <jeff.kowalski@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.5 (-)

See bug#44824.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




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

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


Received: (at 56013) by debbugs.gnu.org; 16 Jun 2022 14:22:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 10:22:18 2022
Received: from localhost ([127.0.0.1]:42736 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1qO2-0002Kc-24
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 10:22:18 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:60282)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1o1qNx-0002KS-29
 for 56013 <at> debbugs.gnu.org; Thu, 16 Jun 2022 10:22:16 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4LP4BC4mHLz1qyJ7;
 Thu, 16 Jun 2022 16:22:11 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4LP4BC35hmz1qqkB;
 Thu, 16 Jun 2022 16:22:11 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id s-Mef9RGeIyx; Thu, 16 Jun 2022 16:22:10 +0200 (CEST)
X-Auth-Info: ecBF+m1SXpNHP/xCYPGHrAJ6C8s3QF8AzVihhg30HfJbxrVSx94kfJhtwgL5gJ/v
Received: from igel.home (ppp-46-244-177-5.dynamic.mnet-online.de
 [46.244.177.5])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Thu, 16 Jun 2022 16:22:10 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 394692C3A5D; Thu, 16 Jun 2022 16:22:10 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 <87h74kes5l.fsf@HIDDEN>
X-Yow: Sign my PETITION.
Date: Thu, 16 Jun 2022 16:22:10 +0200
In-Reply-To: <87h74kes5l.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 16 Jun 2022 13:58:46 +0200")
Message-ID: <87h74k8z8t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 56013
Cc: 56013 <at> debbugs.gnu.org, Jeff Kowalski <jeff.kowalski@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.5 (-)

On Jun 16 2022, Lars Ingebrigtsen wrote:

> Hm...  was it something to do with timing and the weird way that
> xdg-open works?

It's how it backgrounds itself, and how eshell spawns a new session for
each command.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




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

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


Received: (at 56013) by debbugs.gnu.org; 16 Jun 2022 11:58:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 07:58:59 2022
Received: from localhost ([127.0.0.1]:40927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1o9K-0000I3-V5
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 07:58:59 -0400
Received: from quimby.gnus.org ([95.216.78.240]:43800)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o1o9I-0000Hn-Rk
 for 56013 <at> debbugs.gnu.org; Thu, 16 Jun 2022 07:58:58 -0400
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=2uH7r9xaGKkBLffw9Hdu0FdX9q1WdsbSJDPYL1zJzRE=; b=sWgYCnayiKtrs62WSaQ38bmX8j
 wVqzJmdgrq0iet5lDuttIBnBLMWMCwy9MjEBQ4tHENc1tws9enSQQDrb5k4/PxMxgaymLGaR5GDNh
 qNNKBy+osMU2izNrTmotuj82rz6eDhsTsbA6TNB9voMPaAmN7abQaL9sv4jq2BdHRb0g=;
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 1o1o99-0006fq-Vy; Thu, 16 Jun 2022 13:58:50 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jeff Kowalski <jeff.kowalski@HIDDEN>
Subject: Re: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under
 eshell
References: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
X-Now-Playing: Bogdan Raczynski's _Planet Mu 25_: "tteosintae"
Date: Thu, 16 Jun 2022 13:58:46 +0200
In-Reply-To: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
 (Jeff Kowalski's message of "Wed, 15 Jun 2022 20:18:18 -0700")
Message-ID: <87h74kes5l.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: Jeff Kowalski <jeff.kowalski@HIDDEN> writes: > Emacs
 behavior:
 > $ emacs -Q > ;; now in emacs > M-x eshell > ;; now in eshell buffer > $
 gio open /tmp/hello.txt > ;; BAD RESULT - nothing happens, app not opened,
 silent failure, nothing > in mess [...] 
 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: 56013
Cc: 56013 <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 (---)

Jeff Kowalski <jeff.kowalski@HIDDEN> writes:

> Emacs behavior:
> $ emacs -Q
> ;; now in emacs
> M-x eshell
> ;; now in eshell buffer
> $ gio open /tmp/hello.txt
> ;; BAD RESULT - nothing happens, app not opened, silent failure, nothing
> in message buffer
> $ xdg-open /tmp/hello.txt
> ;; BAD RESULT - nothing happens, app not opened, silent failure, nothing
> in message buffer

[...]

> In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo
> version 1.16.0)
>  of 2022-05-30 built on lcy02-amd64-022
> Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
> System Description: Linux Mint 20.3

I'm unable to reproduce this problem (Debian/bookworm, Gnome Shell), but
I vaguely remember other reports about xdg-open not working in some
circumstances -- I don't remember the details.  Anybody else remember?

Hm...  was it something to do with timing and the weird way that
xdg-open works?  Hm, no, don't remember.

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




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

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


Received: (at submit) by debbugs.gnu.org; 16 Jun 2022 06:26:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 02:26:52 2022
Received: from localhost ([127.0.0.1]:40495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1ixv-0003hy-91
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 02:26:52 -0400
Received: from lists.gnu.org ([209.51.188.17]:60948)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jeff.kowalski@HIDDEN>) id 1o1g1j-0006wX-9C
 for submit <at> debbugs.gnu.org; Wed, 15 Jun 2022 23:18:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38432)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jeff.kowalski@HIDDEN>)
 id 1o1g1j-0007UX-3V
 for bug-gnu-emacs@HIDDEN; Wed, 15 Jun 2022 23:18:35 -0400
Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:43804)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <jeff.kowalski@HIDDEN>)
 id 1o1g1f-0001N7-Ij
 for bug-gnu-emacs@HIDDEN; Wed, 15 Jun 2022 23:18:34 -0400
Received: by mail-vs1-xe30.google.com with SMTP id r4so66914vsf.10
 for <bug-gnu-emacs@HIDDEN>; Wed, 15 Jun 2022 20:18:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=kdhXKYwvVhTbhf4F+YNj9rd72+e9Io/Nuc7mCdkRsZc=;
 b=LKW6VTsl8hS6fcDdHEOSm2+kSZxcZpDzItNS0y9+ul3iSRywxTwDPJK9s5vOhCdexe
 iK4T3prlcYY+Bkdmm1q31g2Rkkp1Crj/xZ52BZCy/GHbz8rqzIk7Q+WCeNRFpimxphB2
 WidlmzoV4rp90sprNmajqJrhrNDpp9lHie3k0MEs/rN2tQF2M+Gb4S5s85KCH78DnQQx
 0s9nRxR2OAuWa9EGk7qyVowY86k+Ga/9D8TZS8km/jfWsV8cp20ymm+pr/zuym8CBX9T
 ZXVf719CX8Wto0Bb+WeX+1ARD35qSKPiEeypkQ1A+gKR+SgDEKLzLJSpKWaDLxvkqZZg
 J3eQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=kdhXKYwvVhTbhf4F+YNj9rd72+e9Io/Nuc7mCdkRsZc=;
 b=24jjh8a94v+Cn4mGLa8tRPEjFdhopEFN+ro9m14yCqLQRJt0A67VENcM1vsHDD6kCE
 bAxJffEnszqVsmYpY3Lvy+nv2vvZZsa23qFSRThIDf/qfIRO48rDI+yOw+i7PXeleucx
 TibWyINqiY+2SItB9TSGmxd90njlUslV8/hc/NggDqiGtHk04OtiSJiuvEbIkNMXKpIe
 XFU/g9odvjtaZkOTgZ0aP/KAADUACaeOjEYpakRKsimHmawR9h39qDNdoiuKHSll41LT
 /B6M0LgSNbeeeB/VQKcdKNsa3UZWpxUquGOvUNr+zOvLXyiWX1cHhf1zAIZAAaxmBxLp
 hWKQ==
X-Gm-Message-State: AJIora8nufDUnWQ27V4ngmwskn8KcqY/IiVV3Xr4GypPGvO5/GCy8AXS
 W6O9lHfkezYNL73cjlUXV3Ie/ArtLNn653nnqGqI/TDzwIE=
X-Google-Smtp-Source: AGRyM1uEpxPX0HwNqOfTEs9a9RrCqPSxPDB/sKprSfzOgy91llo/aSShR/ey9q7NuDSSF7f8a9nTJnnUD2uTgNcceiA=
X-Received: by 2002:a05:6102:38ca:b0:34c:2402:1a20 with SMTP id
 k10-20020a05610238ca00b0034c24021a20mr1593470vst.83.1655349509373; Wed, 15
 Jun 2022 20:18:29 -0700 (PDT)
MIME-Version: 1.0
From: Jeff Kowalski <jeff.kowalski@HIDDEN>
Date: Wed, 15 Jun 2022 20:18:18 -0700
Message-ID: <CAG-eCj5Ro3ZZy-NL5n6swZBBvr1=7QwLOfnCQV0Z3Q7AWopfYw@HIDDEN>
Subject: 28.1; "gio open" and "xdg-open" fail silently under eshell
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000007c441405e188175c"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e30;
 envelope-from=jeff.kowalski@HIDDEN; helo=mail-vs1-xe30.google.com
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,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 16 Jun 2022 02:26:50 -0400
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 (--)

--0000000000007c441405e188175c
Content-Type: text/plain; charset="UTF-8"

Setup:
$ echo "Hello, world!" > /tmp/hello.txt

Normal behavior:
$ gnome-terminal
;; now within terminal
$ gio open /tmp/hello.txt
;; GOOD RESULT - file is opened in app, as described by mime type. On my
system, app is 'Xed'

Emacs behavior:
$ emacs -Q
;; now in emacs
M-x eshell
;; now in eshell buffer
$ gio open /tmp/hello.txt
;; BAD RESULT - nothing happens, app not opened, silent failure, nothing
in message buffer
$ xdg-open /tmp/hello.txt
;; BAD RESULT - nothing happens, app not opened, silent failure, nothing
in message buffer

I've tried making my $ENV identical between normal terminal and eshell,
but I get the same results.

Thanks for your help,
Jeff Kowalski
---------

In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.16.0)
 of 2022-05-30 built on lcy02-amd64-022
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Linux Mint 20.3

Configured using:
 'configure --build=x86_64-linux-gnu --prefix=/usr
 '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
 '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var
 --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu'
 '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode
 --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/28.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.1/site-lisp:/usr/share/emacs/site-lisp
 --program-suffix=28 --with-modules --with-file-notification=inotify
 --with-mailutils --with-harfbuzz --with-json --with-zlib --with-x=yes
 --with-x-toolkit=gtk3 --with-lcms2 --with-cairo --with-xpm=yes
 --with-gif=yes --with-gnutls=yes --with-jpeg=yes --with-png=yes
 --with-tiff=yes --with-xwidgets 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs28-jmphgn/emacs28-28.1~1.git5a223c7f2e=.
-fstack-protector-strong
 -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
 -no-pie''

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

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  minions-mode: t
  doom-modeline-mode: t
  dimmer-mode: t
  auto-dim-other-buffers-mode: t
  global-atomic-chrome-edit-mode: t
  org-super-agenda-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  global-rbenv-mode: t
  counsel-mode: t
  eshell-vterm-mode: t
  eshell-syntax-highlighting-global-mode: t
  cua-mode: t
  display-time-mode: t
  which-key-mode: t
  override-global-mode: t
  global-flycheck-mode: t
  global-hl-todo-mode: t
  which-function-mode: t
  key-chord-mode: t
  global-company-mode: t
  company-mode: t
  ivy-mode: t
  erc-truncate-mode: t
  erc-track-mode: t
  erc-spelling-mode: t
  editorconfig-mode: t
  global-diff-hl-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  global-anzu-mode: t
  anzu-mode: t
  projectile-mode: t
  volatile-highlights-mode: t
  global-hl-line-mode: t
  super-save-mode: t
  windmove-mode: t
  recentf-mode: t
  savehist-mode: t
  save-place-mode: t
  show-smartparens-global-mode: t
  global-auto-revert-mode: t
  delete-selection-mode: t
  prelude-mode: t
  shell-dirtrack-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
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/jeff/.emacs.d/elpa/git-modes-20220422.1611/gitignore-mode hides
/home/jeff/.emacs.d/elpa/gitignore-mode-20210528.1856/gitignore-mode
/home/jeff/.emacs.d/elpa/el-get-20211224.959/el-get-install hides
/home/jeff/.emacs.d/elpa/load-relative-20201130.2202/el-get-install
/home/jeff/.emacs.d/el-get/emacs-web-server/web-server-status-codes hides
/home/jeff/.emacs.d/elpa/web-server-20210708.2242/web-server-status-codes
/home/jeff/.emacs.d/el-get/emacs-web-server/web-server hides
/home/jeff/.emacs.d/elpa/web-server-20210708.2242/web-server
/home/jeff/.emacs.d/elpa/cmake-mode-20220322.1258/cmake-mode hides
/usr/share/emacs/site-lisp/cmake-mode
/home/jeff/.emacs.d/elpa/clang-format-20191121.1708/clang-format hides
/usr/share/emacs/site-lisp/clang-format/clang-format
/home/jeff/.emacs.d/elpa/transient-20220527.2213/transient hides
/usr/share/emacs/28.1/lisp/transient
/home/jeff/.emacs.d/el-get/flymake/flymake hides
/usr/share/emacs/28.1/lisp/progmodes/flymake

Features:
(shadow sort mail-extr emacsbug sendmail goto-addr esh-autosuggest
em-unix em-script em-prompt em-ls em-hist em-pred em-glob em-cmpl
em-dirs esh-var em-basic em-banner diary-lib diary-loaddefs cal-iso
org-duration ffap ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe
gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku
svg gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range
gnus-win gnus nnheader ol-docview ol-bibtex ol-bbdb ol-w3m ol-doi
org-link-doi origami origami-parsers solarized-gruvbox-dark-theme
solarized-palettes rainbow-mode rainbow-delimiters elisp-slime-nav
personal mule-util company-ispell company-anaconda anaconda-mode
pythonic minions doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons solarized-theme solarized solarized-faces dimmer
auto-dim-other-buffers hydra atomic-chrome websocket bindat let-alist
shackle trace org-ehtml org-ehtml-server ox-ehtml org-ehtml-util ox-org
org-lint org-attach org-id org-protocol org-clock org-super-agenda ts
htmlize org-habit ox-odt ox-latex ox-icalendar org-agenda ox-html table
ox-ascii ox-publish ox org-indent ob-gnuplot ob-latex ob-dot ob-ruby
ob-python ob-shell ace-window magit-bookmark magit-submodule
magit-obsolete magit-popup 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 magit-diff smerge-mode
git-commit log-edit message rfc822 mml mml-sec epa gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mailabbrev mail-utils gmm-utils
mailheader add-log magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor server magit-mode transient
magit-git magit-base magit-section crm compat-27 compat-26
platformio-mode async irony-eldoc irony-completion irony-snippet
flycheck-irony irony-diagnostics irony irony-iotask realgud-byebug
realgud:byebug-track-mode realgud:byebug-init realgud:byebug-core
realgud-pry realgud:pry-track-mode realgud:pry-init realgud:pry-core
realgud realgud-lang-java realgud-zshdb realgud:zshdb-track-mode
realgud:zshdb-core realgud:zshdb-init realgud-trepan3k
realgud:trepan3k-track-mode realgud:trepan3k-core realgud:trepan3k-init
realgud-trepan2 realgud:trepan2-track-mode realgud:trepan2-core
realgud:trepan2-init realgud-trepanpl realgud:trepanpl-track-mode
realgud:trepanpl-core realgud:trepanpl-init realgud-trepanjs
realgud:trepanjs-track-mode realgud:trepanjs-core realgud:trepanjs-init
realgud-lang-js realgud-trepan realgud:trepan-track-mode
realgud:trepan-core realgud:trepan-init realgud-remake
realgud:remake-track-mode realgud:remake-core realgud:remake-init
realgud-rdebug realgud-rdebug-track-mode realgud-rdebug-core
realgud-rdebug-init realgud-lang-ruby realgud-perldb
realgud:perldb-track-mode realgud:perldb-core realgud:perldb-init
realgud-lang-perl realgud-pdb realgud:pdb-track-mode realgud:pdb-core
realgud:pdb-init realgud-lang-python python-el-fgallina-expansions
smartparens-python python tramp-sh realgud-kshdb
realgud:kshdb-track-mode realgud:kshdb-core realgud:kshdb-init
realgud-gub realgud:gub-track-mode realgud:gub-core realgud:gub-init
realgud-gdb realgud:gdb-track-mode realgud:gdb-init realgud:gdb-core
realgud-bashdb realgud:bashdb-track-mode realgud:bashdb-core
realgud:bashdb-init realgud-lang-posix-shell realgud:run
realgud-locals-mode realgud-breakpoint-mode realgud-backtrack-mode
realgud-track-mode realgud-backtrace-mode realgud-track realgud-init
realgud-file realgud-attach realgud-shortkey realgud-menu realgud-eval
realgud-cmds realgud-core realgud-reset realgud-bp realgud-bp-image-data
realgud-lang realgud-send realgud-window realgud-buffer-helper
realgud-buffer-breakpoint realgud-buffer-backtrace realgud-locals
realgud-buffer-locals realgud-utils realgud-buffer-command
realgud-buffer-info realgud-regexp realgud-lochist realgud-loc
realgud-buffer-source realgud-key realgud-custom key realgud-follow
loc-changes realgud-fringe realgud-helper load-relative inf-ruby rbenv
ruby-tools ruby-mode-expansions smartparens-ruby ruby-mode counsel xdg
swiper smex ido cmake-mode smartparens-rst rst eshell-vterm em-term
vterm face-remap term ehelp vterm-module term/xterm xterm em-smart
eshell-syntax-highlighting em-alias esh-mode shrink-path fish-mode
flycheck-plantuml plantuml-mode xml ob-plantuml graphviz-dot-mode
doc-view jka-compr image-mode exif cperl-mode-expansions cperl-mode
cua-base package-utils time ccls ccls-member-hierarchy
ccls-inheritance-hierarchy ccls-call-hierarchy ccls-tree ccls-code-lens
ccls-semantic-highlight ccls-common lsp-mode lsp-protocol spinner
network-stream puny nsm rmc smartparens-markdown markdown-mode lv f
f-shortdoc shortdoc epg rfc6068 epg-config which-key lpr
use-package-chords bind-chord equake buffer-focus-hook
org-capture-pop-frame org-capture org-refile web-server mm-encode
web-server-content-types web-server-status-codes eshell-git-prompt s
org-cua-dwim org-expiry el-get el-get-autoloading el-get-list-packages
el-get-dependencies el-get-build el-get-status el-get-methods
el-get-fossil el-get-svn el-get-pacman el-get-github-zip
el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go
el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify
el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs
el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get
el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload
radix-tree validate req-package view req-package-cycles req-package-args
req-package-hooks ht inline log4e use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
use-package-core prelude-yaml prelude-xml nxml-mode-expansions rng-nxml
rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap html-mode-expansions
sgml-mode facemenu dom nxml-util nxml-enc xmltok prelude-web
web-mode-expansions smartparens-html web-mode disp-table prelude-shell
sh-script smie executable prelude-ruby prelude-python prelude-perl
prelude-org the-org-mode-expansions org-element avl-tree smartparens-org
org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote
org-src ob-comint org-pcomplete org-list org-faces org-entities noutline
outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic
bibtex ol org-keys oc org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs prelude-js js2-mode-expansions js2-mode js-mode-expansions
smartparens-javascript js cc-mode-expansions smartparens-c cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs prelude-emacs-lisp prelude-lisp prelude-c prelude-programming
flycheck find-func hl-todo compat compat-macs which-func
prelude-key-chord key-chord prelude-company company-oddmuse
company-keywords make-mode company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company prelude-ivy two-column ivy ivy-faces ivy-overlay
colir color prelude-erc erc-truncate erc-track erc-match erc-autoaway
erc-spelling erc-notify erc-networks erc-log erc-goodies erc erc-backend
erc-loaddefs prelude-linux exec-path-from-shell
prelude-global-keybindings warnings prelude-editor editorconfig
editorconfig-core editorconfig-core-handle editorconfig-fnmatch
operate-on-number calc-bin calc-ext calc calc-loaddefs calc-macs diff-hl
smartrep log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode
winner undo-tree diff queue eshell esh-cmd esh-ext esh-opt esh-proc
esh-io esh-arg esh-module esh-groups esh-util re-builder whitespace
tabify browse-kill-ring derived midnight ediff ediff-merg ediff-mult
ediff-wind ediff-diff ediff-help ediff-init ediff-util dired-x dired
dired-loaddefs anzu avy projectile lisp-mnt mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr grep compile ibuf-ext ibuffer
ibuffer-loaddefs bookmark text-property-search expand-region
text-mode-expansions er-basic-expansions expand-region-core
expand-region-custom flyspell ispell rect etags fileloop generator xref
project volatile-highlights hl-line super-save windmove recentf
tree-widget savehist saveplace diminish smartparens-config
smartparens-text smartparens advice dash autorevert filenotify delsel
prelude-mode edmacro kmacro crux easy-mmode pcase tramp tramp-loaddefs
trampver tramp-integration files-x tramp-compat shell pcomplete comint
ansi-color ring parse-time iso8601 time-date ls-lisp format-spec
thingatpt imenu-anywhere imenu prelude-core epl prelude-ui zenburn-theme
prelude-custom prelude-packages cl-extra help-mode finder-inf preload
cus-edit pp cus-load wid-edit ede/auto eieio-base tex-site rx
realgud-recursive-autoloads cl info package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
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 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 emacs)

Memory information:
((conses 16 2427653 696067)
 (symbols 48 85570 62)
 (strings 32 379359 114192)
 (string-bytes 1 10987724)
 (vectors 16 131074)
 (vector-slots 8 2422995 586466)
 (floats 8 1318 2569)
 (intervals 56 140887 10141)
 (buffers 992 28))

--0000000000007c441405e188175c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Setup:<br>$ echo &quot;Hello, world!&quot; &gt; /tmp/hello=
.txt<br><br>Normal behavior:<br>$ gnome-terminal<br>;; now within terminal<=
br>$ gio open /tmp/hello.txt<br>;; GOOD RESULT - file is opened in app, as =
described by mime type. On my system, app is &#39;Xed&#39;<br><br>Emacs beh=
avior:<br>$ emacs -Q<br>;; now in emacs<br>M-x eshell<br>;; now in eshell b=
uffer<br>$ gio open /tmp/hello.txt<br>;; BAD RESULT - nothing happens, app =
not opened, silent failure, nothing<br>in message buffer<br>$ xdg-open /tmp=
/hello.txt<br>;; BAD RESULT - nothing happens, app not opened, silent failu=
re, nothing<br>in message buffer<div><br>I&#39;ve tried making my $ENV iden=
tical between normal terminal and eshell,<br>but I get the same results.<br=
><br>Thanks for your help,<div>Jeff Kowalski<br>---------<div><br>In GNU Em=
acs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version=
 1.16.0)<br>=C2=A0of 2022-05-30 built on lcy02-amd64-022<br>Windowing syste=
m distributor &#39;The X.Org Foundation&#39;, version 11.0.12013000<br>Syst=
em Description: Linux Mint 20.3<br><br>Configured using:<br>=C2=A0&#39;conf=
igure --build=3Dx86_64-linux-gnu --prefix=3D/usr<br>=C2=A0&#39;--includedir=
=3D${prefix}/include&#39; &#39;--mandir=3D${prefix}/share/man&#39;<br>=C2=
=A0&#39;--infodir=3D${prefix}/share/info&#39; --sysconfdir=3D/etc --localst=
atedir=3D/var<br>=C2=A0--disable-silent-rules &#39;--libdir=3D${prefix}/lib=
/x86_64-linux-gnu&#39;<br>=C2=A0&#39;--libexecdir=3D${prefix}/lib/x86_64-li=
nux-gnu&#39; --disable-maintainer-mode<br>=C2=A0--disable-dependency-tracki=
ng --prefix=3D/usr --sharedstatedir=3D/var/lib<br>=C2=A0--libexecdir=3D/usr=
/lib --localstatedir=3D/var/lib<br>=C2=A0--infodir=3D/usr/share/info --mand=
ir=3D/usr/share/man<br>=C2=A0--enable-locallisppath=3D/etc/emacs:/usr/local=
/share/emacs/28.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/ema=
cs/28.1/site-lisp:/usr/share/emacs/site-lisp<br>=C2=A0--program-suffix=3D28=
 --with-modules --with-file-notification=3Dinotify<br>=C2=A0--with-mailutil=
s --with-harfbuzz --with-json --with-zlib --with-x=3Dyes<br>=C2=A0--with-x-=
toolkit=3Dgtk3 --with-lcms2 --with-cairo --with-xpm=3Dyes<br>=C2=A0--with-g=
if=3Dyes --with-gnutls=3Dyes --with-jpeg=3Dyes --with-png=3Dyes<br>=C2=A0--=
with-tiff=3Dyes --with-xwidgets &#39;CFLAGS=3D-g -O2<br>=C2=A0-fdebug-prefi=
x-map=3D/build/emacs28-jmphgn/emacs28-28.1~1.git5a223c7f2e=3D. -fstack-prot=
ector-strong<br>=C2=A0-Wformat -Werror=3Dformat-security -no-pie&#39; &#39;=
CPPFLAGS=3D-Wdate-time<br>=C2=A0-D_FORTIFY_SOURCE=3D2&#39; &#39;LDFLAGS=3D-=
Wl,-Bsymbolic-functions -Wl,-z,relro<br>=C2=A0-no-pie&#39;&#39;<br><br>Conf=
igured features:<br>ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTIN=
GS HARFBUZZ JPEG<br>JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FL=
T MODULES NOTIFY<br>INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOO=
LKIT_SCROLL_BARS<br>X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB<br><br>Important se=
ttings:<br>=C2=A0 value of $LANG: en_US.UTF-8<br>=C2=A0 locale-coding-syste=
m: utf-8-unix<br><br>Major mode: Info<br><br>Minor modes in effect:<br>=C2=
=A0 minions-mode: t<br>=C2=A0 doom-modeline-mode: t<br>=C2=A0 dimmer-mode: =
t<br>=C2=A0 auto-dim-other-buffers-mode: t<br>=C2=A0 global-atomic-chrome-e=
dit-mode: t<br>=C2=A0 org-super-agenda-mode: t<br>=C2=A0 global-git-commit-=
mode: t<br>=C2=A0 magit-auto-revert-mode: t<br>=C2=A0 global-rbenv-mode: t<=
br>=C2=A0 counsel-mode: t<br>=C2=A0 eshell-vterm-mode: t<br>=C2=A0 eshell-s=
yntax-highlighting-global-mode: t<br>=C2=A0 cua-mode: t<br>=C2=A0 display-t=
ime-mode: t<br>=C2=A0 which-key-mode: t<br>=C2=A0 override-global-mode: t<b=
r>=C2=A0 global-flycheck-mode: t<br>=C2=A0 global-hl-todo-mode: t<br>=C2=A0=
 which-function-mode: t<br>=C2=A0 key-chord-mode: t<br>=C2=A0 global-compan=
y-mode: t<br>=C2=A0 company-mode: t<br>=C2=A0 ivy-mode: t<br>=C2=A0 erc-tru=
ncate-mode: t<br>=C2=A0 erc-track-mode: t<br>=C2=A0 erc-spelling-mode: t<br=
>=C2=A0 editorconfig-mode: t<br>=C2=A0 global-diff-hl-mode: t<br>=C2=A0 win=
ner-mode: t<br>=C2=A0 global-undo-tree-mode: t<br>=C2=A0 undo-tree-mode: t<=
br>=C2=A0 global-anzu-mode: t<br>=C2=A0 anzu-mode: t<br>=C2=A0 projectile-m=
ode: t<br>=C2=A0 volatile-highlights-mode: t<br>=C2=A0 global-hl-line-mode:=
 t<br>=C2=A0 super-save-mode: t<br>=C2=A0 windmove-mode: t<br>=C2=A0 recent=
f-mode: t<br>=C2=A0 savehist-mode: t<br>=C2=A0 save-place-mode: t<br>=C2=A0=
 show-smartparens-global-mode: t<br>=C2=A0 global-auto-revert-mode: t<br>=
=C2=A0 delete-selection-mode: t<br>=C2=A0 prelude-mode: t<br>=C2=A0 shell-d=
irtrack-mode: t<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br=
>=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mous=
e-wheel-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0 file-name-shadow-mode:=
 t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0=
 blink-cursor-mode: t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-enc=
ryption-mode: t<br>=C2=A0 auto-compression-mode: t<br>=C2=A0 buffer-read-on=
ly: t<br>=C2=A0 size-indication-mode: t<br>=C2=A0 column-number-mode: t<br>=
=C2=A0 line-number-mode: t<br>=C2=A0 transient-mark-mode: t<br><br>Load-pat=
h shadows:<br>/home/jeff/.emacs.d/elpa/git-modes-20220422.1611/gitignore-mo=
de hides /home/jeff/.emacs.d/elpa/gitignore-mode-20210528.1856/gitignore-mo=
de<br>/home/jeff/.emacs.d/elpa/el-get-20211224.959/el-get-install hides /ho=
me/jeff/.emacs.d/elpa/load-relative-20201130.2202/el-get-install<br>/home/j=
eff/.emacs.d/el-get/emacs-web-server/web-server-status-codes hides /home/je=
ff/.emacs.d/elpa/web-server-20210708.2242/web-server-status-codes<br>/home/=
jeff/.emacs.d/el-get/emacs-web-server/web-server hides /home/jeff/.emacs.d/=
elpa/web-server-20210708.2242/web-server<br>/home/jeff/.emacs.d/elpa/cmake-=
mode-20220322.1258/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode<b=
r>/home/jeff/.emacs.d/elpa/clang-format-20191121.1708/clang-format hides /u=
sr/share/emacs/site-lisp/clang-format/clang-format<br>/home/jeff/.emacs.d/e=
lpa/transient-20220527.2213/transient hides /usr/share/emacs/28.1/lisp/tran=
sient<br>/home/jeff/.emacs.d/el-get/flymake/flymake hides /usr/share/emacs/=
28.1/lisp/progmodes/flymake<br><br>Features:<br>(shadow sort mail-extr emac=
sbug sendmail goto-addr esh-autosuggest<br>em-unix em-script em-prompt em-l=
s em-hist em-pred em-glob em-cmpl<br>em-dirs esh-var em-basic em-banner dia=
ry-lib diary-loaddefs cal-iso<br>org-duration ffap ol-eww eww url-queue mm-=
url ol-rmail ol-mhe ol-irc<br>ol-info ol-gnus nnselect gnus-search eieio-op=
t speedbar ezimage dframe<br>gnus-art mm-uu mml2015 mm-view mml-smime smime=
 dig gnus-sum shr kinsoku<br>svg gnus-group gnus-undo gnus-start gnus-dbus =
dbus gnus-cloud nnimap<br>nnmail mail-source utf7 netrc nnoo gnus-spec gnus=
-int gnus-range<br>gnus-win gnus nnheader ol-docview ol-bibtex ol-bbdb ol-w=
3m ol-doi<br>org-link-doi origami origami-parsers solarized-gruvbox-dark-th=
eme<br>solarized-palettes rainbow-mode rainbow-delimiters elisp-slime-nav<b=
r>personal mule-util company-ispell company-anaconda anaconda-mode<br>pytho=
nic minions doom-modeline doom-modeline-segments doom-modeline-env<br>doom-=
modeline-core all-the-icons all-the-icons-faces data-material<br>data-weath=
ericons data-octicons data-fileicons data-faicons<br>data-alltheicons solar=
ized-theme solarized solarized-faces dimmer<br>auto-dim-other-buffers hydra=
 atomic-chrome websocket bindat let-alist<br>shackle trace org-ehtml org-eh=
tml-server ox-ehtml org-ehtml-util ox-org<br>org-lint org-attach org-id org=
-protocol org-clock org-super-agenda ts<br>htmlize org-habit ox-odt ox-late=
x ox-icalendar org-agenda ox-html table<br>ox-ascii ox-publish ox org-inden=
t ob-gnuplot ob-latex ob-dot ob-ruby<br>ob-python ob-shell ace-window magit=
-bookmark magit-submodule<br>magit-obsolete magit-popup magit-blame magit-s=
tash magit-reflog<br>magit-bisect magit-push magit-pull magit-fetch magit-c=
lone magit-remote<br>magit-commit magit-sequence magit-notes magit-worktree=
 magit-tag<br>magit-merge magit-branch magit-reset magit-files magit-refs m=
agit-status<br>magit magit-repos magit-apply magit-wip magit-log magit-diff=
 smerge-mode<br>git-commit log-edit message rfc822 mml mml-sec epa gnus-uti=
l rmail<br>rmail-loaddefs mm-decode mm-bodies mailabbrev mail-utils gmm-uti=
ls<br>mailheader add-log magit-core magit-autorevert magit-margin<br>magit-=
transient magit-process with-editor server magit-mode transient<br>magit-gi=
t magit-base magit-section crm compat-27 compat-26<br>platformio-mode async=
 irony-eldoc irony-completion irony-snippet<br>flycheck-irony irony-diagnos=
tics irony irony-iotask realgud-byebug<br>realgud:byebug-track-mode realgud=
:byebug-init realgud:byebug-core<br>realgud-pry realgud:pry-track-mode real=
gud:pry-init realgud:pry-core<br>realgud realgud-lang-java realgud-zshdb re=
algud:zshdb-track-mode<br>realgud:zshdb-core realgud:zshdb-init realgud-tre=
pan3k<br>realgud:trepan3k-track-mode realgud:trepan3k-core realgud:trepan3k=
-init<br>realgud-trepan2 realgud:trepan2-track-mode realgud:trepan2-core<br=
>realgud:trepan2-init realgud-trepanpl realgud:trepanpl-track-mode<br>realg=
ud:trepanpl-core realgud:trepanpl-init realgud-trepanjs<br>realgud:trepanjs=
-track-mode realgud:trepanjs-core realgud:trepanjs-init<br>realgud-lang-js =
realgud-trepan realgud:trepan-track-mode<br>realgud:trepan-core realgud:tre=
pan-init realgud-remake<br>realgud:remake-track-mode realgud:remake-core re=
algud:remake-init<br>realgud-rdebug realgud-rdebug-track-mode realgud-rdebu=
g-core<br>realgud-rdebug-init realgud-lang-ruby realgud-perldb<br>realgud:p=
erldb-track-mode realgud:perldb-core realgud:perldb-init<br>realgud-lang-pe=
rl realgud-pdb realgud:pdb-track-mode realgud:pdb-core<br>realgud:pdb-init =
realgud-lang-python python-el-fgallina-expansions<br>smartparens-python pyt=
hon tramp-sh realgud-kshdb<br>realgud:kshdb-track-mode realgud:kshdb-core r=
ealgud:kshdb-init<br>realgud-gub realgud:gub-track-mode realgud:gub-core re=
algud:gub-init<br>realgud-gdb realgud:gdb-track-mode realgud:gdb-init realg=
ud:gdb-core<br>realgud-bashdb realgud:bashdb-track-mode realgud:bashdb-core=
<br>realgud:bashdb-init realgud-lang-posix-shell realgud:run<br>realgud-loc=
als-mode realgud-breakpoint-mode realgud-backtrack-mode<br>realgud-track-mo=
de realgud-backtrace-mode realgud-track realgud-init<br>realgud-file realgu=
d-attach realgud-shortkey realgud-menu realgud-eval<br>realgud-cmds realgud=
-core realgud-reset realgud-bp realgud-bp-image-data<br>realgud-lang realgu=
d-send realgud-window realgud-buffer-helper<br>realgud-buffer-breakpoint re=
algud-buffer-backtrace realgud-locals<br>realgud-buffer-locals realgud-util=
s realgud-buffer-command<br>realgud-buffer-info realgud-regexp realgud-loch=
ist realgud-loc<br>realgud-buffer-source realgud-key realgud-custom key rea=
lgud-follow<br>loc-changes realgud-fringe realgud-helper load-relative inf-=
ruby rbenv<br>ruby-tools ruby-mode-expansions smartparens-ruby ruby-mode co=
unsel xdg<br>swiper smex ido cmake-mode smartparens-rst rst eshell-vterm em=
-term<br>vterm face-remap term ehelp vterm-module term/xterm xterm em-smart=
<br>eshell-syntax-highlighting em-alias esh-mode shrink-path fish-mode<br>f=
lycheck-plantuml plantuml-mode xml ob-plantuml graphviz-dot-mode<br>doc-vie=
w jka-compr image-mode exif cperl-mode-expansions cperl-mode<br>cua-base pa=
ckage-utils time ccls ccls-member-hierarchy<br>ccls-inheritance-hierarchy c=
cls-call-hierarchy ccls-tree ccls-code-lens<br>ccls-semantic-highlight ccls=
-common lsp-mode lsp-protocol spinner<br>network-stream puny nsm rmc smartp=
arens-markdown markdown-mode lv f<br>f-shortdoc shortdoc epg rfc6068 epg-co=
nfig which-key lpr<br>use-package-chords bind-chord equake buffer-focus-hoo=
k<br>org-capture-pop-frame org-capture org-refile web-server mm-encode<br>w=
eb-server-content-types web-server-status-codes eshell-git-prompt s<br>org-=
cua-dwim org-expiry el-get el-get-autoloading el-get-list-packages<br>el-ge=
t-dependencies el-get-build el-get-status el-get-methods<br>el-get-fossil e=
l-get-svn el-get-pacman el-get-github-zip<br>el-get-github-tar el-get-http-=
zip el-get-http-tar el-get-hg el-get-go<br>el-get-git-svn el-get-fink el-ge=
t-emacswiki el-get-http el-get-notify<br>el-get-emacsmirror el-get-github e=
l-get-git el-get-elpa el-get-darcs<br>el-get-cvs el-get-bzr el-get-brew el-=
get-builtin el-get-apt-get<br>el-get-recipes el-get-byte-compile el-get-cus=
tom el-get-core autoload<br>radix-tree validate req-package view req-packag=
e-cycles req-package-args<br>req-package-hooks ht inline log4e use-package =
use-package-ensure<br>use-package-delight use-package-diminish use-package-=
bind-key bind-key<br>use-package-core prelude-yaml prelude-xml nxml-mode-ex=
pansions rng-nxml<br>rng-valid rng-loc rng-uri rng-parse nxml-parse rng-mat=
ch rng-dt rng-util<br>rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap html-=
mode-expansions<br>sgml-mode facemenu dom nxml-util nxml-enc xmltok prelude=
-web<br>web-mode-expansions smartparens-html web-mode disp-table prelude-sh=
ell<br>sh-script smie executable prelude-ruby prelude-python prelude-perl<b=
r>prelude-org the-org-mode-expansions org-element avl-tree smartparens-org<=
br>org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote<br=
>org-src ob-comint org-pcomplete org-list org-faces org-entities noutline<b=
r>outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic<br>b=
ibtex ol org-keys oc org-compat org-macs org-loaddefs cal-menu calendar<br>=
cal-loaddefs prelude-js js2-mode-expansions js2-mode js-mode-expansions<br>=
smartparens-javascript js cc-mode-expansions smartparens-c cc-mode<br>cc-fo=
nts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars<br>cc-de=
fs prelude-emacs-lisp prelude-lisp prelude-c prelude-programming<br>flychec=
k find-func hl-todo compat compat-macs which-func<br>prelude-key-chord key-=
chord prelude-company company-oddmuse<br>company-keywords make-mode company=
-etags company-gtags<br>company-dabbrev-code company-dabbrev company-files =
company-clang<br>company-capf company-cmake company-semantic company-templa=
te<br>company-bbdb company prelude-ivy two-column ivy ivy-faces ivy-overlay=
<br>colir color prelude-erc erc-truncate erc-track erc-match erc-autoaway<b=
r>erc-spelling erc-notify erc-networks erc-log erc-goodies erc erc-backend<=
br>erc-loaddefs prelude-linux exec-path-from-shell<br>prelude-global-keybin=
dings warnings prelude-editor editorconfig<br>editorconfig-core editorconfi=
g-core-handle editorconfig-fnmatch<br>operate-on-number calc-bin calc-ext c=
alc calc-loaddefs calc-macs diff-hl<br>smartrep log-view pcvs-util vc-dir e=
woc vc vc-dispatcher diff-mode<br>winner undo-tree diff queue eshell esh-cm=
d esh-ext esh-opt esh-proc<br>esh-io esh-arg esh-module esh-groups esh-util=
 re-builder whitespace<br>tabify browse-kill-ring derived midnight ediff ed=
iff-merg ediff-mult<br>ediff-wind ediff-diff ediff-help ediff-init ediff-ut=
il dired-x dired<br>dired-loaddefs anzu avy projectile lisp-mnt mail-parse =
rfc2231 rfc2047<br>rfc2045 mm-util ietf-drums mail-prsvr grep compile ibuf-=
ext ibuffer<br>ibuffer-loaddefs bookmark text-property-search expand-region=
<br>text-mode-expansions er-basic-expansions expand-region-core<br>expand-r=
egion-custom flyspell ispell rect etags fileloop generator xref<br>project =
volatile-highlights hl-line super-save windmove recentf<br>tree-widget save=
hist saveplace diminish smartparens-config<br>smartparens-text smartparens =
advice dash autorevert filenotify delsel<br>prelude-mode edmacro kmacro cru=
x easy-mmode pcase tramp tramp-loaddefs<br>trampver tramp-integration files=
-x tramp-compat shell pcomplete comint<br>ansi-color ring parse-time iso860=
1 time-date ls-lisp format-spec<br>thingatpt imenu-anywhere imenu prelude-c=
ore epl prelude-ui zenburn-theme<br>prelude-custom prelude-packages cl-extr=
a help-mode finder-inf preload<br>cus-edit pp cus-load wid-edit ede/auto ei=
eio-base tex-site rx<br>realgud-recursive-autoloads cl info package browse-=
url url url-proxy<br>url-privacy url-expand url-methods url-history url-coo=
kie url-domsuf<br>url-util mailcap url-handlers url-parse auth-source cl-se=
q eieio<br>eieio-core cl-macs eieio-loaddefs password-cache json subr-x map=
<br>url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib=
<br>iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks<br=
>lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd<b=
r>tool-bar dnd fontset image regexp-opt fringe tabulated-list replace<br>ne=
wcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar<br>rf=
n-eshadow isearch easymenu timer select scroll-bar mouse jit-lock<br>font-l=
ock syntax font-core term/tty-colors frame minibuffer cl-generic<br>cham ge=
orgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao<br>korean =
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech<br>european et=
hiopic indian cyrillic chinese composite emoji-zwj charscript<br>charprop c=
ase-table epa-hook jka-cmpr-hook help simple abbrev obarray<br>cl-preloaded=
 nadvice button loaddefs faces cus-face macroexp files<br>window text-prope=
rties overlay sha1 md5 base64 format env code-pages<br>mule custom widget h=
ashtable-print-readable backquote threads<br>xwidget-internal dbusbind inot=
ify lcms2 dynamic-setting<br>system-font-setting font-render-setting cairo =
move-toolbar gtk x-toolkit<br>x multi-tty make-network-process emacs)<br><b=
r>Memory information:<br>((conses 16 2427653 696067)<br>=C2=A0(symbols 48 8=
5570 62)<br>=C2=A0(strings 32 379359 114192)<br>=C2=A0(string-bytes 1 10987=
724)<br>=C2=A0(vectors 16 131074)<br>=C2=A0(vector-slots 8 2422995 586466)<=
br>=C2=A0(floats 8 1318 2569)<br>=C2=A0(intervals 56 140887 10141)<br>=C2=
=A0(buffers 992 28))<br></div></div></div></div>

--0000000000007c441405e188175c--




Acknowledgement sent to Jeff Kowalski <jeff.kowalski@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#56013; 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, 23 Nov 2022 23:00:01 UTC

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