Searching in XEmacs


XEmacs allows you to search for patterns in a buffer. In this section we will look at the basic search facility in XEmacs. We'll look at a more advanced capability in the next section.
 
  • Press Esc < to go to the beginning of the document, and then enter the command C-s. The command line should now say I-search: 
  • Let's search for the word Emacs. Type in the word Emacs. The cursor will move forward in the document until it reaches the first occurrence of the word Emacs in the text. 
  • You can look for subsequent occurrences by repeating the C-s command. When all occurrences have been seen and the user presses C-s again, the computer beeps and prints the message Failing I-search in the command line. Pressing C-s again causes the cursor to wrap around and start from the first occurrence again.
     
  • Press C-s a few more times till the cursor reaches the first occurrence of Emacs again. 


  • Previous Table of Contents Continue


    Last modified: Tue Jan 6 14:56:06 EST 1998