[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38785: 26.3; `y-or-n-p' leaves prompt and response in echo area
From: |
Andreas Schwab |
Subject: |
bug#38785: 26.3; `y-or-n-p' leaves prompt and response in echo area |
Date: |
Sun, 29 Dec 2019 15:29:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
On Dez 29 2019, Drew Adams wrote:
>> > I think `y-or-n-p' should probably just use
>> > `(sit-for 1)' after it shows the prompt + answer,
>>
>> That would always delay the caller of y-or-n-p by one
>> second. I'm pretty sure that would be highly annoying.
>
> 1. Not always delay. It's sit-for, not sleep-for,
That doesn't make it any better. It introduces latency, and latency is
very annoying, prone to induce errors.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."