Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!mcnc!duke!romeo!evs
From: evs@romeo.cs.duke.edu (Ed Simpson)
Newsgroups: comp.emacs
Subject: Re: This is Bad (isearch-forward & query-replace)
Message-ID: <15334@duke.cs.duke.edu>
Date: 18 Aug 89 20:23:10 GMT
References: <1042@bimacs.BITNET> <36392@bu-cs.BU.EDU> <1989Aug14.203218.6947@indetech.uucp>
Sender: news@duke.cs.duke.edu
Reply-To: evs@romeo.UUCP (Ed Simpson)
Organization: Duke University Medical Center, Durham, NC
Lines: 19

In article <1989Aug14.203218.6947@indetech.uucp> lrs@indetech.UUCP (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).

I think it will work because the ESC char will be treated as a random
control character and will be passed on as the start of the next
command:

search-exit-option's value is t

Documentation:
*Non-nil means random control characters terminate incremental search.

----------
Ed Simpson    e-mail by ARPANET: evs@cs.duke.edu    tel.: (919)684-6807
P.O.Box 3140, Duke Univ. Medical Center, Durham, NC, USA 27710