[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
piecemeal.
> 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.
- Re: `message' not outputting the newline "atomically", (continued)
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/20
- Re: `message' not outputting the newline "atomically", Andreas Schwab, 2019/06/20
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/20
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/20
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/20
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/20
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/20
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/21
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/21
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/21
- Re: `message' not outputting the newline "atomically",
Eli Zaretskii <=
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/22
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/22
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/23
- Re: `message' not outputting the newline "atomically", Lars Ingebrigtsen, 2019/06/23
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/23
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/23
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/23
- Re: `message' not outputting the newline "atomically", Stefan Monnier, 2019/06/23
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/23
- Re: `message' not outputting the newline "atomically", Stefan Monnier, 2019/06/24