New file.
[chise/tomoyo-tools.git] / non-ideo-dump.el
1 (require 'char-db-util)
2 (let ((ranges
3        '((#x0000 #x001F "u00000-C0.el")
4          (#x0020 #x007F "u00020-Basic-Latin.el")
5          (#x0080 #x009F "u00080-C1.el")
6          (#x00A0 #x00FF "u000A0-Latin-1-Supplement.el")
7          (#x0100 #x017F "u00100-Latin-Extended-A.el")
8          (#x0180 #x024F "u00180-Latin-Extended-B.el")
9          (#x0250 #x02AF "u00250-IPA-Extensions.el")
10          (#x02B0 #x02FF "u002B0-Spacing-Modifier-Letters.el")
11          (#x0300 #x036F "u00300-Combining-Diacritical-Marks.el")
12          (#x0370 #x03FF "u00370-Greek.el")
13          (#x0400 #x04FF "u00400-Cyrillic.el")
14          (#x0530 #x058F "u00530-Armenian.el")
15          (#x0590 #x05FF "u00590-Hebrew.el")
16          (#x0600 #x06FF "u00600-Arabic.el")
17          (#x0700 #x074F "u00700-Syriac.el")
18          (#x0780 #x07BF "u00780-Thaana.el")
19          (#x0900 #x097F "u00900-Devanagari.el")
20          (#x0980 #x09FF "u00980-Bengali.el")
21          (#x0A00 #x0A7F "u00A00-Gurmukhi.el")
22          (#x0A80 #x0AFF "u00A80-Gujarati.el")
23          (#x0B00 #x0B7F "u00B00-Oriya.el")
24          (#x0B80 #x0BFF "u00B80-Tamil.el")
25          (#x0C00 #x0C7F "u00C00-Telugu.el")
26          (#x0C80 #x0CFF "u00C80-Kannada.el")
27          (#x0D00 #x0D7F "u00D00-Malayalam.el")
28          (#x0D80 #x0DFF "u00D80-Sinhala.el")
29          (#x0E00 #x0E7F "u00E00-Thai.el")
30          (#x0E80 #x0EFF "u00E80-Lao.el")
31          (#x0F00 #x0FFF "u00F00-Tibetan.el")
32          (#x1000 #x109F "u01000-Myanmar.el")
33          (#x10A0 #x10FF "u010A0-Georgian.el")
34          (#x1100 #x11FF "u01100-Hangul-Jamo.el")
35          (#x1200 #x137C "u01200-Ethiopic.el")
36          (#x13A0 #x13FF "u013A0-Cherokee.el")
37          (#x1400 #x167F "u01400-Canadian.el")
38          (#x1680 #x169F "u01680-Ogham.el")
39          (#x16A0 #x16FF "u016A0-Runic.el")
40          (#x1780 #x17FF "u01780-Khmer.el")
41          (#x1800 #x18AF "u01800-Mongolian.el")
42          (#x1E00 #x1EFF "u01E00-Latin-Extended-Additional.el")
43          (#x1F00 #x1FFF "u01F00-Greek-Extended.el")
44          (#x2000 #x206F "u02000-General-Punctuation.el")
45          (#x2070 #x207F "u02070-Superscripts.el")
46          (#x2080 #x208F "u02080-Subscripts.el")
47          (#x20A0 #x20AF "u020A0-Currency-Symbols.el")
48          (#x20D0 #x20FF "u020D0-Combining-Diacritical-Marks-for-Symbols.el")
49          (#x2100 #x214F "u02100-Letterlike-Symbols.el")
50          (#x2150 #x218F "u02150-Number-Forms.el")
51          (#x2190 #x21FF "u02190-Arrows.el")
52          (#x2200 #x22FF "u02200-Mathematical-Operators.el")
53          (#x2300 #x23FF "u02300-Miscellaneous-Technical.el")
54          (#x2400 #x243F "u02400-Control-Pictures.el")
55          (#x2440 #x244A "u02440-OCR.el")
56          (#x2460 #x24FF "u02460-Enclosed-Alphanumerics.el")
57          (#x2500 #x257F "u02500-Box-Drawing.el")
58          (#x2580 #x259F "u02580-Block-Elements.el")
59          (#x25A0 #x25FF "u025A0-Geometric-Shapes.el")
60          (#x2600 #x267F "u02600-Miscellaneous-Symbols.el")
61          (#x2700 #x27BF "u02700-Dingbats.el")
62          (#x2800 #x28FF "u02800-Braille-Patterns.el")
63          (#x2900 #x297F "u02900-Supplemental-Arrows-B.el")
64          (#x2980 #x29FF "u02980-Miscellaneous-Mathematical-Symbols-B.el")
65          (#x2E00 #x2EFF "u02E00-CJK-Radical-Supplement.el")
66          (#x2F00 #x2FEF "u02F00-Kangxi-Radicals.el")
67          (#x2FF0 #x2FFF "u02FF0-Ideographic-Description-Characters.el")
68          (#x3000 #x303F "u03000-CJK-Symbols-and-Punctuation.el" nil Ideograph)
69          (#x3040 #x309F "u03040-Hiragana.el")
70          (#x30A0 #x30FF "u030A0-Katakana.el")
71          (#x3100 #x312F "u03100-Bopomofo.el" 'Bopomofo)
72          (#x3130 #x318F "u03130-Hangul-Compatibility-Jamo.el")
73          (#x3190 #x319F "u03190-Kanbun.el")
74          (#x31A0 #x31BF "u031A0-Bopomofo-Extended.el")
75          (#x31F0 #x31FF "u031F0-Katakana-Phonetic-Extensions.el")
76          (#x3200 #x32FF "u03200-Enclosed-CJK-Letters-and-Months.el")
77          (#x3300 #x33FF "u03300-CJK-Compatibility.el")
78          ;; snip CJK Unified Ideographs
79          (#xA000 #xA48F "u0A000-Yi-Syllables.el")
80          (#xA490 #xA4CF "u0A490-Yi-Radicals.el")
81          (#xAC00 #xD7AF "u0AC00-Hangul-Syllables.el")
82          (#xE000 #xF8FF "u0E000-Private-Use.el")
83          ;; snip CJK Compatibility Ideographs
84          (#xFB00 #xFB4F "u0FB00-Alphabetic-Presentation-Forms.el")
85          (#xFB50 #xFDFF "u0FB50-Arabic-Presentation-Forms-A.el")
86          (#xFE20 #xFE2F "u0FE20-Combining-Half-Marks.el")
87          (#xFE30 #xFE4F "u0FE30-CJK-Compatibility-Forms.el")
88          (#xFE50 #xFE6F "u0FE50-Small-Form-Variants.el")
89          (#xFE70 #xFEFF "u0FE70-Arabic-Presentation-Forms-B.el")
90          (#xFF00 #xFFEF "u0FF00-Halfwidth-and-Fullwidth-Forms.el")
91          (#xFFF0 #xFFFF "u0FFF0-Specials.el")
92          )))
93   (dolist (range ranges)
94     (write-char-range-data-to-file
95      (car range) (nth 1 range)
96      (expand-file-name (nth 2 range) "/var/tmp")
97      (nth 3 range)(nth 4 range))
98     ))