| Projects Home | Style | Autobuild | CVS | Doxygen |
XEmacs is constructed around the idea of buffers: a buffer can contain a text file, a running process, the output of a command or anything else of a textual nature.
The GUI is composed of top-level windows called frames which are divided into buffer views called windows - so you can run one frame with five windows or five frames each with a single window. Each window contains a buffer, but a single buffer can appear in more than one window. This lets you have multiple views of the same file (making copy/paste really easy).
XEmacs has lots of modes which handle special-case editing of files. The C++ mode, for example, has the ability to properly indent code: just press the <TAB> key on any line of code and it will be indented appropriately. The manual has a full list of major modes.
Customizing
Most customization is handled through the Options menu - most entries
here are self-explanatory, but there are a couple I use
frequently which deserve special mention.
.emacs file in your home
directory and add the line:
(setq auto-mode-alist (cons '("\\.h$" . c++-mode) auto-mode-alist))
Debugging
Use gdb or ddd for debugging. Both are fine debuggers and ddd will
give you a nice GUI for controlling a running program. There is
not much to say except to mention that core files
generated when a program crashes are actually very useful
information and should not be discarded out of hand.
Starting the gdb debugger using:
gdb programname core
where programname is the name of the program which just crashed will
start up the gdb debugger, load the program and re-create the
execution at the point the program crashed.
More information
The XEmacs web site can be found at http://www.xemacs.org Local info on XEmacs can always be found by clicking on the Help menu from within XEmacs and the complete manuals for XEmacs along with (assuming competent sysadmin support) for many other GNU packages can be found by clicking on the "Info" button.
Documentation on the gdb debugger is available through gnu.org at
http://www.gnu.org/manual/gdb-4.17/gdb.html.
A local copy for browsing is available on
this server.
A copy of the .tar.gz file suitable for downloading for use at home is
also available: gdb
Documentation on the ddd debugger (which uses gdb as the underlying
debugger) is available through gnu.org at
http://www.gnu.org/manual/ddd/index.html.
The manual is also available locally as a
Projects Home
Style
Autobuild
CVS
Doxygen
Karlis Kaugars
Last modified: Fri Jan 18 10:54:36 EST 2002