Commit 3242f74a authored by Glenn Morris's avatar Glenn Morris
Browse files

Rework previous doc/emacs change

* doc/emacs/search.texi (Special Isearch): Mention invisible text.
* doc/emacs/text.texi (Outline Visibility): Mention `M-s i' in isearch.
parent 4d49cc65
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>
......
......@@ -247,14 +247,8 @@ have this effect. @xref{Search Case}.
@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}.
......
......@@ -1124,12 +1124,17 @@ though these are technically body lines). @kbd{C-c C-a}
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment