From: Richard M. Stallman Date: Sun, 7 Jul 2002 23:45:35 +0000 (+0000) Subject: C-w sometimes grabs just one character. X-Git-Tag: ttn-vms-21-2-B4~14246 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e9ec40bfdd9051c6c5b57bc5911d6d17852409e;p=emacs.git C-w sometimes grabs just one character. --- diff --git a/man/search.texi b/man/search.texi index 7d828d6e2bc..ea2b461e276 100644 --- a/man/search.texi +++ b/man/search.texi @@ -181,15 +181,18 @@ backward search finds matches that are entirely before the starting point, just as a forward search finds matches that begin after it. The characters @kbd{C-y} and @kbd{C-w} can be used in incremental -search to grab text from the buffer into the search string. This makes -it convenient to search for another occurrence of text at point. -@kbd{C-w} copies the word after point as part of the search string, -advancing point over that word. Another @kbd{C-s} to repeat the search -will then search for a string including that word. @kbd{C-y} is similar -to @kbd{C-w} but copies all the rest of the current line into the search -string. Both @kbd{C-y} and @kbd{C-w} convert the text they copy to -lower case if the search is currently not case-sensitive; this is so the -search remains case-insensitive. +search to grab text from the buffer into the search string. This +makes it convenient to search for another occurrence of text at point. +@kbd{C-w} copies the character or word after point as part of the +search string, advancing point over it. (The decision, whether to +copy a character or a word, is heuristic.) Another @kbd{C-s} to +repeat the search will then search for a string including that +character or word. + + @kbd{C-y} is similar to @kbd{C-w} but copies all the rest of the +current line into the search string. Both @kbd{C-y} and @kbd{C-w} +convert the text they copy to lower case if the search is currently +not case-sensitive; this is so the search remains case-insensitive. The character @kbd{M-y} copies text from the kill ring into the search string. It uses the same text that @kbd{C-y} as a command would yank.