aboutsummaryrefslogtreecommitdiff
path: root/isar
diff options
context:
space:
mode:
authorDavid Aspinall2007-03-03 15:28:20 +0000
committerDavid Aspinall2007-03-03 15:28:20 +0000
commit8561a2dfd1b246208420728a44744501a987a79a (patch)
tree22f84b6a09efc298e1c2462072d5e612bc610800 /isar
parent5a37180c03b61f4d64492e3fb36e4d7673e6e261 (diff)
Patch for XEmacs 21.5 beta match-replace bug
Diffstat (limited to 'isar')
-rw-r--r--isar/isar.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/isar/isar.el b/isar/isar.el
index 9ddca83c..b4b11479 100644
--- a/isar/isar.el
+++ b/isar/isar.el
@@ -214,8 +214,12 @@ See -k option for Isabelle interface script."
;; Allow font-locking for output based on hidden annotations, see
;; isar-output-font-lock-keywords-1
pg-use-specials-for-fontify t
- pg-special-char-regexp "[\200-\377]\\|\^A[A-Z]"
-
+ pg-special-char-regexp ;; should be: "[\200-\377]\\|\^A[A-Z]"
+ ;; da: the character range here fails to match (actually, fails
+ ;; to match-replace) in xemacs 21.5 betas, so I'm listing the
+ ;; characters instead, which works.
+ ;; This should probably be tuned to the ones actually used by Isabelle
+ "€\\|�\\|‚\\|ƒ\\|„\\|…\\|†\\|‡\\|ˆ\\|‰\\|Š\\|‹\\|Œ\\|�\\|Ž\\|�\\|�\\|‘\\|’\\|“\\|”\\|•\\|–\\|—\\|˜\\|™\\|š\\|›\\|œ\\|�\\|ž\\|Ÿ\\| \\|¡\\|¢\\|£\\|¤\\|¥\\|¦\\|§\\|¨\\|©\\|ª\\|«\\|¬\\|­\\|®\\|¯\\|°\\|±\\|²\\|³\\|´\\|µ\\|¶\\|·\\|¸\\|¹\\|º\\|»\\|¼\\|½\\|¾\\|¿\\|À\\|Á\\|Â\\|Ã\\|Ä\\|Å\\|Æ\\|Ç\\|È\\|É\\|Ê\\|Ë\\|Ì\\|Í\\|Î\\|Ï\\|Ð\\|Ñ\\|Ò\\|Ó\\|Ô\\|Õ\\|Ö\\|×\\|Ø\\|Ù\\|Ú\\|Û\\|Ü\\|Ý\\|Þ\\|ß\\|à\\|á\\|â\\|ã\\|ä\\|å\\|æ\\|ç\\|è\\|é\\|ê\\|ë\\|ì\\|í\\|î\\|ï\\|ð\\|ñ\\|ò\\|ó\\|ô\\|õ\\|ö\\|÷\\|ø\\|ù\\|ú\\|û\\|ü\\|ý\\|þ\\|ÿ\\|[A-Z]"
pg-after-fontify-output-hook 'pg-remove-specials
pg-subterm-help-cmd "term %s"