diff options
| author | Eli Zaretskii | 2025-09-14 07:34:41 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-09-14 07:34:41 +0300 |
| commit | 6f9a46f926e8cd22778416c7b5873dd5793e1d71 (patch) | |
| tree | d669db1e9198af4ce90bd192dbbc7e2a7d4debdc /admin | |
| parent | 7cdaab61c4be9f143d0ba98a9339586bb010df4f (diff) | |
| download | emacs-6f9a46f926e8cd22778416c7b5873dd5793e1d71.tar.gz emacs-6f9a46f926e8cd22778416c7b5873dd5793e1d71.zip | |
Fix 'ucs-normalize' tests following Unciode 17.0 import
* lisp/international/ucs-normalize.el
(ucs-normalize-composition-exclusions): Doc fix.
* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-tests--failing-lines-part1): Update to _really_
match Unicode 17.0.
* admin/notes/unicode: Update instructions.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/notes/unicode | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/admin/notes/unicode b/admin/notes/unicode index ae94b5c0a3f..21ce2c4cda3 100644 --- a/admin/notes/unicode +++ b/admin/notes/unicode | |||
| @@ -97,18 +97,23 @@ might need to be updated because it knows about used and unused ranges | |||
| 97 | of Unicode codepoints, which a new release of the Unicode Standard | 97 | of Unicode codepoints, which a new release of the Unicode Standard |
| 98 | could change. | 98 | could change. |
| 99 | 99 | ||
| 100 | The data used by ucs-normalize.el might need to be updated. | 100 | Next, run the ucs-names test: |
| 101 | Specifically, the values of 'ucs-normalize-composition-exclusions' and | ||
| 102 | 'check-range", defined at the beginning of ucs-normalize.el, should be | ||
| 103 | verified against the latest Unicode data files. | ||
| 104 | |||
| 105 | Run the ucs-names test: | ||
| 106 | 101 | ||
| 107 | make -C test lisp/international/mule-tests | 102 | make -C test lisp/international/mule-tests |
| 108 | 103 | ||
| 109 | If it fails, the exclusion ranges of codepoints in | 104 | If it fails, the exclusion ranges of codepoints in |
| 110 | 'mule-cmds-tests--ucs-names-missing-names' may need to be updated to the | 105 | 'mule-cmds-tests--ucs-names-missing-names' may need to be updated to |
| 111 | added Unicode codepoints. | 106 | account for the added Unicode codepoints. |
| 107 | |||
| 108 | The data used by ucs-normalize.el might need to be updated. | ||
| 109 | Specifically, the values of 'ucs-normalize-composition-exclusions' and | ||
| 110 | 'check-range", defined at the beginning of ucs-normalize.el, should be | ||
| 111 | verified against the latest Unicode data files. But even if | ||
| 112 | ucs-normalize.el is not modified, make sure it has been byte-compiled | ||
| 113 | _after_ the lisp/international/uni-*.el files were regenerated, because | ||
| 114 | it depends on uni-decomposition.el and uni-combining.el. (We don't have | ||
| 115 | this dependency in lisp/Makefile.in because recompiling ucs-normalize.el | ||
| 116 | is expensive, and updates for a new Unicode version are rare.) | ||
| 112 | 117 | ||
| 113 | Next, test normalization functions against NormalizationTests.txt, | 118 | Next, test normalization functions against NormalizationTests.txt, |
| 114 | in the top-level directory run: | 119 | in the top-level directory run: |