comparison lisp/ChangeLog @ 4145:edb00a8b4eff

[xemacs-hg @ 2007-08-26 20:00:29 by aidan] Generally make the language environments and coding systems a little more sane.
author aidan
date Sun, 26 Aug 2007 20:00:42 +0000
parents db22824aa020
children 09c3d30b5d4e
comparison
equal deleted inserted replaced
4144:4a08a9219456 4145:edb00a8b4eff
1 2007-08-25 Aidan Kehoe <kehoea@parhasard.net>
2
3 * mule/chinese.el ("Chinese-GB"):
4 * mule/chinese.el ("Chinese-BIG5"):
5 * mule/japanese.el ("Japanese"):
6 These three language environments have associated lambda
7 expressions to determine whether the current locale matches and
8 and what the native-coding-system should be. These used to be
9 stored uncompiled, since they were specified deep in the ALIST
10 argument to a #'set-language-info-alist call; this change moves
11 them into #'set-language-info calls where the byte-compiler can
12 compile them. Shouldn't make a huge difference, but startup time
13 is an issue for us.
14
15 * mule/cyrillic.el (windows-1251):
16 Unconditionally provide windows-1251 using
17 make-8-bit-coding-system.
18
19 * mule/latin.el:
20 Add a setup-function and an exit-function to the Turkish language
21 environment to change and restore the standard case table,
22 respectively. This reflects case conventions in Turkish, where
23 dotless i and dotted i are distinct characters with distinct case
24 forms. Add windows-1252, Mac Roman as coding systems.
25
26 * mule/mule-cmds.el:
27 * mule/mule-cmds.el (set-language-environment):
28 * mule/mule-cmds.el (finish-set-language-environment):
29 Check setup-function and exit-function's validity with
30 #'functionp, not fboundp. It doesn't make a lot of sense to
31 exclude lambdas from being specified as setup-function and
32 exit-functions. Update a comment to reflect the that
33 posix-charset-to-coding-system-hash is no longer initialised at
34 compile time.
35 * mule/mule-coding.el:
36 * mule/mule-coding.el (define-translation-hash-table):
37 Call check-argument-type on the two arguments instead of an
38 explicit error in a conditional, for the sake of better style.
39 * mule/mule-coding.el (make-8-bit-choose-category): New.
40 Function that looks at a make-8-bit-coding-system decode table and
41 decides on an appropriate category for the associated coding
42 system.
43 * mule/mule-coding.el (make-8-bit-coding-system):
44 Use make-8-bit-choose-category to make the coding category for the
45 generated coding systems a bit more sane.
46
47 * mule/mule-win32-init.el:
48 Move to a loop-with-destructuring-bind syntax for the creation of
49 Windows-specific coding systems. Specify the coding category of
50 the created coding systems, and create aliases of the form cpNNNN
51 for the compatibility with GNU. Use our own implementations
52 instead of the Windows ones for several coding systems, for the
53 sake of greater cross-platform compatibility.
54
55 2007-08-25 Aidan Kehoe <kehoea@parhasard.net>
56
57 * unicode.el (load-unicode-tables):
58 Explicitly set the default unicode-precedence-list after loading
59 the unicode tables, to move the Western character sets before the
60 East Asian ones by default.
61 * unicode.el :
62 Avoid overflowing 80 characters per line with the CCL
63 program. Make unicode-error-sequence-zero and
64 unicode-error-sequence-regexp-range available to user code that
65 wants to work with Unicode error sequences. Decode those
66 characters in WGL4 that are not available in other Western
67 character sets at dump time into jit-ucs-charset-0, in the
68 interest of avoiding them getting East Asian fonts and width
69 information when decoding from Unicode.
70
1 2007-08-20 Mike Sperber <mike@xemacs.org> 71 2007-08-20 Mike Sperber <mike@xemacs.org>
2 72
3 * window-xemacs.el (root-window->saved-window): 73 * window-xemacs.el (root-window->saved-window):
4 (restore-saved-window-parameters): Don't save the point of the 74 (restore-saved-window-parameters): Don't save the point of the
5 current buffer, as per the docstring. 75 current buffer, as per the docstring.