Once upon a time, there was port of the Quintus Prolog GNU-Emacs package for GNU-Emacs 18. This package has been dropped from the distribution because it didn't work on Emacs 19 and 20.
The default Prolog mode for GNU-Emacs can be activated by adding the following rules to your Emacs initialisation file:
(setq auto-mode-alist (append '(("\\.pl" . prolog-mode)) auto-mode-alist)) (setq prolog-program-name "pl") (setq prolog-consult-string "[user].\n") ;If you want this. Indentation is either poor or I don't use ;it as intended. ;(setq prolog-indent-width 8) |
If anyone has a better suggestion, please make this public.