--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7534: C-g in Isearch regexp mode |
Date: |
Sun, 16 Jan 2011 01:06:12 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>>>> 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.
--- End Message ---