aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall1999-11-08 14:05:12 +0000
committerDavid Aspinall1999-11-08 14:05:12 +0000
commitaaaea19b880b4a82459e2bd06601307dd38a30b7 (patch)
tree6410b13c3f9838a2bdeddccd73b13d7bc6e2f8e3
parentc250cbc90e5d5d3a6942b3b89d0e7aa8e205cf27 (diff)
Changed web page to official one.
Added x-symbol support (moved here from generic/proof-x-symbol)
-rw-r--r--isa/isa.el37
1 files changed, 35 insertions, 2 deletions
diff --git a/isa/isa.el b/isa/isa.el
index b122d701..87f6b4de 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -61,8 +61,8 @@ no regular or easily discernable structure."
:group 'isabelle)
(defcustom isabelle-web-page
- ;; "http://www.cl.cam.ac.uk/Research/HVG/isabelle.html"
- "http://www.dcs.ed.ac.uk/home/isabelle"
+ "http://www.cl.cam.ac.uk/Research/HVG/isabelle.html"
+ ;; "http://www.dcs.ed.ac.uk/home/isabelle"
"URL of web page for Isabelle."
:type 'string
:group 'isabelle)
@@ -636,4 +636,37 @@ you will be asked to retract the file or process the remainder of it.
(setq font-lock-keywords isa-output-font-lock-keywords-1)
(proof-goals-config-done))
+
+;; =================================================================
+;;
+;; 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
+ "print_mode := !print_mode @ ["xsymbols","symbols"]"
+ proof-xsym-deactivate-command
+ "print_mode := filter_out (fn x=>prefix(rev (explode "symbols"),rev (explode x))) (!print_mode")
+
(provide 'isa)