diff options
author | 1999-11-11 10:47:48 +0000 | |
---|---|---|
committer | 1999-11-11 10:47:48 +0000 | |
commit | d629e1c6c2363024c9318c6daf1a8456cceb1a61 (patch) | |
tree | 1472b1c88c21fbf0b2db8a3620ec85a76da9fec0 /isa | |
parent | 671635077b301e62251b13141b0873a2538e570f (diff) |
Extensive fixes for x-symbol and font-lock.
Diffstat (limited to 'isa')
-rw-r--r-- | isa/isa-syntax.el | 2 | ||||
-rw-r--r-- | isa/isa.el | 29 | ||||
-rw-r--r-- | isa/x-symbol-isa.el | 2 |
3 files changed, 9 insertions, 24 deletions
diff --git a/isa/isa-syntax.el b/isa/isa-syntax.el index 861b6082..767df53a 100644 --- a/isa/isa-syntax.el +++ b/isa/isa-syntax.el @@ -297,7 +297,7 @@ (cons (concat "\353\\?'" isa-idx "\350") 'isabelle-tvar-name-face) (cons (concat "\354" isa-id "\350") 'isabelle-free-name-face) (cons (concat "\355" isa-id "\350") 'isabelle-bound-name-face) - (cons (concat "\356" isa-idx "\350") 'isabelle-var-name-face) + (cons (concat "\356" "\\?" isa-idx "\350") 'isabelle-var-name-face) (cons (concat "\357" isa-idx "\350") 'proof-declaration-name-face) ) "*Font-lock table for Isabelle terms.") @@ -313,7 +313,7 @@ proof-shell-retract-files-regexp." (eval-and-compile ; to define vars for byte comp. (define-derived-mode isa-pbp-mode pbp-mode - "Isabelle proofstate" nil + "Isabelle goals" nil (isa-pbp-mode-config))) (eval-and-compile ; to define vars for byte comp. @@ -650,29 +650,16 @@ you will be asked to retract the file or process the remainder of it. ;; x-symbol support for Isabelle PG, provided by David von Oheimb. ;; ;; The following settings configure the generic PG package. -;; ;; The token language "Isabelle Symbols" is in file x-symbol-isa.el ;; -;; name of minor isa mode -(defvar x-symbol-isa-name "Isabelle Symbols") - -(defvar x-symbol-isa-modes - '(isasym-mode - isa-proofscript-mode - proof-response-mode ; should be isa-response-mode? - proofstate-mode ; isa-proofstate-mode? - isa-shell-mode - isa-pbp-mode - thy-mode ; necessary? - isa-thy-mode - shell-mode ; necessary? - )) - -(defvar isasym-font-lock-keywords - '(("\\\\<[A-Za-z][A-Za-z0-9_']*>" (0 font-lock-type-face)))) - -(setq proof-xsym-activate-command +(setq proof-xsym-extra-modes + '(isasym-mode ; necessary? + thy-mode + shell-mode) ; necessary? + proof-xsym-font-lock-keywords + '(("\\\\<[A-Za-z][A-Za-z0-9_']*>" (0 font-lock-type-face))) + proof-xsym-activate-command "print_mode := (!print_mode union [\"xsymbols\",\"symbols\"])" proof-xsym-deactivate-command "print_mode := filter_out (fn x=>(rev (explode \"symbols\") prefix rev (explode x))) (!print_mode)") diff --git a/isa/x-symbol-isa.el b/isa/x-symbol-isa.el index d0cfbf81..5c38ced8 100644 --- a/isa/x-symbol-isa.el +++ b/isa/x-symbol-isa.el @@ -6,8 +6,6 @@ (provide 'x-symbol-isa) (defvar x-symbol-isa-required-fonts nil) -;(defvar x-symbol-isa-name "Isabelle Symbol") -(defvar x-symbol-isa-modeline-name "isa") (defvar x-symbol-isa-header-groups-alist nil) ;'(("Operator" bigop operator) ; ("Relation" relation) |