comparison man/new-users-guide/search.texi @ 290:c9fe270a4101 r21-0b43

Import from CVS: tag r21-0b43
author cvs
date Mon, 13 Aug 2007 10:36:47 +0200
parents 376386a54a3c
children
comparison
equal deleted inserted replaced
289:6e6992ccc4b6 290:c9fe270a4101
70 This command will search for the specified string in the backward 70 This command will search for the specified string in the backward
71 direction. 71 direction.
72 @end table 72 @end table
73 73
74 For information on how Emacs searches for words and regular 74 For information on how Emacs searches for words and regular
75 expressions, @xref{Search,,,,XEmacs User's Manual}. 75 expressions, @xref{Search,,,xemacs,XEmacs User's Manual}.
76 76
77 To replace all occurrences of a string in Emacs, you can use the 77 To replace all occurrences of a string in Emacs, you can use the
78 following command: 78 following command:
79 @findex replace-string 79 @findex replace-string
80 @example 80 @example
100 @noindent 100 @noindent
101 Now type the string which you want to replace "FOO" with and press 101 Now type the string which you want to replace "FOO" with and press
102 @key{RET}. After all the occurrences are replaced you will see the 102 @key{RET}. After all the occurrences are replaced you will see the
103 message "Done" in the echo area. If you want only some occurrences of 103 message "Done" in the echo area. If you want only some occurrences of
104 the string to be replaced, use @kbd{M-x query-replace RET <string> RET 104 the string to be replaced, use @kbd{M-x query-replace RET <string> RET
105 <newstring> RET}. For more information, @xref{Query Replace,,,,XEmacs 105 <newstring> RET}. For more information, @xref{Query
106 Manual}. 106 Replace,,,xemacs,XEmacs User's Manual}.
107 107
108 XEmacs also provides a utility for checking spellings. Use @kbd{M-x 108 XEmacs also provides a utility for checking spellings. Use @kbd{M-x
109 ispell-buffer} to check for spellings in the whole buffer. You can also 109 ispell-buffer} to check for spellings in the whole buffer. You can also
110 check the spelling of a word or a region. You can use menus to 110 check the spelling of a word or a region. You can use menus to
111 check for spellings: 111 check for spellings: