Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!bu-cs!snorkelwacker!think!zaphod.mps.ohio-state.edu!rpi!rpi.edu!rodney From: rodney@sun.ipl.rpi.edu (Rodney Peck II) Newsgroups: gnu.emacs Subject: Re: search the 2nd time Message-ID: Date: 7 Feb 90 21:42:44 GMT References: <9002071957.AA18568@life.ai.mit.edu> Distribution: gnu Organization: Rensselaer Polytechnic Institute Image Processing Lab, Troy NY Lines: 22 In-Reply-To: DRB@MATH.AMS.COM's message of 7 Feb 90 19:57:17 GMT >>>>> On 7 Feb 90 19:57:17 GMT, DRB@MATH.AMS.COM (Drew Burton) said: Drew> Some people here (edt users) want search mapped to a key Drew> and re-search for that string mapped to another key. I see the function Drew> re-search, but I don't know how to make it keep the search string like Drew> the 2nd ctrl-S does. Would someone show me how to do this? I think there might be some confusion here as to what "re-search" means. In emacs, it's short for "regular expression search". In your context, re-search doesn't make sense. Why would you want to regexp search for a string you just typed? Ordinary search will work fine for that case. What you want is a function that makes a "re-search" as in "search again" for the same word. The command "re-search" has nothing to do with that sort of thing. It lets you do things like find words at the beginning of the line like "^means" or something like that. -- Rodney