From 74750d5511fb55f30ddf9a188470d85aa45a1732 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 7 Feb 2014 22:51:42 -0800 Subject: [PATCH] * search.texi (Search Case) doc tweak * search.texi (Search Case): Rearrange text slightly to make it obvious that `M-c' also toggles sensitivity if `case-fold-search' is nil. Fixes: debbugs:14726 --- doc/emacs/ChangeLog | 4 ++++ doc/emacs/search.texi | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index eed94529ad4..8d976127ec9 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,5 +1,9 @@ 2014-02-08 Lars Ingebrigtsen + * search.texi (Search Case): Rearrange text slightly to make it + obvious that `M-c' also toggles sensitivity if `case-fold-search' + is nil (bug#14726). + * frames.texi (Mouse Commands): Clarify `mouse-yank-at-click' (bug#16376). diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index ff82434a205..35aa15ee163 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -1038,12 +1038,6 @@ the search case-sensitive. Thus, searching for @samp{Foo} does not find well as to string search. The effect ceases if you delete the upper-case letter from the search string. - Typing @kbd{M-c} within an incremental search toggles the case -sensitivity of that search. The effect does not extend beyond the -current incremental search to the next one, but it does override the -effect of adding or removing an upper-case letter in the current -search. - @vindex case-fold-search If you set the variable @code{case-fold-search} to @code{nil}, then all letters must match exactly, including case. This is a per-buffer @@ -1053,6 +1047,12 @@ This variable applies to nonincremental searches also, including those performed by the replace commands (@pxref{Replace}) and the minibuffer history matching commands (@pxref{Minibuffer History}). + Typing @kbd{M-c} within an incremental search toggles the case +sensitivity of that search. The effect does not extend beyond the +current incremental search to the next one, but it does override the +effect of adding or removing an upper-case letter in the current +search. + Several related variables control case-sensitivity of searching and matching for specific commands or activities. For instance, @code{tags-case-fold-search} controls case sensitivity for -- 2.39.2