GNU bug report logs - #10885
Replace expressions: enhance functionality when searching in filled paragraphs

Previous Next

Package: emacs;

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


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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10885 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>,
	Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
Subject: Re: bug#10885: Replace expressions: enhance functionality when
	searching in filled paragraphs
Date: Sun, 11 Mar 2012 09:59:07 +0100
On Wed, Feb 29, 2012 at 01:41, Juri Linkov <juri <at> jurta.org> wrote:
>> The doc and manual would need updating; since at present
>> search-whitespace-regexp is only documented to affect incremental
>> searches.
>
> There is one problem of using `search-whitespace-regexp'
> in `query-replace-regexp'.
>
> When the user doesn't want `SPC' to match any sequence of whitespace
> characters in regexp isearch `C-M-s', it it possible to type `C-q SPC'.
>
> But how to do the same in `query-replace-regexp'?
>
> `C-M-% replace C-q SPC this' doesn't quote SPC as a literal character.

FWIW: the isearch commands have this problem too, when editing the
search string from the minibuffer.

For example: C-M-s replace this M-e M-b DEL C-q SPC RET
--> The new search string doesn't have the intended quoted space.

-- 
Dani Moncayo




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

Previous Next


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