[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `message' not outputting the newline "atomically"
From: |
Stefan Monnier |
Subject: |
Re: `message' not outputting the newline "atomically" |
Date: |
Sun, 23 Jun 2019 08:53:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> What if Emacs crashes half way through that loop, because 'i' is
> computed incorrectly? With line buffering, we risk not seeing
> anything.
Seeing none of the 32 bytes of fingerprint instead of only seeing the
first N of them seems like a very minor inconvenient.
Buffering can indeed be harmful, but only when significant
computation/time can pass between the `fprintf` and the moment the
corresponding text is "displayed", which is not the case here (nor
anywhere else in Emacs's C code, according to my quick "grep stderr").
> So this looks like a net loss to me.
I don't have a strong opinion on this, but FWIW, I see a net gain and no
significant loss.
Stefan
- Re: `message' not outputting the newline "atomically", (continued)
- 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, 2019/06/22
- 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 <=
- Re: `message' not outputting the newline "atomically", Eli Zaretskii, 2019/06/23
- Re: `message' not outputting the newline "atomically", Stefan Monnier, 2019/06/24
- Re: `message' not outputting the newline "atomically", Andreas Schwab, 2019/06/22
- 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/22
- Re: `message' not outputting the newline "atomically", Andreas Schwab, 2019/06/22
- Re: `message' not outputting the newline "atomically", Stefan Monnier, 2019/06/20
- Re: `message' not outputting the newline "atomically", Paul Eggert, 2019/06/20
- Re: `message' not outputting the newline "atomically", Daniele Nicolodi, 2019/06/23