From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.help Subject: query-replace-regexp-yank Date: Mon, 15 Jan 2007 10:15:09 +0100 Message-ID: <45AB461D.1070303@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168881220 10824 80.91.229.12 (15 Jan 2007 17:13:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 17:13:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 18:13:38 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by lo.gmane.org with esmtp (Exim 4.50) id 1H6VJq-0002IM-VI for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:08:27 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1H6VIt-0008SQ-3t for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:07:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6NoD-0006fr-5L for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 04:07:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6Nnx-0006fI-9t for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 04:07:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6Nnv-0006f4-ST for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 04:07:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Nnv-0006f1-NA for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 04:06:59 -0500 Original-Received: from [212.227.126.183] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H6Nnv-0005lH-51 for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 04:06:59 -0500 Original-Received: from [84.190.168.96] (helo=[192.168.178.25]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1H6Nns1u7I-00035M; Mon, 15 Jan 2007 10:06:57 +0100 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) Original-To: help-gnu-emacs@gnu.org X-Provags-ID: kundenserver.de abuse@kundenserver.de login:62d13292e0fce6aaed56aaadcb96352d 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 Xref: news.gmane.org gmane.emacs.help:40304 Archived-At: Hi all, Lets assume, expression ` (interactive "*p\np")' shall be catched by `isearch-forward-regexp' and changed by `query-replace-regexp' In the first case I could copy this list at place and yank it via M-y into the minibuffer, where it will be taken by search-function. Thus I can do repeated C-M-s to find all the designated lists in buffer. If I try to change them, calling `query-replace-regexp', M-y works too, but no match afterwards. Thats because in the first case backlashes and `*` are provided with a (second) backlash to escape them. Is there a way to procede that way with `query-replace-regexp' yanked search-input too? At the moment I use `isearch-yank-kill' to insert regexps into the `query-replace-regexp' minibuffer to have them quoted as necessary. Thanks __ Andreas Roehler