From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add facility to collect stderr of async subprocess Date: Thu, 06 Oct 2016 10:55:29 +0300 Message-ID: <83vax5kj2m.fsf@gnu.org> References: <83pp87y6iu.fsf@gnu.org> <83mw3bxz9f.fsf@gnu.org> <83k2yfx8zi.fsf@gnu.org> <83egomxog1.fsf@gnu.org> <83ego5tjgt.fsf@gnu.org> <877ftno4fr.fsf-ueno@gnu.org> <55247A98.5020302@cs.ucla.edu> <83r3rvgn4e.fsf@gnu.org> <877ftja89d.fsf-ueno@gnu.org> <87wphnwh2q.fsf@gmail.com> <83zimjl1zp.fsf@gnu.org> <83vax7l00s.fsf@gnu.org> <83y422j7br.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475740600 21847 195.159.176.226 (6 Oct 2016 07:56:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2016 07:56:40 +0000 (UTC) Cc: jwiegley@gmail.com, michael.albinus@gmx.de, emacs-devel@gnu.org To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 09:56:33 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bs3XR-0003e8-5Y for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 09:56:21 +0200 Original-Received: from localhost ([::1]:53823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs3XP-0000dU-Ln for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 03:56:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs3Wi-0000d0-Ml for emacs-devel@gnu.org; Thu, 06 Oct 2016 03:55:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bs3Wg-0004gp-JS for emacs-devel@gnu.org; Thu, 06 Oct 2016 03:55:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs3Wa-0004cY-OC; Thu, 06 Oct 2016 03:55:28 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2369 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bs3WY-0004y3-Kh; Thu, 06 Oct 2016 03:55:27 -0400 In-reply-to: (message from Tino Calancha on Thu, 6 Oct 2016 16:25:39 +0900 (JST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208025 Archived-At: > From: Tino Calancha > Date: Thu, 6 Oct 2016 16:25:39 +0900 (JST) > cc: Tino Calancha , jwiegley@gmail.com, > emacs-devel@gnu.org, michael.albinus@gmx.de > > As a bonus, several other functions will automatically inherit this > feature: `start-file-process', `start-process-shell-command', and > `start-file-process-shell-command'. As Micheal explained, start-file-process and start-file-process-shell-command cannot inherit this without some non-trivial coding for the remote case. > Personally, i find pleasant if every function creating an asynchronous > process us able to separate stdout from stderr. Actually, the need in this separation is rather rare. Which is not surprising, since running commands from a terminal by default delivers both stdout and stderr to the screen, and the cases where these are redirected separately are rare.