Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!jarthur!bridge2!mdb From: mdb@ESD.3Com.COM (Mark D. Baushke) Newsgroups: comp.emacs Subject: Re: GNU emacs: 'remembered' fields? Message-ID: Date: 17 Mar 90 08:48:56 GMT References: : <120@cvbnetPrime.COM> Sender: news@bridge2.ESD.3Com.COM Organization: 3Com Corp., Mountain View, CA. Lines: 21 In-reply-to: jsulliva@cvbnet.UUCP's message of 15 Mar 90 15:01:04 GMT On 15 Mar 90 15:01:04 GMT, jsulliva@cvbnet.UUCP (Jeff Sullivan) said: Jeff> Is there a way to set up GNU emacs to "remember" the last Jeff> field(s) you typed? For example: Jeff> search-forward string1 Jeff> query-replace string1 with string2 Jeff> In the above case, if string1 were "remembered", I wouldn't Jeff> have to type it in again. This is a nice feature that I have Jeff> found in Freemacs (a GNU emacs work-alike for the PC). Jeff> Thanks in advance, Jeff> -Jeff I believe you are looking for the function repeat-complex-command (by default bound to 'C-x ESC'). Enjoy! -- Mark D. Baushke Internet: mdb@ESD.3Com.COM UUCP: {3comvax,auspex,sun}!bridge2!mdb