diff options
| author | Lars Ingebrigtsen | 2014-02-07 22:51:42 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-07 22:51:42 -0800 |
| commit | 74750d5511fb55f30ddf9a188470d85aa45a1732 (patch) | |
| tree | 14b91f57ee2b925ffa1a3800ccbb81c84f33a89b | |
| parent | fdb510756f7958570387b32d307683dfed7bd3e7 (diff) | |
| download | emacs-74750d5511fb55f30ddf9a188470d85aa45a1732.tar.gz emacs-74750d5511fb55f30ddf9a188470d85aa45a1732.zip | |
* 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
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> | 1 | 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * search.texi (Search Case): Rearrange text slightly to make it | ||
| 4 | obvious that `M-c' also toggles sensitivity if `case-fold-search' | ||
| 5 | is nil (bug#14726). | ||
| 6 | |||
| 3 | * frames.texi (Mouse Commands): Clarify `mouse-yank-at-click' | 7 | * frames.texi (Mouse Commands): Clarify `mouse-yank-at-click' |
| 4 | (bug#16376). | 8 | (bug#16376). |
| 5 | 9 | ||
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 | |||
| 1038 | well as to string search. The effect ceases if you delete the | 1038 | well as to string search. The effect ceases if you delete the |
| 1039 | upper-case letter from the search string. | 1039 | upper-case letter from the search string. |
| 1040 | 1040 | ||
| 1041 | Typing @kbd{M-c} within an incremental search toggles the case | ||
| 1042 | sensitivity of that search. The effect does not extend beyond the | ||
| 1043 | current incremental search to the next one, but it does override the | ||
| 1044 | effect of adding or removing an upper-case letter in the current | ||
| 1045 | search. | ||
| 1046 | |||
| 1047 | @vindex case-fold-search | 1041 | @vindex case-fold-search |
| 1048 | If you set the variable @code{case-fold-search} to @code{nil}, then | 1042 | If you set the variable @code{case-fold-search} to @code{nil}, then |
| 1049 | all letters must match exactly, including case. This is a per-buffer | 1043 | 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 | |||
| 1053 | performed by the replace commands (@pxref{Replace}) and the minibuffer | 1047 | performed by the replace commands (@pxref{Replace}) and the minibuffer |
| 1054 | history matching commands (@pxref{Minibuffer History}). | 1048 | history matching commands (@pxref{Minibuffer History}). |
| 1055 | 1049 | ||
| 1050 | Typing @kbd{M-c} within an incremental search toggles the case | ||
| 1051 | sensitivity of that search. The effect does not extend beyond the | ||
| 1052 | current incremental search to the next one, but it does override the | ||
| 1053 | effect of adding or removing an upper-case letter in the current | ||
| 1054 | search. | ||
| 1055 | |||
| 1056 | Several related variables control case-sensitivity of searching and | 1056 | Several related variables control case-sensitivity of searching and |
| 1057 | matching for specific commands or activities. For instance, | 1057 | matching for specific commands or activities. For instance, |
| 1058 | @code{tags-case-fold-search} controls case sensitivity for | 1058 | @code{tags-case-fold-search} controls case sensitivity for |