From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Malte Spiess Newsgroups: gmane.emacs.help Subject: Re: query-replace Date: Fri, 05 May 2006 08:49:34 +0200 Organization: Arcor Message-ID: <87bqudhsox.fsf@ulm.malte.spiess> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146814864 20108 80.91.229.2 (5 May 2006 07:41:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 May 2006 07:41:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 05 09:40:59 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 1Fbuvg-0002IC-85 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 May 2006 09:40:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbuvf-0004qT-Ct for geh-help-gnu-emacs@m.gmane.org; Fri, 05 May 2006 03:40:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:A0mFUrF4y4QcDpjU1aK2IBVO6qk= Original-Lines: 17 Original-NNTP-Posting-Date: 05 May 2006 08:49:28 MEST Original-NNTP-Posting-Host: 5d1d7826.newsread4.arcor-online.net Original-X-Trace: DXC=AaILIeFOIH8RTD7Kih:TB8:ejgIfPPld4jW\KbG]kaM8]kI_X=5Kea69o1a9SeDZS=fgOZfmcDbj1V 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:34849 Archived-At: Pedro Sa da Costa writes: > Hi, > > 1 - > I have this text: "and the android goes away." > I want to replace the word "and" to "or", but i don't want to replace > the word " [and]roid". How should i do this in emacs? The M-% > doesn't work in this case. The simplest way should be to replace "and " by "or ". > Thanks, > Pedro Greetings Malte