]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change in characters.el
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Jan 2021 11:36:54 +0000 (13:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Jan 2021 11:36:54 +0000 (13:36 +0200)
* lisp/international/characters.el: Adjust syntax of more
characters to follow that of Unicode properties.  (Bug#44974)

lisp/international/characters.el

index 88f2e20dccab28cddca05fa1a6d8fef24688863c..6924e1c06dbdc736bd8b78d78c7a582fcc9c23db 100644 (file)
@@ -226,6 +226,7 @@ with L, LRE, or LRO Unicode bidi character type.")
 
 
 ;; JISX0208
+;; Note: Some of these have their syntax updated later below.
 (map-charset-chars #'modify-syntax-entry 'japanese-jisx0208 "_" #x2121 #x227E)
 (map-charset-chars #'modify-syntax-entry 'japanese-jisx0208 "_" #x2821 #x287E)
 (let ((chars '(?ー ?゛ ?゜ ?ヽ ?ヾ ?ゝ ?ゞ ?〃 ?仝 ?々 ?〆 ?〇)))
@@ -681,6 +682,13 @@ with L, LRE, or LRO Unicode bidi character type.")
     (set-case-syntax c "." tbl)
     (setq c (1+ c)))
 
+  ;; Ideographic punctuation
+  (setq c #x3001)
+  (while (<= c #x3003)
+    (set-case-syntax c "." tbl)
+    (setq c (1+ c)))
+  (set-case-syntax #x30FB "." tbl)
+
   ;; Symbols for Legacy Computing
   (setq c #x1FB00)
   (while (<= c #x1FBCA)
@@ -698,6 +706,10 @@ with L, LRE, or LRO Unicode bidi character type.")
     (setq c (1+ c)))
   (set-case-syntax #xFF04 "_" tbl)
   (set-case-syntax #xFF0B "_" tbl)
+  (set-case-syntax #xFF1A "." tbl)
+  (set-case-syntax #xFF1B "." tbl)
+  (set-case-syntax #xFF1F "." tbl)
+  (set-case-syntax #xFF20 "." tbl)
   (setq c #xFF21)
   (while (<= c #xFF3A)
     (modify-category-entry c ?l)