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.
This commit is contained in:
Glenn Morris 2014-02-20 00:25:12 -08:00
parent 4d49cc6547
commit 3242f74a7f
3 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,7 @@
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>

View file

@ -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}.

View file

@ -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