Variable: prolog-prompt-regexp
prolog-prompt-regexp is a customizable variable defined in
prolog.el.gz.
Value
((eclipse "^[a-zA-Z0-9()]* *\\?- \\|^\\[[a-zA-Z]* [0-9]*\\]:")
(sicstus "| [ ?][- ] *")
(swi "^\\(\\[[a-zA-Z]*\\] \\)?[1-9]?[0-9]*[ ]?\\?- \\|^| +")
(gnu "^| \\?-")
(t "^|? *\\?-"))
Documentation
Alist of prompts of the prolog system command line.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
(defcustom prolog-prompt-regexp
'((eclipse "^[a-zA-Z0-9()]* *\\?- \\|^\\[[a-zA-Z]* [0-9]*\\]:")
(sicstus "| [ ?][- ] *")
(swi "^\\(\\[[a-zA-Z]*\\] \\)?[1-9]?[0-9]*[ ]?\\?- \\|^| +")
(gnu "^| \\?-")
(t "^|? *\\?-"))
"Alist of prompts of the prolog system command line."
:version "24.1"
:group 'prolog-inferior
:type '(alist :key-type (choice symbol sexp)
:value-type (group (choice string (const nil) sexp)))
:risky t)