* 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.
+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>
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
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
+++
*** `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.
: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