aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2012-02-16 22:55:03 +0900
committerKenichi Handa2012-02-16 22:55:03 +0900
commitc406be4337317c4ff4e60dc74a10921bd1102cac (patch)
treec3a8795fd1ca04090140842fa4bdd1d7955a4f1e
parentf15bcb40f492d3b43a38447ba312fca35ce58ba2 (diff)
downloademacs-c406be4337317c4ff4e60dc74a10921bd1102cac.tar.gz
emacs-c406be4337317c4ff4e60dc74a10921bd1102cac.zip
Make the default values of character properties name, old-name, and iso-10646-comment to nil.
-rw-r--r--admin/ChangeLog6
-rw-r--r--admin/unidata/unidata-gen.el14
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/international/charprop.el6
-rw-r--r--lisp/international/uni-comment.elbin2407 -> 2386 bytes
-rw-r--r--lisp/international/uni-name.elbin158786 -> 158833 bytes
-rw-r--r--lisp/international/uni-old-name.elbin19713 -> 19760 bytes
7 files changed, 24 insertions, 9 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index cc734d1393c..c7bfc0ddc6e 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,9 @@
12012-02-16 Kenichi Handa <handa@m17n.org>
2
3 * unidata/unidata-gen.el (unidata-prop-alist): Change the default
4 values of name and old-name to nil.
5 (unidata-get-name): Return nil for the default value.
6
12012-02-11 Glenn Morris <rgm@gnu.org> 72012-02-11 Glenn Morris <rgm@gnu.org>
2 8
3 * admin.el (cusver-find-files, cusver-scan, cusver-goto-xref) 9 * admin.el (cusver-find-files, cusver-scan, cusver-goto-xref)
diff --git a/admin/unidata/unidata-gen.el b/admin/unidata/unidata-gen.el
index 713b0512e09..d9277217f0e 100644
--- a/admin/unidata/unidata-gen.el
+++ b/admin/unidata/unidata-gen.el
@@ -166,9 +166,10 @@
166 '((name 166 '((name
167 1 unidata-gen-table-name "uni-name.el" 167 1 unidata-gen-table-name "uni-name.el"
168 "Unicode character name. 168 "Unicode character name.
169Property value is a string." 169Property value is a string or nil.
170The value nil stands for the default value \"null string\")."
170 nil 171 nil
171 "") 172 nil)
172 (general-category 173 (general-category
173 2 unidata-gen-table-symbol "uni-category.el" 174 2 unidata-gen-table-symbol "uni-category.el"
174 "Unicode general category. 175 "Unicode general category.
@@ -235,7 +236,8 @@ Property value is a symbol `Y' or `N'. See also the property `mirroring'."
235 (old-name 236 (old-name
236 10 unidata-gen-table-name "uni-old-name.el" 237 10 unidata-gen-table-name "uni-old-name.el"
237 "Unicode old names as published in Unicode 1.0. 238 "Unicode old names as published in Unicode 1.0.
238Property value is a string.") 239Property value is a string or nil.
240The value nil stands for the default value \"null string\").")
239 (iso-10646-comment 241 (iso-10646-comment
240 11 unidata-gen-table-name "uni-comment.el" 242 11 unidata-gen-table-name "uni-comment.el"
241 "Unicode ISO 10646 comment. 243 "Unicode ISO 10646 comment.
@@ -712,7 +714,7 @@ is the character itself.")))
712 (aset table c name) 714 (aset table c name)
713 (if (= c char) 715 (if (= c char)
714 (setq val name)))) 716 (setq val name))))
715 (or val "")))) 717 val)))
716 718
717 ((and (integerp val) (> val 0)) 719 ((and (integerp val) (> val 0))
718 (let* ((symbol-table (aref (char-table-extra-slot table 4) 1)) 720 (let* ((symbol-table (aref (char-table-extra-slot table 4) 1))
@@ -738,9 +740,7 @@ is the character itself.")))
738 ((eq sym 'CJK\ COMPATIBILITY\ IDEOGRAPH) 740 ((eq sym 'CJK\ COMPATIBILITY\ IDEOGRAPH)
739 (format "%s-%04X" sym char)) 741 (format "%s-%04X" sym char))
740 ((eq sym 'VARIATION\ SELECTOR) 742 ((eq sym 'VARIATION\ SELECTOR)
741 (format "%s-%d" sym (+ (- char #xe0100) 17)))))) 743 (format "%s-%d" sym (+ (- char #xe0100) 17))))))))
742
743 (t "")))
744 744
745;; Store VAL as the name of CHAR in TABLE. 745;; Store VAL as the name of CHAR in TABLE.
746 746
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d8fdedfdbbd..f7ecfb529f2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12012-02-16 Kenichi Handa <handa@m17n.org>
2
3 * international/charprop.el:
4 * international/uni-name.el:
5 * international/uni-old-name.el:
6 * international/uni-comment.el: Regenerate.
7
12012-02-14 Glenn Morris <rgm@gnu.org> 82012-02-14 Glenn Morris <rgm@gnu.org>
2 9
3 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc. 10 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
diff --git a/lisp/international/charprop.el b/lisp/international/charprop.el
index 2424e87ae44..50226b1b773 100644
--- a/lisp/international/charprop.el
+++ b/lisp/international/charprop.el
@@ -2,7 +2,8 @@
2;; FILE: uni-name.el 2;; FILE: uni-name.el
3(define-char-code-property 'name "uni-name.el" 3(define-char-code-property 'name "uni-name.el"
4 "Unicode character name. 4 "Unicode character name.
5Property value is a string.") 5Property value is a string or nil.
6The value nil stands for the default value \"null string\").")
6;; FILE: uni-category.el 7;; FILE: uni-category.el
7(define-char-code-property 'general-category "uni-category.el" 8(define-char-code-property 'general-category "uni-category.el"
8 "Unicode general category. 9 "Unicode general category.
@@ -48,7 +49,8 @@ Property value is a symbol `Y' or `N'. See also the property `mirroring'.")
48;; FILE: uni-old-name.el 49;; FILE: uni-old-name.el
49(define-char-code-property 'old-name "uni-old-name.el" 50(define-char-code-property 'old-name "uni-old-name.el"
50 "Unicode old names as published in Unicode 1.0. 51 "Unicode old names as published in Unicode 1.0.
51Property value is a string.") 52Property value is a string or nil.
53The value nil stands for the default value \"null string\").")
52;; FILE: uni-comment.el 54;; FILE: uni-comment.el
53(define-char-code-property 'iso-10646-comment "uni-comment.el" 55(define-char-code-property 'iso-10646-comment "uni-comment.el"
54 "Unicode ISO 10646 comment. 56 "Unicode ISO 10646 comment.
diff --git a/lisp/international/uni-comment.el b/lisp/international/uni-comment.el
index 21ccfe3ffe7..c9743064bd4 100644
--- a/lisp/international/uni-comment.el
+++ b/lisp/international/uni-comment.el
Binary files differ
diff --git a/lisp/international/uni-name.el b/lisp/international/uni-name.el
index 8b681631067..c3e5f2e5907 100644
--- a/lisp/international/uni-name.el
+++ b/lisp/international/uni-name.el
Binary files differ
diff --git a/lisp/international/uni-old-name.el b/lisp/international/uni-old-name.el
index de2d67b9450..6165eba61cc 100644
--- a/lisp/international/uni-old-name.el
+++ b/lisp/international/uni-old-name.el
Binary files differ