GNU bug report logs - #7534
24.0.50; G-g within Isearch regexp mode

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 2 Dec 2010 19:42:02 UTC

Severity: normal

Found in version 24.0.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dani Moncayo <dmoncayo <at> gmail.com>
Subject: bug#7534: closed (Re: bug#7534: C-g in Isearch regexp mode)
Date: Sun, 16 Jan 2011 01:01:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7534: 24.0.50; G-g within Isearch regexp mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7534 <at> debbugs.gnu.org.

-- 
7534: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7534
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7534-done <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>,
	Dani Moncayo <dmoncayo <at> gmail.com>
Subject: Re: bug#7534: C-g in Isearch regexp mode
Date: Sun, 16 Jan 2011 01:06:12 +0000
>>>> I think the behavior of Isearch that Dani proposes is reasonable because
>>>> it seems this is how `isearch-abort' was supposed to work since its
>>>> comment says "If search has an incomplete regexp" but this branch currently
>>>> is never reached.  So I'd like to install it to the trunk.
>
> I haven't had time to dig into it and understand the details, but
> I'll trust Juri on this one.

Installed to the trunk.

[Message part 3 (message/rfc822, inline)]
From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; G-g within Isearch regexp mode
Date: Thu, 2 Dec 2010 20:47:16 +0100
Recipe:
0) Start Emacs (-Q)
1) Place point at the beginning of the *scratch* buffer.
2) Search for the regexp "iss" (C-M-s iss) --> The last `s' is
unmatched as expected, OK.
3) Type C-g --> The unmatched part disappears. Everything OK so far.
4) Now repeat steps #2 and #3 with the regexp "is[". --> This time C-g
behaves differently. Instead of deleting the unmatched part, it ends
Isearch mode.


The fail seems to appear whenever `[' is the first character in the
unmatched part. For instance:
 * C-M-s iss[ C-g --> Works as expected (unmatched part deleted).
 * C-M-s is[blablabla --> Doesn't work as expected (Isearch cancelled).


-- 
Dani Moncayo



This bug report was last modified 14 years and 188 days ago.

Previous Next


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