Assuming the Emacs interface for SICStus Prolog has been installed in
the default location, inserting a single line in your ~/.emacs
will make Emacs use the SICStus Prolog mode automatically when editing
files with a .pl
extension. It will also ensure Emacs can find
the SICStus executables and on-line documentation, etc.
Note to Windows users: ~/.emacs
denotes a file .emacs
in
whatever Emacs considers to be your home directory. See GNU
Emacs FAQ For Windows 98/ME/NT/XP and 2000
at
http://www.gnu.org/software/emacs/windows/ntemacs.html, for
details.
Under UNIX, assuming SICStus 3.11.0 was installed in
/usr/local/
, add the following line:
(load-file "/usr/local/lib/sicstus-3.11.0/emacs/sicstus_emacs_init")
Under Windows, assuming SICStus 3.11.0 was installer in
C:\Program Files\SICStus Prolog 3.11.0\
, add the following line:
(load-file "C:/Program Files/SICStus Prolog 3.11.0/emacs/sicstus_emacs_init")
No other configuration should be needed to get started. If you want to
customize things, look in the sictus_emacs_init.el
file and the
rest of this section.