Article View: comp.emacs
Article #3205Re: Replacing with Nothing
From: Bruce Momjian
Date: Mon, 14 Dec 1992 13:25
Date: Mon, 14 Dec 1992 13:25
22 lines
1632 bytes
1632 bytes
Ross Alexander (rwa@aupair.cs.athabascau.ca) wrote: : joel@wam.umd.edu (Joel M. Hoffman) writes: : >In article <LEVITTE.92Dec12201531@elmer.e.kth.se> LEVITTE@e.kth.se (Richard Levitte) writes: : >>>>>>> On Fri, 11 Dec 1992 13:58:54 GMT, astein@nysernet.org (Alan Stein) said: : >>AS> If I want to just delete every instance of a character string and : >>AS> replace it with absolutely nothing, I just press the meta key when I'm : >>AS> prompted for the replacement string. This works fine if that's the : >>Hmmmm.... curious, I use the RETURN key, and that works perfectly well, : >>even the n:th time! : >I seem to recall that Meta is used in micro-emacs, and Return in GNU : >Emacs. : : The base note describes a well-known bug in microemacs. There's a well-known : fix too, but I don't remember what it is (sorry, haven't used me in years). In 3.11, ^K clears the replace strings. In earlier versions, I think you must clear an internal variable, $replace. -- Bruce Momjian | 830 Blythe Avenue root%candle.uucp@bts.com | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (215) 353-9879(w) + Christ can be your backup. | (215) 853-3000(h)
Technical Details
Message-ID:
<1992Dec14.132516.26217@candle.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!pitt.edu!gvls1!jabber!candle!rootReferences:
<rwa.724309301@aupair.cs.athabascau.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!pitt.edu!gvls1!jabber!candle!root From: root@candle.uucp (Bruce Momjian) Newsgroups: comp.emacs Subject: Re: Replacing with Nothing Message-ID: <1992Dec14.132516.26217@candle.uucp> Date: 14 Dec 92 13:25:16 GMT References: <rwa.724309301@aupair.cs.athabascau.ca> Organization: a consultant's basement Lines: 22 X-Newsreader: TIN [version 1.1 PL6]