From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: [PATCH 2/3] Don't print "process finished" into the stderr buffer.
Date: Mon, 22 Apr 2019 17:45:15 +0200
Message-ID:
References: <20180404120218.257212-1-phst@google.com>
<20180404120218.257212-2-phst@google.com> <834lkr3ygo.fsf@gnu.org>
<83lgdxzvs2.fsf@gnu.org>
<83imv9b0b0.fsf@gnu.org>
<831s1u8jp2.fsf@gnu.org>
<837ebm6p3k.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
logging-data="198525"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: Stefan Monnier ,
Emacs developers
To: Eli Zaretskii
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 22 17:45:49 2019
Return-path:
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
(Exim 4.89)
(envelope-from )
id 1hIb8c-000pSC-VD
for ged-emacs-devel@m.gmane.org; Mon, 22 Apr 2019 17:45:47 +0200
Original-Received: from localhost ([127.0.0.1]:39121 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1hIb8c-0005oe-0S
for ged-emacs-devel@m.gmane.org; Mon, 22 Apr 2019 11:45:46 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:60765)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1hIb8P-0005nN-Pj
for emacs-devel@gnu.org; Mon, 22 Apr 2019 11:45:34 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1hIb8O-0001Hz-U6
for emacs-devel@gnu.org; Mon, 22 Apr 2019 11:45:33 -0400
Original-Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]:38110)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1hIb8K-0001A4-KH; Mon, 22 Apr 2019 11:45:28 -0400
Original-Received: by mail-oi1-x242.google.com with SMTP id a6so8776705oie.5;
Mon, 22 Apr 2019 08:45:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=7I/77qXE/ITKgIw18qgoBQmaYAovKsUos+u3Gep4r7E=;
b=Xg9SaufQuCxiYSLBlK7Pd5ztFlLRq6mnjwPWYJXMzzieWJM2enROrNoKY+I5fyfskV
iFfAlQlwRTkHb/PtbUi2Hkqx3He6ZHyoq34UNLVvlN+cAgXpXDHKdMRpGfBRW70BC4S2
NGGuLVK++6M/5TmGjhgi2qkrnuC3PDJI42piVBwBRrCADheP8RIDwMOYpEZANviSq1b+
kjdh+1RVy0t4ADcJ35LyddB4uxQAlR9RF+BTVxoyT3pPPoE//3NdQhEhzCRhjhwJrPVk
VM8/kSqe3V3DPd2uLBPrdik8tHQEQWbTvWvN/DKAKfkLuVbe0VZWUDhX0+5wIoVcfo2w
Ntmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=7I/77qXE/ITKgIw18qgoBQmaYAovKsUos+u3Gep4r7E=;
b=nX2jKcK76dBfgAa+mhu8WeJ6foyqW3fQLf3Yxigw4OXrFDWvZfGuxhPB1YJPErr+2c
WUlEEBOkOF+/oExrfm6Ro0G0A51zYv7r91qF0WHJ3FUZubVaBtLZvWP7JuZesn+fFglp
5raOnebNm8CEG8XCWFBtpsyDgAN7rr9BznQyicaP3Ok4Z3cl0VTuS/z5mSzVhhWxUSTy
Y8Y2P22kOsnGX36CExZkX01eTf3whwKMGlnRKtRNPsk6MW+u1ppm9lm83DtaxM558ZmP
CQIu9xHn185LIvi+uB8gaDW1gMPL1kMkSiAOspM2lKCiJIBGxrZ7alLXumv6vSsY5f+b
Wdew==
X-Gm-Message-State: APjAAAVtL4h5vYapZff4ReudlrDw/QmfJgfEaMDV5r+n4jah1b6a3d6b
mWMRZ8PcgnAiyqiQaPOcxwMNAqx2l9N71E3Ub0F26c1T
X-Google-Smtp-Source: APXvYqzRqfWXTAuPRfyX7qKKAkhFStv72eDvBNGzAQA4u7VyjeV6OUiUUGdqHpDZ8BHSKD9/yRtAk20fYGoGWjppjy4=
X-Received: by 2002:aca:310a:: with SMTP id x10mr10911264oix.161.1555947927082;
Mon, 22 Apr 2019 08:45:27 -0700 (PDT)
In-Reply-To: <837ebm6p3k.fsf@gnu.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 2607:f8b0:4864:20::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:235772
Archived-At:
Am Mo., 22. Apr. 2019 um 17:27 Uhr schrieb Eli Zaretskii :
>
> > From: Stefan Monnier
> > Date: Mon, 22 Apr 2019 10:43:32 -0400
> > Cc: emacs-devel@gnu.org
> >
> > > By "this behavior" do you mean only the "normal" case, or also the
> > > abnormal termination case, in which case we show the reason of the
> > > abnormal termination?
> >
> > The latter: there's no point showing the abnormal termination on both
> > outputs, I think.
>
> If it will show on both. Are we sure it will?
>
A pipe can't terminate abnormally like a process, so the output will
always be "finished":
$ emacs -Q -batch -eval '(progn (make-process :name "test" :command
(list "/usr/bin/false") :stderr "*stderr*" :sentinel (function
ignore)) (sit-for 1) (with-current-buffer "*stderr*" (message "stderr
= %S" (buffer-string))))'
stderr = "
Process test stderr finished
"