Using XPCE
The
XPCE GUI tool for Prolog comes with a
build-in emacs clone written in Prolog. It's emacs mode does proper
indentation, full syntax checking by calling the SWI-Prolog parser, warning for
singleton variables and finding predicate definitions based on the source-information from the Prolog database.
Both syntax checking and singleton warnings are generated
each time you type the finishing full-stop of a clause or using
the
C-c C-s command.
See
BindEditor for selecting PceEmacs as default editor.
Cross Referencing
As of SWI-Prolog 3.4.0/XPCE 5.0.9, the prolog mode of PceEmacs performs
automatic
cross referencing, colouring code according to whether it is defined
and/or accessed.
--
JanWielemaker - 01 Oct 2000