From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ole Laursen Newsgroups: gmane.emacs.help Subject: Re: search and replace Date: Sun, 04 Jul 2004 11:14:42 +0200 Organization: TDC Totalloesninger Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878ye0i16l.fsf@bach.composers> References: <40e71dde$0$162$edfadb0f@dtext01.news.tele.dk> <40e73c45$0$170$edfadb0f@dtext01.news.tele.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088932705 9381 80.91.224.253 (4 Jul 2004 09:18:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Jul 2004 09:18:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 04 11:18:19 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bh38d-0003Le-00 for ; Sun, 04 Jul 2004 11:18:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bh3AX-000399-RR for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Jul 2004 05:20:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:I9N/Uax90IdOIwZrEfegnsYPb2w= Original-Lines: 20 Original-NNTP-Posting-Host: 131.165.63.132 Original-X-Trace: 1088932460 dread11.news.tele.dk 143 131.165.63.132:54123 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:124113 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19444 David Rasmussen writes: [...] > I didn't think M-% (query and replace) worked on regexps. Is there a > way to do search on replace on raw text, not regexps? You were right in your thinking - it doesn't work on regexps. I tried copying the \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm] into *scratch* and used M-% to query-replace it with \traverse. It works fine here. Remember that if you place the cursor on top of the above line, Emacs won't find it. You need to place the cursor before the line for Emacs to find it. -- Ole Laursen http://www.cs.aau.dk/~olau/