prolog-mode.el (lang/prolog-mode.el) Add to my watchlist

An emacs major mode for editing prolog programs.

So the Prolog mode that comes with Emacs sucks. Well, here is a better alternative, with all the features you would expect, including syntax highlighting, auto indent, and full interaction with an inferior Prolog process. This mode supports in principle any Prolog system, though it is primarily maintained with SWI Prolog in mind. It also has some special tweaks for SICStus Prolog, and explicitly supports Prolog's close relatives Eclipse and Mercury.

Version: 1.27 License: GPL-2+ GitHub
Maintainers No Maintainer
Categories lang editors
Homepage https://bruda.ca/emacs/prolog_mode_for_emacs
Platforms darwin
Variants -

"prolog-mode.el" depends on

lib (1)
run (1)
build (1)

Ports that depend on "prolog-mode.el"

No ports


Port notes

To use this, put the following into your ~/.emacs:
(autoload 'run-prolog "prolog" "Start a Prolog sub-process." t)
(autoload 'prolog-mode "prolog" "Major mode for editing Prolog programs." t)
(autoload 'mercury-mode "prolog" "Major mode for editing Mercury programs." t)
(setq prolog-system 'swi)
(setq auto-mode-alist (append '(("\.pl$" . prolog-mode)
("\.m$" . mercury-mode))
auto-mode-alist))


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0

Livecheck results

prolog-mode.el seems to have been updated (port version: 1.27, new version: 1.29)

livecheck ran: 1 day, 9 hours ago