From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: `message' not outputting the newline "atomically" Date: Thu, 20 Jun 2019 15:52:56 +0300 Message-ID: <83a7ecquzb.fsf@gnu.org> References: <83y31xr3aa.fsf@gnu.org> <26154872-1a5c-7302-0f32-b16aff8e0ae7@cs.ucla.edu> <83blytq90m.fsf@gnu.org> <95de57fb-ef8c-a65f-d3ca-4a9e7f0f38bc@cs.ucla.edu> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="254658"; mail-complaints-to="usenet@blaine.gmane.org" Cc: schwab@suse.de, larsi@gnus.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 20 14:54:16 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdwZw-00142w-Pr for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2019 14:54:12 +0200 Original-Received: from localhost ([::1]:47476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdwZr-0001gw-2D for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2019 08:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41031) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdwYx-0001Ac-EE for emacs-devel@gnu.org; Thu, 20 Jun 2019 08:53:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdwYw-0003jJ-DX; Thu, 20 Jun 2019 08:53:10 -0400 Original-Received: from [176.228.60.248] (port=1672 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hdwYv-0003CB-5x; Thu, 20 Jun 2019 08:53:09 -0400 In-reply-to: <95de57fb-ef8c-a65f-d3ca-4a9e7f0f38bc@cs.ucla.edu> (message from Paul Eggert on Thu, 20 Jun 2019 00:47:05 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:237958 Archived-At: > Cc: schwab@suse.de, larsi@gnus.org, emacs-devel@gnu.org > From: Paul Eggert > Date: Thu, 20 Jun 2019 00:47:05 -0700 > > I fixed it on GNU and similar platforms by installing the attached patch into > Emacs master. I fixed some other minor stdio glitches while I was in the > neighborhood. I don't think I like this change. stderr is unbuffered for a reason, and that reason is relevant for Emacs as well: important messages, especially about errors and problems should not be lost because Emacs crashes at an un-opportune moment. The original issue is at worst a minor inconvenience, whereas the "solution" adversely affects much more serious use cases. So on balance I don't think we should install this change. As I wrote earlier, people who want to avoid mixing messages in parallel builds can use the GNU Make's -O option. That does the job without impacting the rest of Emacs in any way.