Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional timeout warning when waiting for the proof shell #516

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Next Next commit
Add proof-shell-timeout-warn variables (see #514)
  • Loading branch information
andyqhan committed Oct 12, 2020
commit 1f2120a006f50c8512701ba7c030a8a74d5c3c4c
14 changes: 14 additions & 0 deletions generic/proof-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,21 @@ outside of any proof.
:type 'function
:group 'proof-script)

(defcustom proof-shell-timeout-warn-p t
"Whether Proof General should warn us if a command is taking
too long and might be malformed.

Set to nil to disable."
:type 'boolean
:group 'proof-shell)

(defcustom proof-shell-timeout-warn-length 30
"If `proof-shell-timeout-p' is true, this tells PG how long to
wait before warning the user, in seconds.

Default value is 30 seconds. Set it as an integer."
:type 'integer
:group 'proof-shell)

;;
;; 3c. tokens mode: turning on/off tokens output
Expand Down