.++ A
.+c "Using gedit.el"
.lp
\fHgedit.el\fR provides a version of the Emacs \fHnext-error\fR interface
that works better for \fBgreport\fR output.  The source for
\fHgedit.el\fR is, by default, in the GCT library directory; whoever installed GCT
may have put it with other local emacs files.
.lp
The most convenient way to use \fHgedit.el\fR is to always put
\fBgreport\fR output into files ending in \fH.g\fR and put something
like 
.nf

(setq auto-mode-alist (cons (cons "\\\\.g$" 'gedit-mode) auto-mode-alist))

.fi
into your \fI.emacs\fR file.  That
done, whenever you edit such a file, you'll use gedit-mode.
.lp
Either load \fHgedit.el\fR manually, or put something like
.nf
\fH
(autoload 'gedit-mode (expand-file-name "~/gct/src/gedit.el"))
\fR
.fi
in your \fI.emacs\fR file.
.lp
When in gedit-mode, each time you hit \fHSPC\fR, a new \fBgreport\fR line
will move to the top of one window.  The appropriate source file will
appear in the other window.  An arrow (=>) will point to the line in
question. (The arrow is not part of the file.)
.lp
Like \fHnext-error\fR, there's no convenient way to back up.  If you 
hit \fHe\fR, you'll restart from the beginning.
