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 11:53:56 +0300 Message-ID: <83twcpkgd7.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> <83vax5kj2m.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475744114 21999 195.159.176.226 (6 Oct 2016 08:55:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2016 08:55:14 +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 10:55:08 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 1bs4S1-0003AP-TS for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 10:54:50 +0200 Original-Received: from localhost ([::1]:54056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs4S0-0008Il-Il for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 04:54:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs4RG-0008Fi-Tu for emacs-devel@gnu.org; Thu, 06 Oct 2016 04:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bs4RF-0004G1-11 for emacs-devel@gnu.org; Thu, 06 Oct 2016 04:54:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs4R8-0004Eu-JM; Thu, 06 Oct 2016 04:53:54 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2431 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bs4R6-0005g4-JM; Thu, 06 Oct 2016 04:53:53 -0400 In-reply-to: (message from Tino Calancha on Thu, 6 Oct 2016 17:37:05 +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:208027 Archived-At: > From: Tino Calancha > Date: Thu, 6 Oct 2016 17:37:05 +0900 (JST) > Cc: jwiegley@gmail.com, Emacs developers , > michael.albinus@gmx.de, Tino Calancha > > > 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. > It depends of what the user is doing. `shell-command' and > `async-shell-command' have being offering that since long time ago. > > It is quite common redirect stderr from a shell: all shells allow that > AFAIK. My point is not about allowing it -- we definitely do. My point is about the importance of having this in every API. I'm saying that this feature is relatively rarely needed, that's all. How many times did you need to redirect stderr separately from stdout in shell commands you run from the shell prompt?