aboutsummaryrefslogtreecommitdiff
path: root/isar
diff options
context:
space:
mode:
authorMakarius Wenzel2005-09-01 14:18:12 +0000
committerMakarius Wenzel2005-09-01 14:18:12 +0000
commit3176ada294684f095dd3c98ea6de9fe6bbc5090c (patch)
tree0e5475d5c41e6b57dff393da50dc2fe9e2e352ed /isar
parent825242347d4582515121b1372eaab62e57c98209 (diff)
special regexps: include PGASCII version;
pg-after-fontify-output-hook: always do pg-remove-specials;
Diffstat (limited to 'isar')
-rw-r--r--isar/isar.el26
1 files changed, 14 insertions, 12 deletions
diff --git a/isar/isar.el b/isar/isar.el
index df472e5a..ca05bcc0 100644
--- a/isar/isar.el
+++ b/isar/isar.el
@@ -185,7 +185,7 @@ See -k option for Isabelle interface script."
pg-subterm-first-special-char ?\350
proof-shell-wakeup-char ?\372
- proof-shell-annotated-prompt-regexp "^\\w*[>#] \372"
+ proof-shell-annotated-prompt-regexp "^\\w*[>#] \372\\|^\\w*[>#] \^AS"
;; This pattern is just for comint.
proof-shell-prompt-pattern "^\\w*[>#] "
@@ -207,8 +207,8 @@ See -k option for Isabelle interface script."
'(("\\\\" . "\\\\") ("\"" . "\\\"")))
proof-shell-proof-completed-regexp nil ; n.a.
- proof-shell-interrupt-regexp "\364\\*\\*\\* Interrupt"
- proof-shell-error-regexp "\364\\*\\*\\*"
+ proof-shell-interrupt-regexp "\364\\*\\*\\* Interrupt\\|\^AM\\*\\*\\* Interrupt"
+ proof-shell-error-regexp "\364\\*\\*\\*\\|\^AM\\*\\*\\*"
proof-shell-abort-goal-regexp nil ; n.a.
;;
@@ -222,8 +222,8 @@ See -k option for Isabelle interface script."
;; proof-generic-goal-hyp-fn to get pg-goals-like features.
;; proof-shell-goal-regexp "\370[ \t]*\\([0-9]+\\)\\."
- proof-shell-start-goals-regexp "\366\n"
- proof-shell-end-goals-regexp "\367"
+ proof-shell-start-goals-regexp "\366\n\\|\^AO\n"
+ proof-shell-end-goals-regexp "\367\\|\^AP"
pg-topterm-char ?\370
;; FIXME: next one is needed for backward compatibility.
@@ -237,8 +237,8 @@ See -k option for Isabelle interface script."
proof-shell-restart-cmd "ProofGeneral.restart"
proof-shell-eager-annotation-start-length 1
- proof-shell-eager-annotation-start "\360\\|\362"
- proof-shell-eager-annotation-end "\361\\|\363"
+ proof-shell-eager-annotation-start "\360\\|\362\\|\^AI\\|\^AK"
+ proof-shell-eager-annotation-end "\361\\|\363\\|\^AJ\\|\^AL"
;; see isar-pre-shell-start for proof-shell-trace-output-regexp
;; Isabelle is learning to talk PGIP...
@@ -251,7 +251,7 @@ See -k option for Isabelle interface script."
proof-shell-clear-goals-regexp "Proof General, please clear the goals buffer."
;; Theorem dependencies. NB: next regex anchored at end with eager annot end
- proof-shell-theorem-dependency-list-regexp "Proof General, theorem dependencies of \\(.*\\) are \"\\(.*\\)\"\361"
+ proof-shell-theorem-dependency-list-regexp "Proof General, theorem dependencies of \\(.*\\) are \"\\(.*\\)\"\\(\361\\|\^AJ\\)"
proof-shell-theorem-dependency-list-split "\" \""
proof-shell-show-dependency-cmd "thm %s;"
proof-shell-identifier-under-mouse-cmd
@@ -262,6 +262,7 @@ See -k option for Isabelle interface script."
;; Allow font-locking for output based on hidden annotations, see
;; isar-output-font-lock-keywords-1
pg-use-specials-for-fontify t
+ pg-special-char-regexp "[\200-\377]\\|\^A[A-Z]"
;; === ANNOTATIONS === these ones are not implemented in Isabelle
proof-shell-result-start "\372 Pbp result \373"
@@ -270,9 +271,10 @@ See -k option for Isabelle interface script."
pg-subterm-start-char ?\372
pg-subterm-sep-char ?\373
pg-subterm-end-char ?\374
- pg-after-fontify-output-hook
- (if proof-experimental-features
- 'isabelle-convert-idmarkup-to-subterm 'pg-remove-specials)
+ pg-after-fontify-output-hook 'pg-remove-specials
+; FIXME mak: does not work with PGASCII
+; (if proof-experimental-features
+; 'isabelle-convert-idmarkup-to-subterm 'pg-remove-specials)
pg-subterm-help-cmd "term %s"
proof-cannot-reopen-processed-files t
@@ -570,7 +572,7 @@ Checks the width in the `proof-goals-buffer'"
(setq proof-mode-for-shell 'isar-shell-mode)
(setq proof-mode-for-goals 'isar-goals-mode)
(setq proof-mode-for-response 'isar-response-mode)
- (setq proof-shell-trace-output-regexp "\375"))
+ (setq proof-shell-trace-output-regexp "\375\\|\^AV"))
;;