The XEmacs Window


Like most editors, XEmacs uses the concept of a buffer. When you open a file for editing, XEmacs copies the file into a memory region called a buffer and works with this copy. Changes are written back to the actual file only when you save your work.

XEmacs can hold multiple editing buffers at a time; it can also display multiple buffers simultaneously by splitting the viewing window into separate buffers. To split an XEmacs window horizontally, press C-x 2. To split an XEmacs window vertically, press C-x 3. Finally, to restore XEmacs to a single window, press C-x 1. These and other commands can also be found by clicking on "File" in the upper left-hand corner.

This brings us to the topic of menus. There is a series of menus at the top of the XEmacs window: "File", "Edit", "Apps", "Options", "Buffers", "Tools", and "Help" are included in this list. These menus include some of the more common commands that you will use in XEmacs.

File Commands to create, open, view, print, and save files. Also allows user to create new frames, delete buffers, and exit XEmacs.
Edit Commands to modify the contents of a buffer such as cut, copy, paste, undo, string searching and replacement.
Apps XEmacs tools for mail and newsgroups. Also has games and a planning calendar.
Options Allows user to customize printing, display, and editing preferences. 
Buffers Shows the list of current buffers. Allows user to switch back and forth among these buffers.
Tools Useful emacs tools for regular expressions, debugging, etc.
Help Some help features and an XEmacs tutorial.

Above the menu bar is the name of the current buffer, and below is a row of icons for several of the most common menu selections. The display area for the current buffer comes next, followed by the mode line, which displays useful information about the buffer itself, including the name of the file being edited, the current XEmacs mode (RCPP Font in this case), and the amount of the buffer showing in the window (All in this case).

At the bottom of the XEmacs window in the "minibuffer" is the command line. In the window shown, the command line is the area displaying the message "Fontifying program.cpp... done.". The command line is used to enter commands, path names, and file names from the keyboard instead of using a mouse to click on the menus and icons.



 
Previous Table of Contents Continue


Last modified: Tue Jan 6 14:53:36 EST 1998