[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `message' not outputting the newline "atomically"

From: Eli Zaretskii
Subject: Re: `message' not outputting the newline "atomically"
Date: Sat, 22 Jun 2019 10:32:49 +0300

> Cc: address@hidden, address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> Date: Fri, 21 Jun 2019 17:20:56 -0700
> On 6/20/19 10:46 PM, Eli Zaretskii wrote:
> >> Every important Emacs stderr message ends in newline
> > So now we will have to enforce this all over the place
> It's already enforced, in the sense that (a) it's standard practice 
> anyway, (b) a stderr diagnostic without a trailing newline is a bug 
> since it'll mess up formatting for the next stderr diagnostic, and (c) 
> POSIX allows platforms to line-buffer stderr by default and Emacs has 
> been working on such platforms for ages anyway.

It isn't a bug, because an error message could legitimately be output

> If it helps, I can audit all uses of stderr in the Emacs source

You will audit the sources from now to eternity?  I don't think
auditing is a valid solution for such problems.

> > people don't expect stderr to be buffered
> Actually I expected stderr to be line-buffered

It's possible that you are an exception.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]