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

>> y-or-n-p has special handling for these keys:
>>
>>     (define-key map [remap recenter] #'minibuffer-recenter-top-bottom)
>>     (define-key map [remap scroll-up] #'minibuffer-scroll-up-command)
>>     (define-key map [remap scroll-down] #'minibuffer-scroll-down-command)
>>     (define-key map [remap scroll-other-window]
>> #'minibuffer-scroll-other-window)
>>     (define-key map [remap scroll-other-window-down]
>> #'minibuffer-scroll-other-window-down)
>>
>> but yes-or-no-p doesn't.
>
> I guess it should do that, too.

Unfortunately, yes-or-no-p is implemented in C.  But maybe there are
not too many changes required, and it would be enough to add a new keymap
to this call:

      ans = Fdowncase (Fread_from_minibuffer (prompt, Qnil, Qnil, Qnil,
                                              Qyes_or_no_p_history, Qnil,
                                              Qnil));





reply via email to

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