Press
Ctrl+S
to perform an
incremental search
(in which every character you type further refines the search). A prompt appears in the echo area, asking you to type a string to search for. As soon as you start typing, the search commences.
Consider the following example: open the file
examples/capi/applications/othello.lisp
. You want to search for the word "defmethod" in the buffer.
Ctrl+S
The following prompt appears in the echo area.
I-Search:
d
.The prompt in the echo area changes to
I-Search:
d
The cursor moves to the first occurrence of "d" after its current position.
e
.The prompt in the echo area changes to
I-Search:
de
The cursor moves to the first occurrence of "de".
f
.The prompt in the echo area changes to
I-Search:
def
The cursor moves to the first occurrence of "def".
This continues until you stop typing, or until the Editor fails to find the string you have typed in the current buffer. If at any point this does occur, the prompt in the echo area changes to reflect this. For instance, if your file contains the word "defun" but no word beginning "defm", the prompt changes to
Failing I-Search:
defm