diff options
| author | Noam Postavsky | 2016-07-15 21:18:08 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2016-07-16 13:01:04 -0400 |
| commit | eed3b46ca184b5bca1dc341e3204f1539b831104 (patch) | |
| tree | 256da25105423120d2362fdf02ec0a8dd858f4f7 /admin/notes/unicode | |
| parent | 49f7c5ad68cb9c542cfddee7bed17d207f1fc394 (diff) | |
| download | emacs-eed3b46ca184b5bca1dc341e3204f1539b831104.tar.gz emacs-eed3b46ca184b5bca1dc341e3204f1539b831104.zip | |
Add tests for ucs-normalize.el
Some tests are marked as expected to fail.
* test/lisp/international/ucs-normalize-tests.el: New tests.
* admin/unidata/NormalizationTest.txt: Add data for tests.
* admin/unidata/README: Add URL for NormalizationTest.txt.
* admin/notes/unicode: Add note about running (and updating the data
for) the new tests. Remove note about normalization being unsupported.
Diffstat (limited to 'admin/notes/unicode')
| -rw-r--r-- | admin/notes/unicode | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/admin/notes/unicode b/admin/notes/unicode index b30bf50ccf0..65df2166f28 100644 --- a/admin/notes/unicode +++ b/admin/notes/unicode | |||
| @@ -14,6 +14,7 @@ Emacs uses the following files from the Unicode Character Database | |||
| 14 | . BidiMirroring.txt | 14 | . BidiMirroring.txt |
| 15 | . BidiBrackets.txt | 15 | . BidiBrackets.txt |
| 16 | . IVD_Sequences.txt | 16 | . IVD_Sequences.txt |
| 17 | . NormalizationTest.txt | ||
| 17 | 18 | ||
| 18 | First, these files need to be copied into admin/unidata/, and then | 19 | First, these files need to be copied into admin/unidata/, and then |
| 19 | Emacs should be rebuilt for them to take effect. Rebuilding Emacs | 20 | Emacs should be rebuilt for them to take effect. Rebuilding Emacs |
| @@ -48,6 +49,14 @@ might need to be updated because it knows about used and unused ranges | |||
| 48 | of Unicode codepoints, which a new release of the Unicode Standard | 49 | of Unicode codepoints, which a new release of the Unicode Standard |
| 49 | could change. | 50 | could change. |
| 50 | 51 | ||
| 52 | Finally, test normalization functions against NormalizationTests.txt, | ||
| 53 | in the test/ directory run: | ||
| 54 | |||
| 55 | make lisp/international/ucs-normalize-tests | ||
| 56 | |||
| 57 | See commentary in test/lisp/international/ucs-normalize-tests.el | ||
| 58 | regarding failing lines. | ||
| 59 | |||
| 51 | Problems, fixmes and other unicode-related issues | 60 | Problems, fixmes and other unicode-related issues |
| 52 | ------------------------------------------------------------- | 61 | ------------------------------------------------------------- |
| 53 | 62 | ||
| @@ -131,8 +140,6 @@ regard to completeness. | |||
| 131 | * Need multibyte text in menus, e.g. for the above. (Not specific to | 140 | * Need multibyte text in menus, e.g. for the above. (Not specific to |
| 132 | Unicode -- see Emacs etc/TODO, but now mostly works with gtk.) | 141 | Unicode -- see Emacs etc/TODO, but now mostly works with gtk.) |
| 133 | 142 | ||
| 134 | * There's currently no support for Unicode normalization. | ||
| 135 | |||
| 136 | * Populate char-width-table correctly for Unicode characters and | 143 | * Populate char-width-table correctly for Unicode characters and |
| 137 | worry about what happens when double-width charsets covering | 144 | worry about what happens when double-width charsets covering |
| 138 | non-CJK characters are unified. | 145 | non-CJK characters are unified. |