|
From: | Johan Andersson |
Subject: | bug#15180: Using princ without ending newline |
Date: | Thu, 12 Sep 2013 12:27:06 +0200 |
Johan Andersson <johan.rejeep@gmail.com> writes:
> Create a file called *princ.el* with this content:
>> I expect this to be printed *directly*:
> (princ "foo\n")
> (princ "bar")
> (princ "baz")
> (sleep-for 3)
>
> Run command: emacs -Q --script princ.el
>
> fooThis is not a bug. Non-interactive output is subject to the usual stdio
> barbaz
>
> But what happens is that "foo" is printed directly and then after three
> seconds "barbaz" is printed.
buffering.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |