next up previous contents
Next: Printing Up: Essential Topics Previous: Managing Mail   Contents

Editing Files with Emacs

To edit your programs, you will need to use an editor. An editor is a little like a word processor, except that it doesn't know about concepts such as fonts or styles. It only understands plain text. The better editors have features which make it easier to write code. The editor we suggest is called GNU Emacs.

Emacs provides a menu-based interface for editing text. The first-time user will appreciate the menus of common features. If you are familiar with popular word processing programs, Emacs should seem fairly easy to navigate. It is important to remember, though, that Emacs is not a word processor. A word processor has functions for writing, printing, and saving text with enhancements such as bold text, special paragraph formatting, and pictures. Emacs is a text editor. It is suitable for editing code and other plain-text files.

The largest difficulty is learning that Emacs divides everything into buffers. If you access the help pages from the help menu while editing a text file, you will need to either kill the buffer with the help pages, or select the text file buffer (under the Buffers menu) to edit the text file again. The best way to learn Emacs is to experiment, read the help, and use the tutorial.


next up previous contents
Next: Printing Up: Essential Topics Previous: Managing Mail   Contents
Michelle Craft 2008-01-23