GNU bug report logs - #12972
24.3.50; Move `org-open-file' and associated code out of Org mode

Previous Next

Packages: org-mode, emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 23 Nov 2012 19:16:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #53 received at 12972 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Nikulin <manikulin <at> gmail.com>
To: 12972 <at> debbugs.gnu.org
Subject: Re: bug#12972: [PATCH] Avoid regression in mailcap-view-file similar
 to Bug#44824
Date: Mon, 5 Jul 2021 20:12:34 +0700
By mistake I sent the message below as private one at first. However it 
actually does not add anything new to my previous comments to the bug.

On 04/07/2021 20:49, Eli Zaretskii wrote:
>> From: Maxim Nikulin Date: Sun, 4 Jul 2021 20:37:24 +0700
> 
> Sorry, I'm not sure I understand what this is all about.  Are you
> still talking about the patch you proposed?

Yes, I am. It is about proper way to a launch viewer in 
`mailcap-view-file'. Original `start-process-shell-command' with 'pty 
connection type prematurely kills children of kde-open5 or gio open. 
With 'pipe connection type it or `make-process' might make emacs CPU 
hungry if a child decides to close stdout and stderr:

>> #!/bin/sh
>> exec 1>&-
>> exec 2>&-
>> sleep 30

and finally `process-file-shell-command' does not allow to report 
failure. Moreover you suspect another secret compatibility problem with 
'pipe.




This bug report was last modified 3 years and 299 days ago.

Previous Next


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