From aaaea19b880b4a82459e2bd06601307dd38a30b7 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Mon, 8 Nov 1999 14:05:12 +0000 Subject: Changed web page to official one. Added x-symbol support (moved here from generic/proof-x-symbol) --- isa/isa.el | 37 +++++++++++++++++++++++++++++++++++-- 1 file 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) -- cgit v1.2.3