GNU bug report logs - #14979
24.3; Feature Request: query-replace-backward

Previous Next

Package: emacs;

Reported by: Ben A. <ben.a <at> gmx.us>

Date: Mon, 29 Jul 2013 06:32:01 UTC

Severity: wishlist

Found in version 24.3

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

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> jurta.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: "Ben A." <ben.a <at> gmx.us>, 14979 <at> debbugs.gnu.org
Subject: Re: bug#14979: 24.3; Feature Request: query-replace-backward
Date: Tue, 30 Jul 2013 00:02:55 +0300
> it's straightforward to implement this in Emacs where
> `(isearch-forward t)' in `replace-search' could be replaced
> with `(isearch-forward replace-forward)' where `replace-forward'
> is a new option that can be changed in `isearch-query-replace'
> according to the current value of `isearch-forward'.

Actually using the value of `isearch-forward' to make
decision about the direction of replacements is not good
because often `C-r' is used to find the uppermost match
from which to run forward replacements.

Maybe it would help if after the last replacement
`query-replace' asked whether to wrap and continue
replacements from the beginning of the buffer.
Then no matches will be missed when `query-replace'
happens to be started in the middle of the buffer.




This bug report was last modified 11 years and 242 days ago.

Previous Next


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