Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!husc6!encore!pinocchio From: knighten@pinocchio (Bob Knighten) Newsgroups: comp.emacs Subject: Re: This is Bad (isearch-forward & query-replace) Message-ID: <9716@multimax.Encore.COM> Date: 23 Aug 89 04:00:05 GMT References: <1042@bimacs.BITNET> <36392@bu-cs.BU.EDU> <1989Aug14.203218.6947@indetech.uucp> Sender: news@Encore.COM Reply-To: knighten@pinocchio (Bob Knighten) Organization: Encore Computer Corp Lines: 13 In-reply-to: lrs@indetech.uucp (Lynn Slater) In article <1989Aug14.203218.6947@indetech.uucp>, lrs@indetech (Lynn Slater) writes: > >> Alternatively, some other key besides escape can be the key that exits >> incremental search mode. >Setting search-exit-char will not make the arrow keys stop a search and >work as arrow keys (like c-f or c-n will). To make this work, a more >general solution is needed such as allowing multiple search-exit-characters. >You also have to let a character both stop a search and start the dispatch >of the next command. Not so. I use (setq search-exit-char 13) ; Change from ESC to CR and standard arrow key bindings and they exactly stop a search and work as arrow keys.