From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hans-Christoph Wirth Newsgroups: gmane.emacs.help Subject: combine isearch-forward-regexp and query-replace-regexp Date: 8 Feb 2005 13:05:58 GMT Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107867965 14948 80.91.229.2 (8 Feb 2005 13:06:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2005 13:06:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 08 14:06:05 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CyV3c-00065C-4k for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Feb 2005 14:05:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyVHw-0007Ed-M9 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Feb 2005 08:20:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-X-Trace: news.dfncis.de fqf9ezubCxyJhS9b18ERlQCWnwL120zqhZkXreMBz+gkqt User-Agent: slrn/0.9.8.0 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:128441 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23963 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23963 I usually fail to construct the correct regexp suitable for query-replace-regexp at first attempt. isearch-forward-regexp does a nice job since it highlights all matching positions on the fly. If I composed the right regexp with isearch-forward-regexp, how can I supply it as an argument to query-replace-regexp? M-p does not help. H-C