GNU bug report logs - #38785
26.3; `y-or-n-p' leaves prompt and response in echo area

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 28 Dec 2019 22:58:02 UTC

Severity: wishlist

Found in version 26.3

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 38785 <at> debbugs.gnu.org
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
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 <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 5 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.