Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Emacs, can I use a spell checker?

You can spell check in Emacs as long as Ispell is installed on the computer you are using. If it is, to check an open document, enter the following command:

M-x ispell-[option]

Replace [option] with either buffer , region , string , or word . (To check the entire document in the current buffer, use the buffer option.)

Once the spell checker starts, Emacs will highlight each word it does not recognize, and prompt you for an action. Emacs will try to find correct spellings for the current word in the dictionaries at its disposal. If it finds any, it will list them in a separate buffer at the top of the screen. Each suggested spelling will be preceded by a character in parentheses. To change the word to one of these spellings, simply type that character. Other commands are summarized below:

Key Action

r Enter a new spelling by hand
Spacebar Leave the word unchanged
a Accept this spelling for all buffers during the current editing session only
i Accept this spelling from now on, adding it to your personal dictionary in your home directory
q Quit the spell checker
X (Shift-x) Halt spell checking at current location so that later it will restart there.

Another spell checking option is to use the Spell functions. You invoke them similarly to the Ispell functions, in that you must enter:

M-x spell-[option]

Replace [option] with either buffer , region , string , or word . Unlike the Ispell functions, these functions will not provide you with a list of suggested spellings; for all words not found in Emacs' dictionary, you must type in the correct spelling by hand. These functions are not available in some versions of Emacs.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document abap in domain all.
Last modified on February 03, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.