emacs-devel
[Top][All Lists]
Advanced

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

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


From: Paul Eggert
Subject: Re: `message' not outputting the newline "atomically"
Date: Thu, 20 Jun 2019 09:28:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/20/19 6:32 AM, Stefan Monnier wrote:
Rather than fiddle with the line-buffering, how hard would it be to
change our code such that there's a single call to `fprintf` (or
whichever function it is we use in that code) which prints both the
"hello" and the "\n"?

Reasonably hard. That's what I tried to do first, and it's not nearly as easy.

I also wrote a patch in which Emacs fully-buffers stderr but calls 'fflush_unlocked (stderr)' at strategic spots. That will also work and is reasonably easy to do, but it's a more-intrusive patch.




reply via email to

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