GNU bug report logs - #10887
24.0.93; lazy-highlighting in `query-replace' after a word-type Isearch

Previous Next

Package: emacs;

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

Date: Sun, 26 Feb 2012 10:07:02 UTC

Severity: normal

Found in version 24.0.93

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: Dani Moncayo <dmoncayo <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10887 <at> debbugs.gnu.org
Subject: bug#10887: 24.0.93; lazy-highlighting in `query-replace' after a word-type Isearch
Date: Mon, 27 Feb 2012 14:22:57 +0100
>> Recipe from "emacs -Q":
>> 1. aa bb RET RET aa RET bb RET
>> 2. C-s M-s w aa bb RET
>> 3. M-<
>> 4. M-% aa bb RET xx RET
>>
>> I observe that the "aa<RET>bb" part is lazy-highlighted, but obviously
>> it should not be, because the query-replace will never get there (it's
>> doing a normal search, not a word-type one).
>
> Thanks for the report.  For 24.1 it could be fixed with the patch below.

I've done a quick test, and it seems to work.  Thanks.

> (In 24.2 for the true "word-replace" `replace-highlight' may need a new
> argument `word' that will use isearch word mode for lazy-highlighting.)

I'm looking forward for this true "word-replace".  :)

-- 
Dani Moncayo




This bug report was last modified 12 years and 263 days ago.

Previous Next


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