From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add facility to collect stderr of async subprocess Date: Wed, 5 Oct 2016 16:10:25 +0900 (JST) 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1475651460 8148 195.159.176.226 (5 Oct 2016 07:11:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 07:11:00 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: emacs-devel@gnu.org, Tino Calancha To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 05 09:10:56 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 1brgLp-0000vz-SX for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2016 09:10:49 +0200 Original-Received: from localhost ([::1]:46838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brgLo-0005oX-G3 for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2016 03:10:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brgLe-0005lk-Sk for emacs-devel@gnu.org; Wed, 05 Oct 2016 03:10:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brgLc-0002jy-U4 for emacs-devel@gnu.org; Wed, 05 Oct 2016 03:10:37 -0400 Original-Received: from mail-pa0-x242.google.com ([2607:f8b0:400e:c03::242]:33555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brgLV-0002hx-5M; Wed, 05 Oct 2016 03:10:29 -0400 Original-Received: by mail-pa0-x242.google.com with SMTP id hh10so3696763pac.0; Wed, 05 Oct 2016 00:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=kl/w1ZKq3IIrxRqN2CQJ9Idgad0nR0my239Tc50gcS8=; b=Qlq2V9rzwVnVXDGP1hd+SNz8A59ULEHkWSYERc901pcfQTclscZuLIFBxT2jfIJA8e 07Qf8GZBXavEBZsI3RBHDju+DzgjOcCjakJFPSbXz+4qriH2Wtk1J2p9lghlTbJhvQV2 hMwTdWiN2+tUEfIhehOB06WXOgR2abfLcm+bJjwI12G62veld2/D5a9l0ZKJ2JdO4ixG Ta+SuA5g4RJGx8J/JvL1XnsKegpRcoVC9yQ+a4hW9ZmR79djcI7zbqxSgJKuv9oU2ofz e/DnG+p33DZgFLDr54TINvAmUVq72vTQGDYaR+qglDvdSeU20zGSK9raw6M4c2rD/pcm yURw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=kl/w1ZKq3IIrxRqN2CQJ9Idgad0nR0my239Tc50gcS8=; b=GqWHMuzP8VbIwfAA4mYpQ29kKDTjfTm5ISz0BFq2JR7YAkTluoK4/ZW4a8egxcj9BB Y/LIagh5Az+CKZd4u4/6CCbOiEQxH9hqk9y9gy4/PSrOrdx5LvB0FdWAmADGd0aRDrHH ORftvQa5onmfN+RZddI5wjSswhd2uKuRZVaXZssDPd/oqXIunHUkSEH+peBIACqOj+S1 0591eq9fJxs1MpUUc2it2OOy/EvyYUMtbbrN1jqLioz+BvGCWr6NPydl4gTsAFJvM2Jl Dk7TdT8vBxqn+ZcZDb8UnhEOULHbj7jq587qX+h87+Bl1l9Pnxc3rkNGBpU/kEnHy1+v ObMA== X-Gm-Message-State: AA6/9RnLr5CnHf9daqbkYA3FDZz+QyoRFbfvTKi3d86fSmemFOMiJHOOE+zMYo4BqpA3+Q== X-Received: by 10.66.232.106 with SMTP id tn10mr11393410pac.17.1475651428141; Wed, 05 Oct 2016 00:10:28 -0700 (PDT) Original-Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id 28sm5684129pft.76.2016.10.05.00.10.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Oct 2016 00:10:27 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <83zimjl1zp.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::242 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:207991 Archived-At: On Wed, 5 Oct 2016, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Wed, 05 Oct 2016 13:33:17 +0900 >> Cc: tino.calancha@gmail.com >> >> How about to allow direct standard-error output to a different buffer >> in start-process as well? > > 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. The difference 'buffer' <--> 'file' makes clear in the doc strings. > 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.