Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!wuarchive!uunet!mcsun!corton!irisa!decouty From: decouty@irisa.fr (Bertrand Decouty) Newsgroups: comp.editors Subject: Re: Using regular expressions in Micro Emacs 3.10 Message-ID: <1991May17.072935.12697@irisa.fr> Date: 17 May 91 07:29:35 GMT References: <1991May16.090143.12277@klaava.Helsinki.FI> Sender: news@irisa.fr Distribution: comp Organization: IRISA-INRIA, Campus de Beaulieu, 35042 Rennes Cedex, FRANCE Lines: 24 In article <1991May16.090143.12277@klaava.Helsinki.FI> wirzeniu@kruuna.Helsinki.FI (Lars Wirzenius) writes: | In article badri@warren.mentorg.com (Badri Lokanathan) writes: | >I set mode to MAGIC, then execute replace ^ with XX. Now when I try | >to replace YY$ with , I am unable to get rid of the former | >replacement string XX. | | M-^X set $replace "" | | (Execute command line which sets the value of the variable $replace to | the empty string.) | | -- | Lars Wirzenius wirzenius@cc.helsinki.fi This has been fixed in 3.11 beta. ^K deletes the current replace string, when asked for the replace string, and inserts an empty string. A very nice feature! -- [ Bertrand DECOUTY | EMAIL : decouty@irisa.fr, decouty@irisa.uucp ] [ IRISA - INRIA (Atelier) | {uunet,mcsun,inria}!irisa!decouty ] [ Campus de Beaulieu | PHONE : +33 99 36 20 00 ] [ F-35042 Rennes Cedex - FRANCE| FAX : +33 99 38 38 32 | TELEX: 950473 UNIRISA]