aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-config.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2011-11-15 13:50:51 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2011-11-15 13:50:51 +0000
commit17e3598c76cb426e96b973fb49c53a4227877383 (patch)
tree6ebb3da0beb65bd913478b2bd036435e58dbca57 /generic/proof-config.el
parent0d6be0aee27af7773714e2baa7ce344c11b41f53 (diff)
Quick stab at support for switching to proof shell when interactive support expected, see Trac #430
Diffstat (limited to 'generic/proof-config.el')
-rw-r--r--generic/proof-config.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index c5a49340..7f112979 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -1440,6 +1440,20 @@ response buffer."
:type '(choice nil regexp)
:group 'proof-shell)
+(defcustom proof-shell-interactive-prompt-regexp nil
+ "Matches output from the prover which indicates an interactive prompt.
+If we match this, we suppose that the prover has switched to an
+interactive diagnostic mode which requires direct interaction
+with the shell rather than via script management. In this case,
+the shell buffer will be displayed and the user left to their own
+devices.
+
+Note: this should match a string which is bounded by matches
+on `proof-shell-eager-annotation-start' and
+`proof-shell-eager-annotation-end'."
+ :type '(choice nil regexp)
+ :group 'proof-shell)
+
;;
;; 3c. tokens mode: turning on/off tokens output