diff options
author | Glenn Morris <rgm@gnu.org> | 2014-06-25 23:55:15 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-06-25 23:55:15 -0700 |
commit | 9ac6d28ab8c29547d9f9365dc8f7cea13c32ef7a (patch) | |
tree | 026dc1d5a858b27086c4f9d8e0f4a60b7907eb80 /admin/notes | |
parent | a0e2175a9055f2ea8ae03744d495e5179885029d (diff) | |
parent | 436550da1bf8d2cdd92a60f6ce84f131a8045062 (diff) | |
download | emacs-9ac6d28ab8c29547d9f9365dc8f7cea13c32ef7a.tar.gz |
Merge from emacs-24; up to 2014-06-11T19:33:14Z!rgm@gnu.org
Diffstat (limited to 'admin/notes')
-rw-r--r-- | admin/notes/unicode | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/admin/notes/unicode b/admin/notes/unicode index 841b7ebd5e4..79e0e1d77e4 100644 --- a/admin/notes/unicode +++ b/admin/notes/unicode @@ -3,6 +3,39 @@ Copyright (C) 2002-2014 Free Software Foundation, Inc. See the end of the file for license conditions. +Importing a new Unicode Standard version into Emacs +------------------------------------------------------------- + +Emacs uses the following files from the Unicode Character Database +(a.k.a. "UCD): + + . UnicodeData.txt + . BidiMirroring.txt + . IVD_Sequences.txt + +First, these files need to be copied into admin/unidata/, and then +Emacs should be rebuilt for them to take effect. Rebuilding Emacs +updates several derived files elsewhere in the Emacs source tree, +mainly in lisp/international/. + +When Emacs is rebuilt for the first time after importing the new +files, pay attention to any warning or error messages. In particular, +admin/unidata/unidata-gen.el will complain if UnicodeData.txt defines +new bidirectional attributes of characters, because unidata-gen.el, +bidi.c and dispextern.h need to be updated in that case; failure to do +so will cause aborts in redisplay. + +Next, review the changes in UnicodeData.txt vs the previous version +used by Emacs. Any changes, be it introduction of new scripts or +addition of codepoints to existing scripts, need corresponding changes +in the data used for filling char-script-table, see characters.el +around line 1300. Other databases and settings in characters.el, such +as the data for char-width-table, might also need changes. + +Any new scripts added by UnicodeData.txt will also need updates to +script-representative-chars defined in fontset.el. Other databases in +fontset.el might also need to be updated as needed. + Problems, fixmes and other unicode-related issues ------------------------------------------------------------- |