Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 7: Searching for Text in a Buffer

Previous HourNext Hour

Sections in this Hour:

 

Exercises

1. Search for the text ar in the text from the examples, and count the number of times it matches.

2. Search once again for the text ar, but this time use word search. Why doesn't it match any text?

3. Search for the text som using word search. Why doesn't it match the word some?

4. Read in your .emacs file and find all the locations where you set a variable. (This is the text starting in setq.)

5. List all the locations where you set variables using occur.

6. Type all the different combinations of the word foo (that is, foo, Foo, fOo, and so on). Then search for foo and investigate how the cases matter.

Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 7: Searching for Text in a Buffer

Previous HourNext Hour

Sections in this Hour: