GNU bug report logs - #13649
boobytrapped dired-do-async-shell-command question

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 7 Feb 2013 16:28:02 UTC

Severity: minor

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #130 received at 13649 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 13649 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#13649: boobytrapped dired-do-async-shell-command question
Date: Wed, 11 May 2022 19:59:23 +0300
>> 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));




This bug report was last modified 3 years and 88 days ago.

Previous Next


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