GNU bug report logs - #8948
24.0.50; y-or-n-p doesn't support scroll-o-w like yes-or-no-p

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Tue, 28 Jun 2011 04:44:01 UTC

Severity: normal

Merged with 8418

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Forwarded to http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00463.html

Full log


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

From: Chong Yidong <cyd <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 8948 <at> debbugs.gnu.org
Subject: Re: bug#8948: Unable to scroll from y-or-n-p prompt
Date: Sun, 09 Sep 2012 14:45:54 +0800
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> I think I have reported this in the past, and it seem not fixed.
> This patch fix it, please review.

Thanks for the patch.  The functionality is good, but the approach is
flawed.  y-or-n-p should not treat the scrolling command keys specially;
they should be part of query-replace-map just like the other responses,
similar to how the existing `recenter' response is treated.

So instead I committed a different patch, which adds window scroll via
new bindings in query-replace-map.  It provides other-window scrolling
too.




This bug report was last modified 12 years and 262 days ago.

Previous Next


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