GNU bug report logs - #25302
25.1; `isearch-allow-prefix' does not allow `C-u C-u'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 30 Dec 2016 22:10:01 UTC

Severity: normal

Tags: fixed, patch

Found in versions 25.1, 24.4

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: 25302 <at> debbugs.gnu.org
Subject: bug#25302: 25.1; `isearch-allow-prefix' does not allow `C-u C-u'
Date: Fri, 30 Dec 2016 14:08:32 -0800 (PST)
1. emacs -Q

2. Ensure that `isearch-allow-prefix' is non-nil, which it is by default.

3. Search for anything, such as character `e', then hit `C-u C-u':

 C-s e C-u C-u

The second `C-u' terminates Isearch.  It should not.  The raw prefix arg
`(16)' should be passed through to whatever command is invoked by the
next key sequence.

The second `C-u' acts as if `isearch-allow-prefix' were nil.

Note that in Emacs 23, if `isearch-allow-scroll' is non-nil then `C-u
C-u' is passed through OK.  (In Emacs 23, `isearch-allow-prefix' does
not exist.)

But in Emacs 24.4 and later even the workaround of setting
`isearch-allow-scroll' to `t' does not work, to correct the
prefix-arg problem.  The second `C-u' always exits Isearch.

So this is a regression wrt that workaround.  The regression was introduced in Emacs 24.4, which is also when `isearch-allow-prefix'
was introduced.



In GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-09-17 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --without-dbus --without-compress-install CFLAGS=-static'




This bug report was last modified 8 years and 196 days ago.

Previous Next


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