From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Florian Kaufmann" Newsgroups: gmane.emacs.help Subject: multiple search strings in query-replace-regexp Date: 6 Oct 2006 04:17:22 -0700 Organization: http://groups.google.com Message-ID: <1160133442.016714.5230@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1160134897 26460 80.91.229.2 (6 Oct 2006 11:41:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Oct 2006 11:41:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 06 13:41:36 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 1GVo4B-0001aR-JT for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Oct 2006 13:40:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GVo4A-0006FX-Io for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Oct 2006 07:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 194.209.139.160 Original-X-Trace: posting.google.com 1160133445 10461 127.0.0.1 (6 Oct 2006 11:17:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 6 Oct 2006 11:17:25 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m7g2000cwm.googlegroups.com; posting-host=194.209.139.160; posting-account=Z44m8A0AAADexMuhVGiPev7CXD9-sJX0 Original-Xref: shelby.stanford.edu gnu.emacs.help:142214 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:37833 Archived-At: Hello Is there a way to search/replace for multiple search/replace regexes at once? I prefer to search for all of them at once instead of serially because then I can mentally stay at the same context of the file. Lets say the variables found are mostly found in 5 functions of a source file. If I do the search serially, I come 5 times across function foo, and I have to think about what foo does 5 times (so I don't make any mistakes during search-replace). If I could do all searches at once, I would only come one time across foo. Greetings Flo