unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25302: 25.1; `isearch-allow-prefix' does not allow `C-u C-u'
@ 2016-12-30 22:08 Drew Adams
  2016-12-30 22:27 ` npostavs
  0 siblings, 1 reply; 6+ messages in thread
From: Drew Adams @ 2016-12-30 22:08 UTC (permalink / raw)
  To: 25302

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'





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-06  1:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 22:08 bug#25302: 25.1; `isearch-allow-prefix' does not allow `C-u C-u' Drew Adams
2016-12-30 22:27 ` npostavs
2016-12-30 22:46   ` Drew Adams
2016-12-30 22:57     ` Drew Adams
2016-12-31  5:37       ` npostavs
2017-01-06  1:27         ` npostavs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).