aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes
diff options
context:
space:
mode:
authorEli Zaretskii2014-06-24 19:58:06 +0300
committerEli Zaretskii2014-06-24 19:58:06 +0300
commit2394ef283c781297f3a1da79c8c8c92ca9d1b5e5 (patch)
tree52b14c05786745bc47a72722ac8ed75c2a0d3370 /admin/notes
parentb950752961eb3d9207e4b4bd61a57071cdbe31eb (diff)
downloademacs-2394ef283c781297f3a1da79c8c8c92ca9d1b5e5.tar.gz
emacs-2394ef283c781297f3a1da79c8c8c92ca9d1b5e5.zip
admin/notes/unicode: Some notes about what to do when a new Unicode version is imported.
Diffstat (limited to 'admin/notes')
-rw-r--r--admin/notes/unicode33
1 files changed, 33 insertions, 0 deletions
diff --git a/admin/notes/unicode b/admin/notes/unicode
index 654580639f7..cff619fd8b8 100644
--- a/admin/notes/unicode
+++ b/admin/notes/unicode
@@ -3,6 +3,39 @@
3Copyright (C) 2002-2014 Free Software Foundation, Inc. 3Copyright (C) 2002-2014 Free Software Foundation, Inc.
4See the end of the file for license conditions. 4See the end of the file for license conditions.
5 5
6Importing a new Unicode Standard version into Emacs
7-------------------------------------------------------------
8
9Emacs uses the following files from the Unicode Character Database
10(a.k.a. "UCD):
11
12 . UnicodeData.txt
13 . BidiMirroring.txt
14 . IVD_Sequences.txt
15
16First, these files need to be copied into admin/unidata/, and then
17Emacs should be rebuilt for them to take effect. Rebuilding Emacs
18updates several derived files elsewhere in the Emacs source tree,
19mainly in lisp/international/.
20
21When Emacs is rebuilt for the first time after importing the new
22files, pay attention to any warning or error messages. In particular,
23admin/unidata/unidata-gen.el will complain if UnicodeData.txt defines
24new bidirectional attributes of characters, because unidata-gen.el,
25bidi.c and dispextern.h need to be updated in that case; failure to do
26so will cause aborts in redisplay.
27
28Next, review the changes in UnicodeData.txt vs the previous version
29used by Emacs. Any changes, be it introduction of new scripts or
30addition of codepoints to existing scripts, need corresponding changes
31in the data used for filling char-script-table, see characters.el
32around line 1300. Other databases and settings in characters.el, such
33as the data for char-width-table, might also need changes.
34
35Any new scripts added by UnicodeData.txt will also need updates to
36script-representative-chars defined in fontset.el. Other databases in
37fontset.el might also need to be updated as needed.
38
6Problems, fixmes and other unicode-related issues 39Problems, fixmes and other unicode-related issues
7------------------------------------------------------------- 40-------------------------------------------------------------
8 41