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 10:17:31 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> >> BTW, (info "(emacs) Yes or No Prompts") says:
>> >>
>> >>      With both types of yes-or-no query the minibuffer behaves as
>> >>   described in the previous sections; you can recenter the selected window
>> >>   with ‘C-l’, scroll that window (‘C-v’ or ‘PageDown’ scrolls forward,
>> >>   ‘M-v’ or ‘PageUp’ scrolls backward)
>> >>
>> >> But in fact ‘C-l’ doesn't scroll the window, ‘C-v’ and ‘PageDown’ don't
>> >> scroll forward, and ‘M-v’ and ‘PageUp’ don't scroll backward.  Should 
>> >> they?
>> >
>> > They do here.  What did you try, exactly?
>>
>> They do to some extent for y-or-n-p, but not at all for yes-or-no.
>
> I actually tested with yes-or-no-p.
>
> Again, would you tell what you tried and what happened, as opposed to
> what you expected to happen?  I think there might be a
> misunderstanding here.

Two examples from (info "(emacs) Yes or No Prompts"):

  (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.





reply via email to

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