Commit 2501c912 authored by Glenn Morris's avatar Glenn Morris

Some doc related to search-invisible and query replace

* doc/emacs/search.texi (Query Replace): Mention search-invisible.

* doc/emacs/text.texi (Outline Visibility): Mention search-invisible
also affects query-replace.

* lisp/isearch.el (search-invisible): Doc fix.

* etc/NEWS: Related markup.
parent b829360f
2014-03-01 Glenn Morris <rgm@gnu.org>
* search.texi (Query Replace): Mention search-invisible.
* text.texi (Outline Visibility): Mention search-invisible
also affects query-replace.
2014-02-28 Xue Fuqiao <xfq@gnu.org>
* emacs.texi (Top):
* programs.texi (Programs, Prettifying Symbols):
Document `prettify-symbols-mode' and `global-prettify-symbols-mode'.
* misc.texi (Saving Emacs Sessions): Document some new desktop user options.
* misc.texi (Saving Emacs Sessions):
Document some new desktop user options.
2014-02-27 Xue Fuqiao <xfq@gnu.org>
......
......@@ -1393,6 +1393,10 @@ line.
used the minibuffer to read its arguments. @xref{Repetition, C-x ESC
ESC}.
@cindex invisible text, and query-replace
The option @code{search-invisible} determines how @code{query-replace}
treats invisible text. @xref{Outline Search}.
@xref{Operating on Files}, for the Dired @kbd{Q} command which
performs query replace on selected files. See also @ref{Transforming
File Names}, for Dired commands to rename, copy, or link files by
......
......@@ -1132,9 +1132,10 @@ it makes that part of the buffer visible. If you exit the search at
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.
@code{search-invisible}. (This option also affects how @code{query-replace}
and related functions treat hidden text, @pxref{Query Replace}.)
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
......
......@@ -851,6 +851,7 @@ and adds it to the search string.
+++
*** `M-s i' in Isearch mode toggles whether search matches invisible text.
+++
*** `query-replace' skips invisible text when `search-invisible' is nil,
and opens overlays with hidden text when `search-invisible' is `open'.
......
2014-03-01 Glenn Morris <rgm@gnu.org>
* isearch.el (search-invisible): Doc fix.
* minibuffer.el (completion-hilit-commonality):
Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
* comint.el (comint-dynamic-list-completions): Doc fix.
......
......@@ -131,7 +131,7 @@ a tab, a carriage return (control-M), a newline, and `]+'."
:version "24.3")
(defcustom search-invisible 'open
"If t incremental search can match hidden text.
"If t incremental search/query-replace can match hidden text.
A nil value means don't match invisible text.
When the value is `open', if the text matched is made invisible by
an overlay having an `invisible' property and that overlay has a property
......
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