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: Wed, 05 Oct 2016 10:37:07 +0300 Message-ID: <83vax7l00s.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475653185 9851 195.159.176.226 (5 Oct 2016 07:39:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 07:39:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 05 09:39:35 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 1brgnM-0007X4-Mu for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2016 09:39:16 +0200 Original-Received: from localhost ([::1]:46925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brgnL-0004Uv-A9 for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2016 03:39:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brglL-0003ik-WA for emacs-devel@gnu.org; Wed, 05 Oct 2016 03:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brglH-0001TJ-R2 for emacs-devel@gnu.org; Wed, 05 Oct 2016 03:37:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brglH-0001T7-NZ; Wed, 05 Oct 2016 03:37:07 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4698 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1brglF-0002AS-V8; Wed, 05 Oct 2016 03:37:06 -0400 In-reply-to: (message from Tino Calancha on Wed, 5 Oct 2016 16:10:25 +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:207993 Archived-At: > From: Tino Calancha > Date: Wed, 5 Oct 2016 16:10:25 +0900 (JST) > cc: Tino Calancha , emacs-devel@gnu.org > > > This proposal has a disadvantage of being confusingly similar to what > > call-process provides, except that there the cdr is a file name, not a > > buffer. > I see as an advantage: it follows similar syntaxis as `call-process', so > it's easier to remember. So you see an advantage where I see a disadvantage. Interesting. > The difference 'buffer' <--> 'file' makes clear in the doc strings. It is IME best not to create confusion that requires to read the documentation in the first place. > > What advantages do you see to adding this convenience feature, when > > make-process already provides it? > Again, some people may be familiar with (buf-out . buf-err) idiom from > `call-process', and they may be reluctant to use functions using > keyword arguments. Not my case, though. Does anyone else have an opinion on this proposal?