From b5e8fdae502559d6dcec83aec8c4195d218c41da Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 20 Feb 2014 00:25:12 -0800 Subject: [PATCH] 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. --- doc/emacs/ChangeLog | 1 + doc/emacs/search.texi | 10 ++-------- doc/emacs/text.texi | 11 ++++++++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index f474184f56a..4d45966dc93 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,6 +1,7 @@ 2014-02-20 Glenn Morris * search.texi (Special Isearch): Mention invisible text. + * text.texi (Outline Visibility): Mention `M-s i' in isearch. 2014-02-18 Glenn Morris diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 057811ac55c..6fa9a33692a 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -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}. diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 12383ec0f28..68523888f6d 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -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 -- 2.11.4.GIT