Download Sec - SICStus Prolog 3
Transcript
Chapter 7: The Emacs Interface 19 7 The Emacs Interface The Emacs Interface was originally developed for GNU Emacs 19.34 and is presently being maintained using XEmacs 21.1 and tested with GNU Emacs 19.34.1. For best performance and compatibility and to enable all features we recommend that the latest versions of GNU Emacs or XEmacs are used. For information on obtaining Emacs, see www.emacs.org. For information specific to GNU Emacs or XEmacs, see www.gnu.org and www.xemacs.org. 7.1 Installation Starting with SICStus 3.8 the Emacs interface is distributed with SICStus and installed by default. The default installation location for the emacs files is ‘<prefix>/lib/sicstus-3.8/emacs/’ on UNIX platforms and ‘C:\Program Files\SICStus Prolog\emacs\’ on Windows. For maximum performance it is recommended, that the Emacs lisp files (extension .el) are compiled. This can be done from within Emacs with the command M-x byte-compilefile. See section “Installation” in SICStus Prolog Manual, for further details. 7.1.1 Installing On-Line Documentation It is possible to look up the documentation for any built in or library predicate from within Emacs (using C-c ? or the menu). For this to work Emacs must be told about the location of the ‘info’-files that make up the documentation. This can be done for the entire emacs installation or on a per user basis, see section “Installation” in SICStus Prolog Manual, for further details. The default location for the ‘info’-files are ‘<prefix>/lib/sicstus-3.8/doc/info/’ on UNIX platforms and ‘C:\Program Files\SICStus Prolog\doc\info\’ on Windows. More recent versions of GNU Emacs and XEmacs should be able to automatically incorporate info files from a subdirectory into the main Info documentation tree. It is therefore recommended that the SICStus Info files are kept together in their own directory.