From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Kowalski Newsgroups: gmane.emacs.bugs Subject: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under eshell Date: Wed, 23 Nov 2022 19:09:35 -0800 Message-ID: References: <87h74kes5l.fsf@gnus.org> <87czf88yre.fsf@igel.home> <87ilozbivd.fsf@gnus.org> <292942b6-4a7f-0002-2af4-210b32612ba1@gmail.com> <381f9df9-4442-4580-17f5-6590f7326e3b@gmail.com> <18d536c3-13c7-f1cf-ab64-72ba7b8931dc@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d0ce0a05ee2ebc9e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56013@debbugs.gnu.org, Lars Ingebrigtsen , Andreas Schwab To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 24 09:57:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oy82n-0002ow-MU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 09:57:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy82c-0003uf-3K; Thu, 24 Nov 2022 03:57:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy82Z-0003t3-Vl for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 03:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy82Z-0004FX-Nn for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 03:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oy82Z-0001lR-JW for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 03:57:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jeff Kowalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2022 08:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56013 X-GNU-PR-Package: emacs Original-Received: via spool by 56013-submit@debbugs.gnu.org id=B56013.16692801896687 (code B ref 56013); Thu, 24 Nov 2022 08:57:03 +0000 Original-Received: (at 56013) by debbugs.gnu.org; 24 Nov 2022 08:56:29 +0000 Original-Received: from localhost ([127.0.0.1]:57186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy821-0001jg-CV for submit@debbugs.gnu.org; Thu, 24 Nov 2022 03:56:29 -0500 Original-Received: from mail-vs1-f48.google.com ([209.85.217.48]:34423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy2cb-0002pG-1R for 56013@debbugs.gnu.org; Wed, 23 Nov 2022 22:09:54 -0500 Original-Received: by mail-vs1-f48.google.com with SMTP id i2so411309vsc.1 for <56013@debbugs.gnu.org>; Wed, 23 Nov 2022 19:09:53 -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=6aYOaNwY0UII1Oj0gwwEtN7hXJePFBj7F1S9mOiKTFs=; b=fyH6ilPs0VUMi+L48hssoEnxU4EIoyKMAVbamMB3Ta4JZMyeFV+x4hPd3zM6bTuHe2 QWawgp+bAXRqyo7YzILkT/KssLxHV9hYLySKNCUKLNpcW68GxhB55/zmyx5mVetYtvMz lrOKAtWfbDF1S5xd4+TGRuo1ftXojI//uPHxjaV9Y5psNZBrvign5MfKP0l5bR9eZLaV AJBECEkeqREoX2DN5p3cMgzuMb6kP+SIz2yiZqPr9jYYNnOgTLdj58P6FyOZ1+e+O+VD WNsVelPtgGytvAdzDY85zvwFmh2I+vkPxKxYDlG6nYA4bFAR06vaL3ItfKlspcuZp87I zaDQ== 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=6aYOaNwY0UII1Oj0gwwEtN7hXJePFBj7F1S9mOiKTFs=; b=TaqXE1Djjd6ByS+p+PMDlFFpBqhTz5ryqozjIuGsnDWpIClvPX7tRRHeOtjMmIqNmw h50FahyJ6KX40fB/iAZJNA2bsnGlTnXxZCUjamqLkh/mvHteQqwGa4pVclOmI8x0PyMU e9aXbBG0sdvnmlhXXRPcsGmrzY7YxJRjKBtUjdm4hoI5Bt1HRznSx/Y6Wg83m7FdZzDu XByBXDfEhPC4gqqyd2vQGmfaKdLaRbnXWdkXYOpVl1UZOasfJMGUdY54PIUpETEyiRGn BGUfnwkdX6wHsv0BWccqEOC28njPI0GjCZ+vayU3StbQ7bM0ZWUCLBD/paQR5k0P+/0R 1nMw== X-Gm-Message-State: ANoB5pkcz+7zOFQQ5MNc41l+rYfiLmOR0f4novv5v77904s9ouyU0kwM lSHdPRRj6vC/ze34O8C3UoOR6Yi/5B8zjcEOA+QSLAKx8Wk= X-Google-Smtp-Source: AA0mqf5VXCgaccKleuP1FNIIpH661mCG8hDvove6iy0SRGPN/XPvHQioOfAZ4LBdIl/QPa5fOVt7KiScnwEcLSi0hSQ= X-Received: by 2002:a05:6102:159f:b0:3b0:51c3:fab9 with SMTP id g31-20020a056102159f00b003b051c3fab9mr6195920vsv.63.1669259387259; Wed, 23 Nov 2022 19:09:47 -0800 (PST) In-Reply-To: <18d536c3-13c7-f1cf-ab64-72ba7b8931dc@gmail.com> X-Mailman-Approved-At: Thu, 24 Nov 2022 03:56:19 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248832 Archived-At: --000000000000d0ce0a05ee2ebc9e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm sorry, thanks for checking. I didn't realize you meant v29. I'm using GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-30 Is there something more I can help you with? On Wed, Nov 23, 2022 at 2:59 PM Jim Porter wrote: > On 11/22/2022 1:00 PM, Jeff Kowalski wrote: > > 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. > > 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... > > --000000000000d0ce0a05ee2ebc9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm= sorry, thanks for checking.=C2=A0 I didn't realize you meant v29.
= I'm using GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.= 24.33, cairo version 1.16.0) of 2022-05-30
Is there something mor= e I can help=C2=A0you with?

On Wed, Nov 23, 2022 at = 2:59 PM Jim Porter <jporterbugs@gmail.com> wrote:
On 11/22/2022 1:00 PM, Jeff Kowalski wrote:
> Thanks for the response and suggestion.
>=C2=A0 From eshell,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=CE=BB xdg-open file.txt
> exits immediately, without opening file.txt, and
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=CE=BB cat | xdg-open file.txt | cat
> shows the same behavior, but
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=CE=BB 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 <= br> pipe for its IO) probably wouldn't work, leaving us back at square one =
for this bug...

--000000000000d0ce0a05ee2ebc9e--