aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-01-05 23:28:19 +0000
committerDave Love2000-01-05 23:28:19 +0000
commit1de69f0c3dfbee0d596331e1ab4f9db5172c76d9 (patch)
tree4ba9ed1f9777f0650b86f7b5bf0e1ec4ce47594a
parentb80da86d8aa675593f19950e35136a0db5afb685 (diff)
downloademacs-1de69f0c3dfbee0d596331e1ab4f9db5172c76d9.tar.gz
emacs-1de69f0c3dfbee0d596331e1ab4f9db5172c76d9.zip
Lazy highlighting.
-rw-r--r--man/search.texi20
1 files changed, 19 insertions, 1 deletions
diff --git a/man/search.texi b/man/search.texi
index d4253ce08ca..0b903701e97 100644
--- a/man/search.texi
+++ b/man/search.texi
@@ -1,5 +1,5 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997 Free Software Foundation, Inc. 2@c Copyright (C) 1985, 86, 87, 93-95, 97, 2000 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
4@node Search, Fixit, Display, Top 4@node Search, Fixit, Display, Top
5@chapter Searching and Replacement 5@chapter Searching and Replacement
@@ -165,6 +165,7 @@ search remains case-insensitive.
165 165
166 The character @kbd{M-y} copies text from the kill ring into the search 166 The character @kbd{M-y} copies text from the kill ring into the search
167string. It uses the same text that @kbd{C-y} as a command would yank. 167string. It uses the same text that @kbd{C-y} as a command would yank.
168@kbd{mouse-2} in the echo area does the same.
168@xref{Yanking}. 169@xref{Yanking}.
169 170
170 When you exit the incremental search, it sets the mark to where point 171 When you exit the incremental search, it sets the mark to where point
@@ -172,6 +173,23 @@ string. It uses the same text that @kbd{C-y} as a command would yank.
172there. In Transient Mark mode, incremental search sets the mark without 173there. In Transient Mark mode, incremental search sets the mark without
173activating it, and does so only if the mark is not already active. 174activating it, and does so only if the mark is not already active.
174 175
176@cindex lazy search highlighting
177 By default, Isearch uses @dfn{lazy highlighting}. All matches for
178the current search string in the buffer after the point where searching
179starts are highlighted. The extra highlighting makes it easier to
180anticipate where the cursor will end up each time you press @kbd{C-s} or
181@kbd{C-r} to repeat a pending search. Highlighting of these additional
182matches happens in a deferred fashion so as not to rob Isearch of its
183usual snappy response.
184@vindex isearch-lazy-highlight-cleanup
185By default the highlighting of matches is cleared when you end the
186search. Customize the variable @code{isearch-lazy-highlight-cleanup} to
187avoid cleaning up automatically. The command @kbd{M-x
188isearch-lazy-highlight-cleanup} can be used to clean up manually.
189@vindex isearch-lazy-highlight
190Customize the variable @code{isearch-lazy-highlight} to turn off this
191feature.
192
175@vindex isearch-mode-map 193@vindex isearch-mode-map
176 To customize the special characters that incremental search understands, 194 To customize the special characters that incremental search understands,
177alter their bindings in the keymap @code{isearch-mode-map}. For a list 195alter their bindings in the keymap @code{isearch-mode-map}. For a list