bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#13649: boobytrapped dired-do-async-shell-command question


From: Juri Linkov
Subject: bug#13649: boobytrapped dired-do-async-shell-command question
Date: Wed, 11 May 2022 20:06:00 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>>   (y-or-n-p "File ‘foo.el’ exists; overwrite?")
>> 
>> ‘C-l’, ‘C-v’, ‘M-v’ work fine and scroll the original buffer.
>> 
>> But yes-or-no-p (BTW, it requires the space char at the end of the prompt):
>> 
>>   (yes-or-no-p "Buffer foo.el modified; kill anyway? ")
>> 
>> ‘C-l’, ‘C-v’, ‘M-v’ don't scroll the original buffer.
>
> Isn't that expected?  y-or-n-p doesn't need to allow you to edit the
> text in the minibuffer.

Maybe this difference is unimportant.  But still remains the need
to find a key to show help text from yes-or-no-p.  y-or-n-p now
uses C-h to show help, but in yes-or-no-p C-h is useful as
a help key prefix.





reply via email to

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