* doc/emacs/search.texi (Special Isearch): Mention invisible text.
* doc/emacs/text.texi (Outline Visibility): Mention `M-s i' in isearch.
2014-02-20 Glenn Morris <rgm@gnu.org>
* search.texi (Special Isearch): Mention invisible text.
+ * text.texi (Outline Visibility): Mention `M-s i' in isearch.
2014-02-18 Glenn Morris <rgm@gnu.org>
@cindex invisible text, searching for
@kindex M-s i @r{(Incremental search)}
@findex isearch-toggle-invisible
-@vindex search-invisible
- Some Emacs modes hide certain text by making it invisible. For
-example, Outline major mode (@pxref{Outline Mode}). By default,
-incremental search will search for matches in text hidden by Outline
-mode (and some other modes), and make the text visible if it finds a match.
-To toggle whether or not invisible text is searched, type
-@kbd{M-s i} (@code{isearch-toggle-invisible}). To change the default
-for future searches, customize the option @code{search-invisible}.
+ To toggle whether or not invisible text is searched, type
+@kbd{M-s i} (@code{isearch-toggle-invisible}). @xref{Outline Search}.
To search for a newline character, type @kbd{C-j}.
numeric argument @var{n}, it hides everything except the top @var{n}
levels of heading lines.
+@anchor{Outline Search}
@findex reveal-mode
+@vindex search-invisible
When incremental search finds text that is hidden by Outline mode,
it makes that part of the buffer visible. If you exit the search at
-that position, the text remains visible. You can also automatically
-make text visible as you navigate in it by using Reveal mode (@kbd{M-x
-reveal-mode}), a buffer-local minor mode.
+that position, the text remains visible. To toggle whether or not
+an active incremental search can match hidden text, type @kbd{M-s i}.
+To change the default for future searches, customize the option
+@code{search-invisible}. You can also automatically make text visible
+as you navigate in it by using Reveal mode (@kbd{M-x reveal-mode}), a
+buffer-local minor mode.
@node Outline Views
@subsection Viewing One Outline in Multiple Views