GNU bug report logs -
#10885
Replace expressions: enhance functionality when searching in filled paragraphs
Previous Next
Reported by: linuxfever <linuxfever <at> yahoo.gr>
Date: Sun, 26 Feb 2012 01:31:01 UTC
Severity: wishlist
Done: Juri Linkov <juri <at> jurta.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> The reason why replace-regexp-lax-whitespace is important to have
> is not just for consistency but because replace-lax-whitespace
> should not affect regexp replacements. But currently its value applies
> to regexp replacements because it depends on calls from isearch that has
> a separate variable for regexp that starts a lax-whitespace regexp replacement
> to replace the same regexp matches as in isearch. So actually a lax-whitespace
> regexp replacement feature exists in replace.el implicitly. A clean way to
> fix this problem is to add a new option replace-regexp-lax-whitespace:
I see no way to avoid adding replace-regexp-lax-whitespace
as counterpart of isearch-regexp-lax-whitespace, so I installed it.
Other features proposed by Dani (adding isearch-like keybindings to
`query-replace-map' and connecting isearch and query-replace default values)
don't belong to bug#10885 and could be discussed on emacs-devel because
there are many problems with them like a problem that `query-replace-map'
is used by `y-or-n-p' and other packages, and some of bindings
(e.g. `scroll-down') are implemented only in `y-or-n-p'
but not in `perform-replace'.
Perhaps, a new common keymap should be separated from
`query-replace-map', so `query-replace-map' could inherit from it
and add own keybindings including isearch-like keybindings.
This bug report was last modified 12 years and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.