3.11.1.1 Quick-Start

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 `.pro' or `.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 4.0.0 was installed in /usr/local/, add the following line:

     (load "/usr/local/lib/sicstus-4.0.0/emacs/sicstus_emacs_init")

Under Windows, assuming SICStus 4.0.0 was installer in C:\Program Files\SICStus Prolog 4.0.0\, add the following line:

     (load "C:/Program Files/SICStus Prolog 4.0.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.


Send feedback on this subject.