diff options
author | 2000-08-14 15:32:18 +0000 | |
---|---|---|
committer | 2000-08-14 15:32:18 +0000 | |
commit | 6151201e58ed340b20670c0fed546dbdc56dc550 (patch) | |
tree | f8307863d04f6d5222ab608315763da3251af07c /coq | |
parent | 537a15a5c29d7a9fe24d5f7f3b3b1348361a85b2 (diff) |
enhancement of x-symbol for coq, philosophy is not encoded, and phi1 is,
one problem remains: a word ending with phi will be encoded.
Diffstat (limited to 'coq')
-rw-r--r-- | coq/x-symbol-coq.el | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/coq/x-symbol-coq.el b/coq/x-symbol-coq.el index 541560ee..3f77c1b3 100644 --- a/coq/x-symbol-coq.el +++ b/coq/x-symbol-coq.el @@ -6,7 +6,10 @@ ;; (defvar x-symbol-coq-symbol-table - '((longarrowright () "->" "\\<longrightarrow>") + '((perpendicular () "False" "\\<bottom>") + (top () "True" "\\<top>") + (notsign () "~" "\\<not>") + (longarrowright () "->" "\\<longrightarrow>") (logicaland () "/\\" "\\<and>") (logicalor () "\\/" "\\<or>") (equivalence () "<->" "\\<equiv>") @@ -58,7 +61,15 @@ (defvar x-symbol-coq-electric-ignore nil) (defvar x-symbol-coq-required-fonts nil) (defvar x-symbol-coq-case-insensitive nil) -(defvar x-symbol-coq-token-shape nil) + +;Pierre: let's try this, phi1 will be encoded, but not phia or +;philosophy. problem: blaphi will be encoded, other problem: false1 +;sholud not be encoded (this on eshould be easy: +;x-symbol-coq-token-shape is a list) + +(defvar x-symbol-coq-token-shape '(?_ "[A-Za-z]+" . "[^0-9\ \t\n]")) +;(defvar x-symbol-coq-token-shape nil) + (defvar x-symbol-coq-table x-symbol-coq-symbol-table) (defun x-symbol-coq-default-token-list (tokens) tokens) (defvar x-symbol-coq-token-list 'x-symbol-coq-default-token-list) |