From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.help Subject: Re: multiple search strings in query-replace-regexp Date: Sun, 08 Oct 2006 22:55:15 +0200 Message-ID: References: <1160133442.016714.5230@m7g2000cwm.googlegroups.com> <85iriwy3m0.fsf@lola.goethe.zz> <85wt7cwkwc.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160341003 15112 80.91.229.2 (8 Oct 2006 20:56:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2006 20:56:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 08 22:56:41 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GWfh9-00025q-Fm for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 22:56:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWfh8-0001Dd-Va for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 16:56:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GWfgw-0001CV-Jp for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 16:56:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GWfgu-00019x-Hr for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 16:56:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWfgu-00019q-Et for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 16:56:08 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GWfoJ-0002Lf-8P for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 17:03:47 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 7D0418A005C; Sun, 8 Oct 2006 22:56:01 +0200 (CEST) Original-To: Mathias Dahl In-Reply-To: (Mathias Dahl's message of "Sun\, 08 Oct 2006 15\:47\:10 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:37899 Archived-At: Mathias Dahl writes: > Ilya Zakharevich writes: > >> Given this, C-M-% (or whatever is the key in default Emacs bindings) >> could just accept multiple pairs REGEXP + REPLACEMENT (separated, >> e.g., by C-u RET). > > Hmm, I think that could work quite nicely. C-RET could also be an C-RET is used by CUA-mode to mark a rectangle. > option. Would probably need quite some changes to the code though; > currently I guess `query-replace-regexp' uses `read-string' or similar > and I am not sure how it would react to C-u RET. -- Kim F. Storm http://www.cua.dk