home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.emacs:3876 gnu.emacs.help:5190 gnu.epoch.misc:1223
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!hri.com!noc.near.net!lynx!random.ccs.northeastern.edu!news
- From: ratinox@meceng.coe.northeastern.edu (Rent-a-Lemming)
- Newsgroups: comp.emacs,gnu.emacs.help,gnu.epoch.misc
- Subject: Re: strange replace-regexp behavior
- Message-ID: <RATINOX.92Dec28123104@splinter.coe.northeastern.edu>
- Date: 28 Dec 92 17:32:07 GMT
- References: <1992Dec28.133923.27974@nsisrv.gsfc.nasa.gov>
- <RATINOX.92Dec28122732@splinter.coe.northeastern.edu>
- Sender: news@random.ccs.northeastern.edu
- Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
- Lines: 16
- In-Reply-To: Lemming Productions Present...'s message of Mon, 28 Dec 1992 17: 28:34 GMT
- Nntp-Posting-Host: splinter.coe.northeastern.edu
- X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]
- X-Signature-Virus-Protection: Version 1.51
- X-Get-A-Clue: Have two, they're small.
-
- >>>>> On Mon, 28 Dec 1992 17:28:34 GMT, Lemming Productions Present...
- >>>>> <ratinox@meceng.coe.northeastern.edu> said:
-
- Ratinox> You may want to use querey-replace-regexp instead. Or do two
- Ratinox> replace-regexp commands, the first change "^>" into something
- Ratinox> else, like "><", then do a second replace-regexp on the new
- Ratinox> string.
-
- I just realized a simpler way to do this. Define a keyboard macro that does
- a "(re-search-forward "^>") C-d C-n". Then use a big prefix count before
- C-x C-e to execute it.
-
- --Rat PGP Public Key Block available upon request
- ||||| | | | | | | | | | | | | | | | | | | | | | | |||||
- Northeastern's Stainless Steel Rat ratinox@meceng.coe.northeastern.edu
- Carpe Joltem! (Seize the Caffeine) --Me
-