aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-09-23 22:21:46 +0000
committerDave Love2002-09-23 22:21:46 +0000
commitb427c97eb754d63f52b752243a30eddacbdac8be (patch)
tree5871bfb27632cbaecf1b357d433f8ed99e49b345
parent9ecb9393d6b7e4ae9d879361f5462fbf4fc69c93 (diff)
downloademacs-b427c97eb754d63f52b752243a30eddacbdac8be.tar.gz
emacs-b427c97eb754d63f52b752243a30eddacbdac8be.zip
Add some non-word syntax cases.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/international/characters.el28
2 files changed, 28 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 37c0b151243..706e3aa5c20 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,7 @@
12002-09-23 Dave Love <fx@gnu.org> 12002-09-23 Dave Love <fx@gnu.org>
2 2
3 * international/characters.el: Don't set char width of CJK 3 * international/characters.el: Don't set char width of CJK
4 charsets generally. 4 charsets generally. Add some non-word syntax cases.
5 (korean-ksc5601): Fix ranges with symbol syntax. 5 (korean-ksc5601): Fix ranges with symbol syntax.
6 6
72002-09-14 Dave Love <fx@gnu.org> 72002-09-14 Dave Love <fx@gnu.org>
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index f5dfccf07ca..36a67cb5137 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -661,10 +661,16 @@
661 (while (<= c #x200b) 661 (while (<= c #x200b)
662 (set-case-syntax c " " tbl) 662 (set-case-syntax c " " tbl)
663 (setq c (1+ c))) 663 (setq c (1+ c)))
664 (setq c #x2010) 664 (while (<= c #x200F)
665 (set-case-syntax c "." tbl)
666 (setq c (1+ c)))
667 ;; Fixme: These aren't all right:
665 (while (<= c #x2027) 668 (while (<= c #x2027)
666 (set-case-syntax c "_" tbl) 669 (set-case-syntax c "_" tbl)
667 (setq c (1+ c))) 670 (setq c (1+ c)))
671 (while (<= c #x206F)
672 (set-case-syntax c "." tbl)
673 (setq c (1+ c)))
668 674
669 ;; Roman numerals 675 ;; Roman numerals
670 (setq c #x2160) 676 (setq c #x2160)
@@ -672,6 +678,24 @@
672 (set-case-syntax-pair c (+ c #x10) tbl) 678 (set-case-syntax-pair c (+ c #x10) tbl)
673 (setq c (1+ c))) 679 (setq c (1+ c)))
674 680
681 ;; Arrows
682 (setq c #x2190)
683 (while (<= c #c21FF)
684 (set-case-syntax-pair c "." tbl)
685 (setq c (1+ c)))
686 ;; Mathematical Operators
687 (while (<= c #x22FF)
688 (set-case-syntax-pair c "." tbl)
689 (setq c (1+ c)))
690 ;; Miscellaneous Technical
691 (while (<= c #x23FF)
692 (set-case-syntax-pair c "." tbl)
693 (setq c (1+ c)))
694 ;; Control Pictures
695 (while (<= c #x243F)
696 (set-case-syntax-pair c "_" tbl)
697 (set c (1+ c)))
698
675 ;; Circled Latin 699 ;; Circled Latin
676 (setq c #x24b6) 700 (setq c #x24b6)
677 (while (<= c #x24cf) 701 (while (<= c #x24cf)
@@ -809,6 +833,8 @@
809(optimize-char-table (standard-category-table)) 833(optimize-char-table (standard-category-table))
810(optimize-char-table (standard-syntax-table)) 834(optimize-char-table (standard-syntax-table))
811 835
836;; The Unicode blocks actually extend past some of these ranges with
837;; undefined codepoints.
812(let ((script-list nil)) 838(let ((script-list nil))
813 (dolist 839 (dolist
814 (elt 840 (elt