From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 2/3] Don't print "process finished" into the stderr buffer. Date: Sun, 21 Apr 2019 16:57:12 -0400 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95297"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 21 23:08:18 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 1hIJhC-000OeT-I7 for ged-emacs-devel@m.gmane.org; Sun, 21 Apr 2019 23:08:18 +0200 Original-Received: from localhost ([127.0.0.1]:57128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIJhB-0000qi-Gn for ged-emacs-devel@m.gmane.org; Sun, 21 Apr 2019 17:08:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIJg5-0000mS-8V for emacs-devel@gnu.org; Sun, 21 Apr 2019 17:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIJWf-0001Ef-PY for emacs-devel@gnu.org; Sun, 21 Apr 2019 16:57:27 -0400 Original-Received: from [195.159.176.226] (port=40690 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIJWf-0001D3-9H for emacs-devel@gnu.org; Sun, 21 Apr 2019 16:57:25 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hIJWa-000BUd-P2 for emacs-devel@gnu.org; Sun, 21 Apr 2019 22:57:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:qf86yqma/VAOg/o/uZ/30yXQ+f0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:235740 Archived-At: >> > But I'm guessing that the current behavior was unexpected for some >> > reason, and that's why you looked in the documentation. If the guess >> > is correct, could you describe why it was unexpected/unwanted? >> >> It's unexpected that Emacs writes something. This is an instance of >> the general case that by default you expect nothing to happen instead >> of something, unless you request the "something". For example, after >> $ echo foo > bar >> would you expect that the file "bar" contains content other than >> "foo\n" because the shell decides to write additional text before >> closing redirections? This is the same thing. > > But Emacs does that for ages, so in Emacs this is veteran behavior of > the default sentinel function. FWIW, I don't much like this behavior and since the stderr case is new I think we don't have to inherit this part of the behavior. Stefan