From 6bcbcc5aafacda0ab81c9beb5530c2c31d4e240c Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 16 Jun 2000 11:13:21 +0000 Subject: Renamed file --- isa/x-symbol-isa.el | 239 ----------------------------------------------- isa/x-symbol-isabelle.el | 239 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 239 insertions(+), 239 deletions(-) delete mode 100644 isa/x-symbol-isa.el create mode 100644 isa/x-symbol-isabelle.el diff --git a/isa/x-symbol-isa.el b/isa/x-symbol-isa.el deleted file mode 100644 index 064c7d6a..00000000 --- a/isa/x-symbol-isa.el +++ /dev/null @@ -1,239 +0,0 @@ -;; ID: $Id$ -;; Author: David von Oheimb -;; Copyright 1998 Technische Universitaet Muenchen -;; token language "Isabelle Symbols" for package x-symbol -;; -;; NB: Part of Proof General distribution. -;; - -(defvar x-symbol-isa-required-fonts nil) - -;; FIXME da: these next two are also set in proof-x-symbol.el, but -;; it's handy to use this file away from PG. In future could -;; fix things so just (require 'proof-x-symbol) would be enough -;; here. -(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) -; ("Arrow, Punctuation" arrow triangle shape -; white line dots punctuation quote parenthesis) -; ("Symbol" symbol currency mathletter setsymbol) -; ("Greek Letter" greek greek1) -; ("Acute, Grave" acute grave)) -; "*If non-nil, used in isasym specific grid/menu. - -(defvar x-symbol-isa-class-alist - '((VALID "Isabelle Symbol" (x-symbol-info-face)) - (INVALID "no Isabelle Symbol" (red x-symbol-info-face)))) -(defvar x-symbol-isa-class-face-alist nil) -(defvar x-symbol-isa-electric-ignore "[:'][A-Za-z]\\|<=") - -(defvar x-symbol-isa-font-lock-keywords nil) -(defvar x-symbol-isa-master-directory 'ignore) -(defvar x-symbol-isa-image-searchpath '("./")) -(defvar x-symbol-isa-image-cached-dirs '("images/" "pictures/")) -(defvar x-symbol-isa-image-file-truename-alist nil) -(defvar x-symbol-isa-image-keywords nil) - -(defvar x-symbol-isa-case-insensitive nil) -;(defvar x-symbol-isa-token-shape '(?\\ "\\\\\\<[A-Za-z][A-Za-z0-9_']*>\\a'" . "[A-Za-z]")) -(defvar x-symbol-isa-token-shape nil) - -(defvar x-symbol-isa-exec-specs '(nil ("\\`\\\\<[A-Za-z][A-Za-z0-9_']*>\\'" . - "\\\\<[A-Za-z][A-Za-z0-9_']*>"))) - -(defvar x-symbol-isa-input-token-ignore nil) -(defun x-symbol-isa-default-token-list (tokens) tokens) - - -(defvar x-symbol-isa-token-list 'x-symbol-isa-default-token-list) - -(defvar x-symbol-isa-symbol-table '(;;symbols (isabelle14 font) - (visiblespace () "\\\\" "\\") - (Gamma () "\\\\" "\\") - (Delta () "\\\\" "\\") - (Theta () "\\\\" "\\") - (Lambda () "\\\\" "\\") - (Pi () "\\\\" "\\") - (Sigma () "\\\\" "\\") - (Phi () "\\\\" "\\") - (Psi () "\\\\" "\\") - (Omega () "\\\\" "\\") - (alpha () "\\\\" "\\") - (beta () "\\\\" "\\") - (gamma () "\\\\" "\\") - (delta () "\\\\" "\\") - (epsilon1 () "\\\\" "\\") - (zeta () "\\\\" "\\") - (eta () "\\\\" "\\") - (theta1 () "\\\\" "\\") - (kappa1 () "\\\\" "\\") - (lambda () "\\\\" "\\") - (mu () "\\\\" "\\") - (nu () "\\\\" "\\") - (xi () "\\\\" "\\") - (pi () "\\\\" "\\") - (rho () "\\\\" "\\") - (sigma () "\\\\" "\\") - (tau () "\\\\" "\\") - (phi1 () "\\\\" "\\") - (chi () "\\\\" "\\") - (psi () "\\\\" "\\") - (omega () "\\\\" "\\") - (notsign () "\\\\" "\\") - (logicaland () "\\\\" "\\") - (logicalor () "\\\\" "\\") - (universal1 () "\\\\" "\\") - (existential1 () "\\\\" "\\") - (biglogicaland () "\\\\" "\\") - (ceilingleft () "\\\\" "\\") - (ceilingright () "\\\\" "\\") - (floorleft () "\\\\" "\\") - (floorright () "\\\\" "\\") - (bardash () "\\\\" "\\") - (bardashdbl () "\\\\" "\\") - (semanticsleft () "\\\\" "\\") - (semanticsright () "\\\\" "\\") - (periodcentered () "\\\\" "\\") - (element () "\\\\" "\\") - (reflexsubset () "\\\\" "\\") - (intersection () "\\\\" "\\") - (union () "\\\\" "\\") - (bigintersection () "\\\\" "\\") - (bigunion () "\\\\" "\\") - (sqintersection () "\\\\" "\\") - (squnion () "\\\\" "\\") - (bigsqintersection () "\\\\" "\\") - (bigsqunion () "\\\\" "\\") - (perpendicular () "\\\\" "\\") - (dotequal () "\\\\" "\\") - (equivalence () "\\\\" "\\") - (notequal () "\\\\" "\\") - (propersqsubset () "\\\\" "\\") - (reflexsqsubset () "\\\\" "\\") - (properprec () "\\\\" "\\") - (reflexprec () "\\\\" "\\") - (propersucc () "\\\\" "\\") - (approxequal () "\\\\" "\\") - (similar () "\\\\" "\\") - (simequal () "\\\\" "\\") - (lessequal () "\\\\" "\\") - (coloncolon () "\\\\" "\\") - (arrowleft () "\\\\" "\\") - (endash () "\\\\" "\\") - (arrowright () "\\\\" "\\") - (arrowdblleft () "\\\\" "\\") -; (rightleftharpoons () "\\\\" "\\") ;missing symbol (but not necessary) - (arrowdblright () "\\\\" "\\") - (frown () "\\\\" "\\") - (mapsto () "\\\\" "\\") - (leadsto () "\\\\" "\\") - (arrowup () "\\\\" "\\") - (arrowdown () "\\\\" "\\") - (notelement () "\\\\" "\\") - (multiply () "\\\\" "\\") - (circleplus () "\\\\" "\\") - (circleminus () "\\\\" "\\") - (circlemultiply () "\\\\" "\\") - (circleslash () "\\\\" "\\") - (propersubset () "\\\\" "\\") - (infinity () "\\\\" "\\") - (box () "\\\\" "\\") - (lozenge1 () "\\\\" "\\") - (circ () "\\\\" "\\") - (bullet () "\\\\" "\\") - (bardbl () "\\\\" "\\") - (radical () "\\\\" "\\") - (copyright () "\\\\" "\\") - )) -(defvar x-symbol-isa-xsymbol-table '(;;xsymbols - (plusminus () "\\\\" "\\") - (division () "\\\\
" "\\
") - (longarrowright () "\\\\" "\\") - (longarrowleft () "\\\\" "\\") - (longarrowboth () "\\\\" "\\") - (longarrowdblright () "\\\\" "\\") - (longarrowdblleft () "\\\\" "\\") - (longarrowdblboth () "\\\\" "\\") - (brokenbar () "\\\\" "\\") - (hyphen () "\\\\" "\\") - (macron () "\\\\" "\\") - (exclamdown () "\\\\" "\\") - (questiondown () "\\\\" "\\") - (guillemotleft () "\\\\" "\\") - (guillemotright () "\\\\" "\\") - (degree () "\\\\" "\\") - (onesuperior () "\\\\" "\\") - (onequarter () "\\\\" "\\") - (twosuperior () "\\\\" "\\") - (onehalf () "\\\\" "\\") - (threesuperior () "\\\\" "\\") - (threequarters () "\\\\" "\\") - (paragraph () "\\\\" "\\") - (registered () "\\\\" "\\") - (ordfeminine () "\\\\" "\\") - (ordmasculine () "\\\\" "\\") - (section () "\\\\
" "\\
") - (pounds () "\\\\" "\\") - (yen () "\\\\" "\\") - (cent () "\\\\" "\\") - (currency () "\\\\" "\\") - (braceleft2 () "\\\\" "\\") - (braceright2 () "\\\\" "\\") - (top () "\\\\" "\\") - )) -(defvar x-symbol-isa-user-table nil) -(defvar x-symbol-isa-table - (append x-symbol-isa-user-table - (append x-symbol-isa-symbol-table x-symbol-isa-xsymbol-table))) - -;;;=========================================================================== -;;; Internal -;;;=========================================================================== - -(defvar x-symbol-isa-menu-alist nil - "Internal. Alist used for Isasym specific menu.") -(defvar x-symbol-isa-grid-alist nil - "Internal. Alist used for Isasym specific grid.") - -(defvar x-symbol-isa-decode-atree nil - "Internal. Atree used by `x-symbol-token-input'.") -(defvar x-symbol-isa-decode-alist nil - "Internal. Alist used for decoding of Isasym macros.") -(defvar x-symbol-isa-encode-alist nil - "Internal. Alist used for encoding to Isasym macros.") - -(defvar x-symbol-isa-nomule-decode-exec nil - "Internal. File name of Isasym decode executable.") -(defvar x-symbol-isa-nomule-encode-exec nil - "Internal. File name of Isasym encode executable.") - - - -;;;=========================================================================== -;;; useful key bindings -;;;=========================================================================== - - -;; FIXME: these break some standard bindings, and should only be set -;; for proof shell, script (or minibuffer) modes. - -;(global-set-key [(meta l)] 'x-symbol-INSERT-lambda) - -;(global-set-key [(meta n)] 'x-symbol-INSERT-notsign) -;(global-set-key [(meta a)] 'x-symbol-INSERT-logicaland) -;(global-set-key [(meta o)] 'x-symbol-INSERT-logicalor) -;(global-set-key [(meta f)] 'x-symbol-INSERT-universal1) -;(global-set-key [(meta t)] 'x-symbol-INSERT-existential1) - -;(global-set-key [(meta A)] 'x-symbol-INSERT-biglogicaland) -;(global-set-key [(meta e)] 'x-symbol-INSERT-equivalence) -;(global-set-key [(meta u)] 'x-symbol-INSERT-notequal) -;(global-set-key [(meta m)] 'x-symbol-INSERT-arrowdblright) - -;(global-set-key [(meta i)] 'x-symbol-INSERT-longarrowright) - -(provide 'x-symbol-isa) diff --git a/isa/x-symbol-isabelle.el b/isa/x-symbol-isabelle.el new file mode 100644 index 00000000..064c7d6a --- /dev/null +++ b/isa/x-symbol-isabelle.el @@ -0,0 +1,239 @@ +;; ID: $Id$ +;; Author: David von Oheimb +;; Copyright 1998 Technische Universitaet Muenchen +;; token language "Isabelle Symbols" for package x-symbol +;; +;; NB: Part of Proof General distribution. +;; + +(defvar x-symbol-isa-required-fonts nil) + +;; FIXME da: these next two are also set in proof-x-symbol.el, but +;; it's handy to use this file away from PG. In future could +;; fix things so just (require 'proof-x-symbol) would be enough +;; here. +(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) +; ("Arrow, Punctuation" arrow triangle shape +; white line dots punctuation quote parenthesis) +; ("Symbol" symbol currency mathletter setsymbol) +; ("Greek Letter" greek greek1) +; ("Acute, Grave" acute grave)) +; "*If non-nil, used in isasym specific grid/menu. + +(defvar x-symbol-isa-class-alist + '((VALID "Isabelle Symbol" (x-symbol-info-face)) + (INVALID "no Isabelle Symbol" (red x-symbol-info-face)))) +(defvar x-symbol-isa-class-face-alist nil) +(defvar x-symbol-isa-electric-ignore "[:'][A-Za-z]\\|<=") + +(defvar x-symbol-isa-font-lock-keywords nil) +(defvar x-symbol-isa-master-directory 'ignore) +(defvar x-symbol-isa-image-searchpath '("./")) +(defvar x-symbol-isa-image-cached-dirs '("images/" "pictures/")) +(defvar x-symbol-isa-image-file-truename-alist nil) +(defvar x-symbol-isa-image-keywords nil) + +(defvar x-symbol-isa-case-insensitive nil) +;(defvar x-symbol-isa-token-shape '(?\\ "\\\\\\<[A-Za-z][A-Za-z0-9_']*>\\a'" . "[A-Za-z]")) +(defvar x-symbol-isa-token-shape nil) + +(defvar x-symbol-isa-exec-specs '(nil ("\\`\\\\<[A-Za-z][A-Za-z0-9_']*>\\'" . + "\\\\<[A-Za-z][A-Za-z0-9_']*>"))) + +(defvar x-symbol-isa-input-token-ignore nil) +(defun x-symbol-isa-default-token-list (tokens) tokens) + + +(defvar x-symbol-isa-token-list 'x-symbol-isa-default-token-list) + +(defvar x-symbol-isa-symbol-table '(;;symbols (isabelle14 font) + (visiblespace () "\\\\" "\\") + (Gamma () "\\\\" "\\") + (Delta () "\\\\" "\\") + (Theta () "\\\\" "\\") + (Lambda () "\\\\" "\\") + (Pi () "\\\\" "\\") + (Sigma () "\\\\" "\\") + (Phi () "\\\\" "\\") + (Psi () "\\\\" "\\") + (Omega () "\\\\" "\\") + (alpha () "\\\\" "\\") + (beta () "\\\\" "\\") + (gamma () "\\\\" "\\") + (delta () "\\\\" "\\") + (epsilon1 () "\\\\" "\\") + (zeta () "\\\\" "\\") + (eta () "\\\\" "\\") + (theta1 () "\\\\" "\\") + (kappa1 () "\\\\" "\\") + (lambda () "\\\\" "\\") + (mu () "\\\\" "\\") + (nu () "\\\\" "\\") + (xi () "\\\\" "\\") + (pi () "\\\\" "\\") + (rho () "\\\\" "\\") + (sigma () "\\\\" "\\") + (tau () "\\\\" "\\") + (phi1 () "\\\\" "\\") + (chi () "\\\\" "\\") + (psi () "\\\\" "\\") + (omega () "\\\\" "\\") + (notsign () "\\\\" "\\") + (logicaland () "\\\\" "\\") + (logicalor () "\\\\" "\\") + (universal1 () "\\\\" "\\") + (existential1 () "\\\\" "\\") + (biglogicaland () "\\\\" "\\") + (ceilingleft () "\\\\" "\\") + (ceilingright () "\\\\" "\\") + (floorleft () "\\\\" "\\") + (floorright () "\\\\" "\\") + (bardash () "\\\\" "\\") + (bardashdbl () "\\\\" "\\") + (semanticsleft () "\\\\" "\\") + (semanticsright () "\\\\" "\\") + (periodcentered () "\\\\" "\\") + (element () "\\\\" "\\") + (reflexsubset () "\\\\" "\\") + (intersection () "\\\\" "\\") + (union () "\\\\" "\\") + (bigintersection () "\\\\" "\\") + (bigunion () "\\\\" "\\") + (sqintersection () "\\\\" "\\") + (squnion () "\\\\" "\\") + (bigsqintersection () "\\\\" "\\") + (bigsqunion () "\\\\" "\\") + (perpendicular () "\\\\" "\\") + (dotequal () "\\\\" "\\") + (equivalence () "\\\\" "\\") + (notequal () "\\\\" "\\") + (propersqsubset () "\\\\" "\\") + (reflexsqsubset () "\\\\" "\\") + (properprec () "\\\\" "\\") + (reflexprec () "\\\\" "\\") + (propersucc () "\\\\" "\\") + (approxequal () "\\\\" "\\") + (similar () "\\\\" "\\") + (simequal () "\\\\" "\\") + (lessequal () "\\\\" "\\") + (coloncolon () "\\\\" "\\") + (arrowleft () "\\\\" "\\") + (endash () "\\\\" "\\") + (arrowright () "\\\\" "\\") + (arrowdblleft () "\\\\" "\\") +; (rightleftharpoons () "\\\\" "\\") ;missing symbol (but not necessary) + (arrowdblright () "\\\\" "\\") + (frown () "\\\\" "\\") + (mapsto () "\\\\" "\\") + (leadsto () "\\\\" "\\") + (arrowup () "\\\\" "\\") + (arrowdown () "\\\\" "\\") + (notelement () "\\\\" "\\") + (multiply () "\\\\" "\\") + (circleplus () "\\\\" "\\") + (circleminus () "\\\\" "\\") + (circlemultiply () "\\\\" "\\") + (circleslash () "\\\\" "\\") + (propersubset () "\\\\" "\\") + (infinity () "\\\\" "\\") + (box () "\\\\" "\\") + (lozenge1 () "\\\\" "\\") + (circ () "\\\\" "\\") + (bullet () "\\\\" "\\") + (bardbl () "\\\\" "\\") + (radical () "\\\\" "\\") + (copyright () "\\\\" "\\") + )) +(defvar x-symbol-isa-xsymbol-table '(;;xsymbols + (plusminus () "\\\\" "\\") + (division () "\\\\
" "\\
") + (longarrowright () "\\\\" "\\") + (longarrowleft () "\\\\" "\\") + (longarrowboth () "\\\\" "\\") + (longarrowdblright () "\\\\" "\\") + (longarrowdblleft () "\\\\" "\\") + (longarrowdblboth () "\\\\" "\\") + (brokenbar () "\\\\" "\\") + (hyphen () "\\\\" "\\") + (macron () "\\\\" "\\") + (exclamdown () "\\\\" "\\") + (questiondown () "\\\\" "\\") + (guillemotleft () "\\\\" "\\") + (guillemotright () "\\\\" "\\") + (degree () "\\\\" "\\") + (onesuperior () "\\\\" "\\") + (onequarter () "\\\\" "\\") + (twosuperior () "\\\\" "\\") + (onehalf () "\\\\" "\\") + (threesuperior () "\\\\" "\\") + (threequarters () "\\\\" "\\") + (paragraph () "\\\\" "\\") + (registered () "\\\\" "\\") + (ordfeminine () "\\\\" "\\") + (ordmasculine () "\\\\" "\\") + (section () "\\\\
" "\\
") + (pounds () "\\\\" "\\") + (yen () "\\\\" "\\") + (cent () "\\\\" "\\") + (currency () "\\\\" "\\") + (braceleft2 () "\\\\" "\\") + (braceright2 () "\\\\" "\\") + (top () "\\\\" "\\") + )) +(defvar x-symbol-isa-user-table nil) +(defvar x-symbol-isa-table + (append x-symbol-isa-user-table + (append x-symbol-isa-symbol-table x-symbol-isa-xsymbol-table))) + +;;;=========================================================================== +;;; Internal +;;;=========================================================================== + +(defvar x-symbol-isa-menu-alist nil + "Internal. Alist used for Isasym specific menu.") +(defvar x-symbol-isa-grid-alist nil + "Internal. Alist used for Isasym specific grid.") + +(defvar x-symbol-isa-decode-atree nil + "Internal. Atree used by `x-symbol-token-input'.") +(defvar x-symbol-isa-decode-alist nil + "Internal. Alist used for decoding of Isasym macros.") +(defvar x-symbol-isa-encode-alist nil + "Internal. Alist used for encoding to Isasym macros.") + +(defvar x-symbol-isa-nomule-decode-exec nil + "Internal. File name of Isasym decode executable.") +(defvar x-symbol-isa-nomule-encode-exec nil + "Internal. File name of Isasym encode executable.") + + + +;;;=========================================================================== +;;; useful key bindings +;;;=========================================================================== + + +;; FIXME: these break some standard bindings, and should only be set +;; for proof shell, script (or minibuffer) modes. + +;(global-set-key [(meta l)] 'x-symbol-INSERT-lambda) + +;(global-set-key [(meta n)] 'x-symbol-INSERT-notsign) +;(global-set-key [(meta a)] 'x-symbol-INSERT-logicaland) +;(global-set-key [(meta o)] 'x-symbol-INSERT-logicalor) +;(global-set-key [(meta f)] 'x-symbol-INSERT-universal1) +;(global-set-key [(meta t)] 'x-symbol-INSERT-existential1) + +;(global-set-key [(meta A)] 'x-symbol-INSERT-biglogicaland) +;(global-set-key [(meta e)] 'x-symbol-INSERT-equivalence) +;(global-set-key [(meta u)] 'x-symbol-INSERT-notequal) +;(global-set-key [(meta m)] 'x-symbol-INSERT-arrowdblright) + +;(global-set-key [(meta i)] 'x-symbol-INSERT-longarrowright) + +(provide 'x-symbol-isa) -- cgit v1.2.3