aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorEli Zaretskii2025-09-14 07:34:41 +0300
committerEli Zaretskii2025-09-14 07:34:41 +0300
commit6f9a46f926e8cd22778416c7b5873dd5793e1d71 (patch)
treed669db1e9198af4ce90bd192dbbc7e2a7d4debdc /admin
parent7cdaab61c4be9f143d0ba98a9339586bb010df4f (diff)
downloademacs-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/unicode21
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
97of Unicode codepoints, which a new release of the Unicode Standard 97of Unicode codepoints, which a new release of the Unicode Standard
98could change. 98could change.
99 99
100The data used by ucs-normalize.el might need to be updated. 100Next, run the ucs-names test:
101Specifically, the values of 'ucs-normalize-composition-exclusions' and
102'check-range", defined at the beginning of ucs-normalize.el, should be
103verified against the latest Unicode data files.
104
105Run the ucs-names test:
106 101
107 make -C test lisp/international/mule-tests 102 make -C test lisp/international/mule-tests
108 103
109If it fails, the exclusion ranges of codepoints in 104If 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
111added Unicode codepoints. 106account for the added Unicode codepoints.
107
108The data used by ucs-normalize.el might need to be updated.
109Specifically, the values of 'ucs-normalize-composition-exclusions' and
110'check-range", defined at the beginning of ucs-normalize.el, should be
111verified against the latest Unicode data files. But even if
112ucs-normalize.el is not modified, make sure it has been byte-compiled
113_after_ the lisp/international/uni-*.el files were regenerated, because
114it depends on uni-decomposition.el and uni-combining.el. (We don't have
115this dependency in lisp/Makefile.in because recompiling ucs-normalize.el
116is expensive, and updates for a new Unicode version are rare.)
112 117
113Next, test normalization functions against NormalizationTests.txt, 118Next, test normalization functions against NormalizationTests.txt,
114in the top-level directory run: 119in the top-level directory run: