Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Apropos

Before wrapping up this first example, let’s discuss Emacs’s most important on-line help facility, apropos. Suppose you’re one of those who have both BS and DEL keys and think it’s a good idea for BS to erase the character preceding the cursor and DEL to erase the character following the cursor. You know that delete-backward-char is the command that accomplishes the former, but you don’t know which command achieves the latter. You strongly suspect that Emacs must have such a command. How do you find it?

The answer is to use the apropos command, which allows you to search all known variables and functions for a pattern you specify. Try this:[7]

M-x apropos RET delete RET

The result is a buffer listing all the matches for “delete” among Emacs’s variables and functions. If we search that buffer for occurrences of the word “character,” we narrow the field down to


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint