From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#10885: Replace expressions: enhance functionality when searching in filled paragraphs Date: Tue, 28 Feb 2012 11:04:55 +0100 Message-ID: References: <33392837.post@talk.nabble.com> <1oipiuxspa.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1330423599 29547 80.91.229.3 (28 Feb 2012 10:06:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2012 10:06:39 +0000 (UTC) Cc: 10885@debbugs.gnu.org To: Kevin Rodgers Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 28 11:06:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S2Jx3-0005T8-7A for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Feb 2012 11:06:33 +0100 Original-Received: from localhost ([::1]:54524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2Jx2-0002Vc-GW for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Feb 2012 05:06:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2Jww-0002VV-V3 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2012 05:06:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2Jws-00010P-6E for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2012 05:06:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2Jwr-00010H-WC for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2012 05:06:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S2JzS-0002ah-4r for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2012 05:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Feb 2012 10:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10885 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10885-submit@debbugs.gnu.org id=B10885.13304237099917 (code B ref 10885); Tue, 28 Feb 2012 10:09:02 +0000 Original-Received: (at 10885) by debbugs.gnu.org; 28 Feb 2012 10:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:60780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2Jyp-0002Zg-R2 for submit@debbugs.gnu.org; Tue, 28 Feb 2012 05:08:29 -0500 Original-Received: from mail-tul01m020-f172.google.com ([209.85.214.172]:51349) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2JyY-0002Yv-Ua for 10885@debbugs.gnu.org; Tue, 28 Feb 2012 05:08:12 -0500 Original-Received: by obbeh20 with SMTP id eh20so2253167obb.3 for <10885@debbugs.gnu.org>; Tue, 28 Feb 2012 02:04:55 -0800 (PST) Received-SPF: pass (google.com: domain of dmoncayo@gmail.com designates 10.182.149.71 as permitted sender) client-ip=10.182.149.71; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmoncayo@gmail.com designates 10.182.149.71 as permitted sender) smtp.mail=dmoncayo@gmail.com; dkim=pass header.i=dmoncayo@gmail.com Original-Received: from mr.google.com ([10.182.149.71]) by 10.182.149.71 with SMTP id ty7mr6450138obb.70.1330423495421 (num_hops = 1); Tue, 28 Feb 2012 02:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8JPN6cK0jFAi43XFfCoeop4ta2HYhrpAIHjf2jp5hqs=; b=J62OBoyGhlvw5sxFGU4yVpzBMGQPybV5Sjwqvh4WeuCwfceyNXt+X7PqLuef4eatON JdhpDHMJHgnXF9NHwp+3DOCOYtBFySi5dHeXOGc9+58P+UG7Y+nevtF/2klW0HQY/CCd J2LVGX+KzlY1tWjZUlJ0NAhMI4paIFnDa+ymw= Original-Received: by 10.182.149.71 with SMTP id ty7mr5741498obb.70.1330423495338; Tue, 28 Feb 2012 02:04:55 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Tue, 28 Feb 2012 02:04:55 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57349 Archived-At: > Would it make sense for replace-regexp/query-replace-regexp (and other > commands > that read regexps from the user) to respect search-whitespace-regexp, just > like > isearch? Good question. Quote from the docstring of `isearch-forward-regexp': In regexp incremental searches, a space or spaces normally matches any whitespace (the variable `search-whitespace-regexp' controls precisely what that means). If you want to search for a literal space and nothing else, enter C-q SPC. Does anyone knows why `query-replace-regexp' don't behave that way too? I think it should, i.e., `query-replace-regexp' should find the same matches that `isearch-forward-regexp' would find with the same search regexp. -- Dani Moncayo