home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / emacs / 3782 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.6 KB

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