GNU bug report logs - #6808
24.0.50; Incomplete match highlighting with `query-replace-regexp'

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tassilo <at> member.fsf.org>

Date: Fri, 6 Aug 2010 06:46:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 6808 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Tassilo Horn <tassilo <at> member.fsf.org>, 6808 <at> debbugs.gnu.org
Subject: Re: bug#6808: 24.0.50;
	Incomplete match highlighting with `query-replace-regexp'
Date: Sun, 08 Aug 2010 16:56:06 -0400
Johan Bockgård <bojohan <at> gnu.org> writes:

> Yes. replace-highlight does not update isearch-forward, so you get this
> behavior if the previous isearch was a backward search (or in emacs -Q).
>
> The following patch fixes this and two other problems:
>
> * There is no lazy highlighting during replacement if the previous
>   isearch set isearch-error (invalid regexp).
>
> * A search that is started with C-s uses forward search for highlighting
>   and one that is started with C-r uses backward search, but the
>   highlighting is not updated if one switches direction in the middle
>   (C-s followed by C-r or vice versa).

Thanks.  I've checked it into the branch.




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

Previous Next


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