From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: multiple search strings in query-replace-regexp Date: Sun, 08 Oct 2006 15:47:10 +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 1160318472 15114 80.91.229.2 (8 Oct 2006 14:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2006 14:41:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 08 16:41:11 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 1GWZpL-0001NE-0i for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 16:40:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWZpK-0008G0-HA for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 10:40:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-X-Trace: individual.net O57Sh/pPo6Z4uTOOPZ8bPAXRNw9OUj220vztMAhFlFXboqeONC User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:dADOZQpqpv2CcDAZBzfDleogGtk= Original-Xref: shelby.stanford.edu gnu.emacs.help:142277 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 Xref: news.gmane.org gmane.emacs.help:37896 Archived-At: 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 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.