Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
Hour 8: Searching for Text in Multiple Files |
|||||||||||||||||
|
1. Make a TAGS file for one of your directories with HTML documents, C, C++, or Java files and
a. Jump around in it using M-.--that is, search for definitions in it.
b. -When jumping from use to definition, you might want to set marks using the commands from sam-lib.el so you can get back to the use when you are finished reading the definition. Try it!
c. When you have made a backup of your files, try to replace all the occurrences of some text in all the files using tags-query-replace.
2. Go to the top of your home directory and search through all your files (recursively) for specific text (for example, Emacs).
3. Create a bookmark at the end of your .emacs file, so you can get to this location fast.
Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
Hour 8: Searching for Text in Multiple Files |
|||||||||||||||||
|
© Copyright Macmillan USA. All rights reserved.