From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add facility to collect stderr of async subprocess Date: Thu, 06 Oct 2016 07:15:42 +0000 Message-ID: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11422f3e63b134053e2d10c9 X-Trace: blaine.gmane.org 1475738223 5939 195.159.176.226 (6 Oct 2016 07:17:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2016 07:17:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii , Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 09:16:59 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 1bs2vE-0008WU-Rh for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 09:16:53 +0200 Original-Received: from localhost ([::1]:53648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs2vD-0005M5-6z for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 03:16:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs2uM-0005KT-Ji for emacs-devel@gnu.org; Thu, 06 Oct 2016 03:15:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bs2uL-0008M8-Fo for emacs-devel@gnu.org; Thu, 06 Oct 2016 03:15:58 -0400 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:37976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bs2uI-0008LM-Kb; Thu, 06 Oct 2016 03:15:54 -0400 Original-Received: by mail-wm0-x230.google.com with SMTP id p138so26931366wmb.1; Thu, 06 Oct 2016 00:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O1dBSdhXiguke0d6fK/eSDJihCEjyx23AgpmqskKY4o=; b=YJt1Qe5mUNmXZfTaiy+yGKY+k/u5ClqmM/h01ieo80XykXlYael9t1e9R6rPm2kq1I awmd1YrecgTZNqqyu9Vcv6m0ornONYylVYBlO7Hd9FI8/T8IFyb3029Y1llDHBhZezid qH+aqERrhs2ISh5G6nitDleXBABOZMkpzg2gTilQ8P17gkcljNaBmXC3mbZdutcAMico i6ODzo8LNrR8K1c22Niq+y7Ji6ABDTH2zNdzhsu7cpu7wIOB4MB8Vgfuqxx/xUN309pw sjmeH2nBkZfZhMWY8rMq2dAsZfYuFryfFawjIWlbLsiCzaWVaDfd+SdRvBZYktUvte+l rmjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O1dBSdhXiguke0d6fK/eSDJihCEjyx23AgpmqskKY4o=; b=CMnAwMYVaeZwXbyWgjubIvc3kKyGFx+/3owwQRJojorf3poGYuu3mPdHxD2/aj37+p aQ88LnaXQXS+MJSclTjciPdo6o4+yA8xGinzmu+kET9Bm6YlxqKRDFYNB3vdgf5WMqPv aZ2cVnus27nW7aE3SrJZvLL+XLydBv0o4NHI0Mmqme+DBR4WzM/7aZpOLdU4O/35Lp2a NSlC2A3xAIqsmd+APkDc0LgqvfIpraY1BVrYUJQ5dZAefFgeFPflPv6w+giyfWPmfiWG /ind4WDllmgbaX+Nu0Jnrh+207RWd7LdALAmmoEnS9yLPOPnBDIuJ8IZOzv/sLkZhBVl TQuA== X-Gm-Message-State: AA6/9Rno82ZW/rbV1TpbvoPB2NsYa+N7TxZubexsSE631Lygq/Rw9X9WzeCCCElSpM85250I10z1YglebcjKfA== X-Received: by 10.28.129.85 with SMTP id c82mr6804577wmd.86.1475738152970; Thu, 06 Oct 2016 00:15:52 -0700 (PDT) In-Reply-To: <83vax7l00s.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 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:208021 Archived-At: --001a11422f3e63b134053e2d10c9 Content-Type: text/plain; charset=UTF-8 Eli Zaretskii schrieb am Mi., 5. Okt. 2016, 09:38: > > 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? > My opinion would be to mark start-process as obsolete. > --001a11422f3e63b134053e2d10c9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Eli Zaretskii <eliz@gnu.org> schrieb am Mi., 5. Okt. 201= 6, 09:38:
> From: Tino Calancha = <tino.calancha@gmail.com>
> Date: Wed, 5 Oct 2016 16:10:25 +0900 (JST)
> cc: Tino Calancha <tino.calancha@gmail.com>, 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= 9;, so
> it's easier to remember.

So you see an advantage where I see a disadvantage.=C2=A0 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, wh= en
> > 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.=C2=A0 Not my case, though.

Does anyone else have an opinion on this proposal?
<= /blockquote>

My opinion would be to mark start-pro= cess as obsolete.
--001a11422f3e63b134053e2d10c9--