aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-config.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1998-11-18 13:33:56 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1998-11-18 13:33:56 +0000
commitb588212335f38e3b92294ac3f3df7c89b8d9941d (patch)
treec805a740f38c009e50eece034ca377c062363e20 /generic/proof-config.el
parent944d1d1b55868c6e2a09f17fdd49f65bee092291 (diff)
improvements to docstrings and defcustoms.
added proof-shell-clear-response-regexp
Diffstat (limited to 'generic/proof-config.el')
-rw-r--r--generic/proof-config.el32
1 files changed, 29 insertions, 3 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index a1e815a0..b2841667 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -670,6 +670,13 @@ mere warning messages with this regexp)."
:type 'regexp
:group 'proof-shell)
+(defcustom proof-shell-clear-response-regexp nil
+ "Regexp matching output telling Proof General to clear the response buffer.
+This feature is useful to give the prover more control over what output
+is shown to the user. Set to nil to disable."
+ :type 'regexp
+ :group 'proof-shell)
+
(defcustom pbp-goal-command nil
"Command informing the prover that `pbp-button-action' has been
requested on a goal."
@@ -901,10 +908,29 @@ assistant, for example, to switch to a new theory."
;; More shell junk to sort out [maybe for pbp]
;;
-(defvar proof-shell-first-special-char nil "where the specials start")
+(defcustom proof-shell-first-special-char nil
+ "First special character.
+Codes above this character can have special meaning to Proof General,
+and are stripped from the prover's output strings."
+ :type '(choice character (const nil))
+ :group 'proof-shell)
+
+(defcustom proof-shell-start-char nil
+ "Starting special for a subterm markup.
+Subsequent characters with values *below* proof-shell-first-special-char
+are assumed to be subterm position indicators. Subterm markups should
+be finished with proof-shell-end-char."
+ :type '(choice character (const nil))
+ :group 'proof-shell)
+
+(defcustom proof-shell-end-char nil
+ "Finishing special for a subterm markup.
+See documentation of proof-shell-start-char."
+ :type '(choice character (const nil))
+ :group 'proof-shell)
+
(defvar proof-shell-goal-char nil "goal mark")
-(defvar proof-shell-start-char nil "annotation start")
-(defvar proof-shell-end-char nil "annotation end")
+
(defvar proof-shell-field-char nil "annotated field end")