emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107312: Make the default values of c


From: Kenichi Handa
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107312: Make the default values of character properties name, old-name, and iso-10646-comment to nil.
Date: Fri, 17 Feb 2012 16:35:28 +0900
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107312 [merge]
committer: Kenichi Handa <address@hidden>
branch nick: trunk
timestamp: Fri 2012-02-17 16:35:28 +0900
message:
  Make the default values of character properties name, old-name, and 
iso-10646-comment to nil.
modified:
  admin/ChangeLog
  admin/unidata/unidata-gen.el
  lisp/ChangeLog
  lisp/international/charprop.el
  lisp/international/uni-comment.el
  lisp/international/uni-name.el
  lisp/international/uni-old-name.el
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog   2012-02-11 22:16:10 +0000
+++ b/admin/ChangeLog   2012-02-16 13:55:03 +0000
@@ -1,3 +1,9 @@
+2012-02-16  Kenichi Handa  <address@hidden>
+
+       * unidata/unidata-gen.el (unidata-prop-alist): Change the default
+       values of name and old-name to nil.
+       (unidata-get-name): Return nil for the default value.
+
 2012-02-11  Glenn Morris  <address@hidden>
 
        * admin.el (cusver-find-files, cusver-scan, cusver-goto-xref)

=== modified file 'admin/unidata/unidata-gen.el'
--- a/admin/unidata/unidata-gen.el      2011-11-19 09:18:31 +0000
+++ b/admin/unidata/unidata-gen.el      2012-02-16 13:55:03 +0000
@@ -166,9 +166,10 @@
   '((name
      1 unidata-gen-table-name "uni-name.el"
      "Unicode character name.
-Property value is a string."
+Property value is a string or nil.
+The value nil stands for the default value \"null string\")."
      nil
-     "")
+     nil)
     (general-category
      2 unidata-gen-table-symbol "uni-category.el"
      "Unicode general category.
@@ -235,7 +236,8 @@
     (old-name
      10 unidata-gen-table-name "uni-old-name.el"
      "Unicode old names as published in Unicode 1.0.
-Property value is a string.")
+Property value is a string or nil.
+The value nil stands for the default value \"null string\").")
     (iso-10646-comment
      11 unidata-gen-table-name "uni-comment.el"
      "Unicode ISO 10646 comment.
@@ -712,7 +714,7 @@
            (aset table c name)
            (if (= c char)
                (setq val name))))
-       (or val ""))))
+       val)))
 
    ((and (integerp val) (> val 0))
     (let* ((symbol-table (aref (char-table-extra-slot table 4) 1))
@@ -738,9 +740,7 @@
            ((eq sym 'CJK\ COMPATIBILITY\ IDEOGRAPH)
             (format "%s-%04X" sym char))
            ((eq sym 'VARIATION\ SELECTOR)
-            (format "%s-%d" sym (+ (- char #xe0100) 17))))))
-
-   (t "")))
+            (format "%s-%d" sym (+ (- char #xe0100) 17))))))))
 
 ;; Store VAL as the name of CHAR in TABLE.
 

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-02-16 08:21:30 +0000
+++ b/lisp/ChangeLog    2012-02-17 07:33:15 +0000
@@ -1,3 +1,10 @@
+2012-02-17  Kenichi Handa  <address@hidden>
+
+       * international/charprop.el:
+       * international/uni-name.el:
+       * international/uni-old-name.el:
+       * international/uni-comment.el: Regenerate.
+
 2012-02-16  Glenn Morris  <address@hidden>
 
        * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):

=== modified file 'lisp/international/charprop.el'
--- a/lisp/international/charprop.el    2011-08-23 11:48:07 +0000
+++ b/lisp/international/charprop.el    2012-02-16 13:55:03 +0000
@@ -2,7 +2,8 @@
 ;; FILE: uni-name.el
 (define-char-code-property 'name "uni-name.el"
   "Unicode character name.
-Property value is a string.")
+Property value is a string or nil.
+The value nil stands for the default value \"null string\").")
 ;; FILE: uni-category.el
 (define-char-code-property 'general-category "uni-category.el"
   "Unicode general category.
@@ -48,7 +49,8 @@
 ;; FILE: uni-old-name.el
 (define-char-code-property 'old-name "uni-old-name.el"
   "Unicode old names as published in Unicode 1.0.
-Property value is a string.")
+Property value is a string or nil.
+The value nil stands for the default value \"null string\").")
 ;; FILE: uni-comment.el
 (define-char-code-property 'iso-10646-comment "uni-comment.el"
   "Unicode ISO 10646 comment.

=== modified file 'lisp/international/uni-comment.el'
Binary files a/lisp/international/uni-comment.el        2011-08-23 11:48:07 
+0000 and b/lisp/international/uni-comment.el       2012-02-16 13:55:03 +0000 
differ
=== modified file 'lisp/international/uni-name.el'
Binary files a/lisp/international/uni-name.el   2011-08-23 11:48:07 +0000 and 
b/lisp/international/uni-name.el  2012-02-16 13:55:03 +0000 differ
=== modified file 'lisp/international/uni-old-name.el'
Binary files a/lisp/international/uni-old-name.el       2011-08-23 11:48:07 
+0000 and b/lisp/international/uni-old-name.el      2012-02-16 13:55:03 +0000 
differ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]