diff options
| author | David Aspinall | 1999-09-21 17:51:30 +0000 |
|---|---|---|
| committer | David Aspinall | 1999-09-21 17:51:30 +0000 |
| commit | 889d6511c538832864d1f1ec470968930be8ee12 (patch) | |
| tree | 27ddebf768aaaccfebecc2b360f3095f2ff3b160 | |
| parent | fd32916e9ac17b3dfc104464e04a37a394d6a2e8 (diff) | |
Fix for proof-shell-proof-completed-regexp
| -rw-r--r-- | isa/isa-syntax.el | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/isa/isa-syntax.el b/isa/isa-syntax.el index 527f3f89..24eac267 100644 --- a/isa/isa-syntax.el +++ b/isa/isa-syntax.el @@ -64,8 +64,21 @@ ;; ML code around. One solution is to define a ;; restricted language consisting of the interactive ;; commands. We'd still need regexps below, though. -;; Alternatively: customize this for Marcus Wenzel's -;; proof language. +;; Alternative 1: customize this for Markus Wenzel's +;; proof language. Markus has done this now! +;; Alternative 2: add hooks from Isabelle to say +;; "I've just seen a goal command" or "I've just seen a +;; tactic". This would allow more accurate +;; counting of undos. + +;; FIXME da: here are some examples of input failures I've +;; found in real proofs: +;; +;; val lemma = result() RS spec RS mp; +;; +;; Not recognized as a qed command, and therefore assumed +;; to be an undoable tactic command. +;; (defgroup isa-syntax nil @@ -92,10 +105,10 @@ :type '(repeat string)) (defcustom isa-keywords-save - '("qed" "qed_spec_mp" "no_qed") + '("qed" "qed_spec_mp" "no_qed" "result()" "result ()") ;; Related commands, but having different types, so PG ;; won't bother support them: - ;; "result" "uresult" "bind_thm" "store_thm" + ;; "uresult" "bind_thm" "store_thm" "Isabelle commands to extract the proved theorem" :group 'isa-syntax :type '(repeat string)) |
