[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7534: 24.0.50; G-g within Isearch regexp mode
From: |
Juri Linkov |
Subject: |
bug#7534: 24.0.50; G-g within Isearch regexp mode |
Date: |
Sat, 25 Dec 2010 02:47:44 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>>> So, IMO, the main principle for C-g (within Isearch mode) should be:
>>> * if there is unmatched and/or incomplete input --> Delete it.
>>> * Otherwise --> Exit Isearch mode.
>>
>> Please try the following patch. Does it provide the behavior
>> you are asking for?
>
> It does. Thank you.
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.