diff options
| author | Kenichi Handa | 2004-06-12 02:36:47 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-06-12 02:36:47 +0000 |
| commit | 66189a403f4274323f23eedece85a0b8ef0df697 (patch) | |
| tree | 360a00827a25466cad9740c038355164a22f592b | |
| parent | 9eaa8e651174852fae9da81b9ce5f9d1c9c89238 (diff) | |
| download | emacs-66189a403f4274323f23eedece85a0b8ef0df697.tar.gz emacs-66189a403f4274323f23eedece85a0b8ef0df697.zip | |
*** empty log message ***
| -rw-r--r-- | etc/NEWS | 11 | ||||
| -rw-r--r-- | lisp/ChangeLog | 65 | ||||
| -rw-r--r-- | src/ChangeLog | 15 |
3 files changed, 86 insertions, 5 deletions
| @@ -717,11 +717,12 @@ and windows-1251 are preloaded since the former is so common and the | |||
| 717 | latter is used by GNU locales. | 717 | latter is used by GNU locales. |
| 718 | 718 | ||
| 719 | ** The utf-8/16 coding systems have been enhanced. | 719 | ** The utf-8/16 coding systems have been enhanced. |
| 720 | By default, untranslatable utf-8 sequences (mostly representing CJK | 720 | By default, untranslatable utf-8 sequences are simply composed into |
| 721 | characters) are simply composed into single quasi-characters. User | 721 | single quasi-characters. User option `utf-translate-cjk-mode' (it is |
| 722 | option `utf-translate-cjk' arranges to translate many utf-8 CJK | 722 | turned on by default) arranges to translate many utf-8 CJK character |
| 723 | character sequences into real Emacs characters in a similar way to the | 723 | sequences into real Emacs characters in a similar way to the Mule-UCS |
| 724 | Mule-UCS system. This uses significant space, so is not the default. | 724 | system. As this loads a fairly big data on demand, people who are not |
| 725 | interested in CJK characters may want to customize it to nil. | ||
| 725 | You can augment/amend the CJK translation via hash tables | 726 | You can augment/amend the CJK translation via hash tables |
| 726 | `ucs-mule-cjk-to-unicode' and `ucs-unicode-to-mule-cjk'. The utf-8 | 727 | `ucs-mule-cjk-to-unicode' and `ucs-unicode-to-mule-cjk'. The utf-8 |
| 727 | coding system now also encodes characters from most of Emacs's | 728 | coding system now also encodes characters from most of Emacs's |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b448338fec1..2f99d3dfc6d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,68 @@ | |||
| 1 | 2004-06-12 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * international/mule-cmds.el (set-language-environment): Load | ||
| 4 | subst tables if necessary. | ||
| 5 | |||
| 6 | * international/mule.el (decode-char): Load subst tables if | ||
| 7 | necessary. | ||
| 8 | (encode-char): Likewise. | ||
| 9 | |||
| 10 | * international/utf-16.el (utf-16-decode-ucs): Handle a surrogate | ||
| 11 | pair correctly. Call ccl-mule-utf-untrans for untranslable chars. | ||
| 12 | (utf-16le-decode-loop): Set r5 to -1 before loop. | ||
| 13 | (utf-16be-decode-loop): Likewise. | ||
| 14 | (ccl-decode-mule-utf-16le): Add EOF processing block. | ||
| 15 | (ccl-decode-mule-utf-16be): Likewise. | ||
| 16 | (ccl-decode-mule-utf-16le-with-signature): Likewise. | ||
| 17 | (ccl-decode-mule-utf-16be-with-signature): Likewise. | ||
| 18 | (ccl-decode-mule-utf-16): Likewise. Set r5 to -1 initially. | ||
| 19 | (ccl-mule-utf-16-encode-untrans): New CCL. | ||
| 20 | (utf-16-decode-to-ucs): Handle pre-read character. | ||
| 21 | (utf-16le-encode-loop): Handle surrogate pair. | ||
| 22 | (utf-16be-encode-loop): Likewise. | ||
| 23 | (ccl-encode-mule-utf-16le-with-signature): Adjusted for the change | ||
| 24 | of utf-16le-encode-loop. | ||
| 25 | (ccl-encode-mule-utf-16be-with-signature): Adjusted for the change | ||
| 26 | of utf-16be-encode-loop. | ||
| 27 | (mule-utf-16-post-read-conversion): Call | ||
| 28 | utf-8-post-read-conversion at first. | ||
| 29 | (mule-utf-16[{le|be}], mule-utf-16{le|be}-with-signature): Include | ||
| 30 | CJK charsets in safe-charsets if utf-translate-cjk-mode is on. | ||
| 31 | Add post-read-conversion and pre-write-conversion. | ||
| 32 | |||
| 33 | * international/utf-8.el (utf-translate-cjk-charsets): New | ||
| 34 | variable. | ||
| 35 | (utf-translate-cjk-unicode-range): New variable. | ||
| 36 | (utf-translate-cjk-load-tables): New function. | ||
| 37 | (utf-lookup-subst-table-for-decode): New function. | ||
| 38 | (utf-lookup-subst-table-for-encode): New function. | ||
| 39 | (utf-translate-cjk-mode): Init-value changed to t. Don't load | ||
| 40 | tables here. Update safe-charsets of utf-* coding systems. | ||
| 41 | (ccl-mule-utf-untrans): New CCL. | ||
| 42 | (ccl-decode-mule-utf-8): Call ccl-mule-utf-untrans. Use `repeat' | ||
| 43 | at end of each branch. | ||
| 44 | (ccl-mule-utf-8-encode-untrans): New CCL. | ||
| 45 | (ccl-encode-mule-utf-8): Call ccl-mule-utf-8-encode-untrans. | ||
| 46 | (ccl-untranslated-to-ucs): Handle 2-byte encoding. Set r1 to the | ||
| 47 | length of encoding. Don't return r0. | ||
| 48 | (utf-8-compose): New arg hash-table. Handle 2-byte encoding. | ||
| 49 | (utf-8-post-read-conversion): Narrow to region properly. If | ||
| 50 | utf-translate-cjk-mode is on, load tables if necessary. Call | ||
| 51 | utf-8-compose with hash-table arg if necessary. Call | ||
| 52 | XXX-compose-region instead of XXX-post-read-convesion. | ||
| 53 | (utf-8-pre-write-conversion): New function. | ||
| 54 | (mule-utf-8): Include CJK charsets in safe-charsets if | ||
| 55 | utf-translate-cjk-mode is on. Add pre-write-conversion. | ||
| 56 | |||
| 57 | * international/characters.el: Temporarily set | ||
| 58 | utf-translate-cjk-mode to nil. | ||
| 59 | |||
| 60 | * language/devan-util.el (devanagari-compose-region): Add | ||
| 61 | autoload cookie. | ||
| 62 | |||
| 63 | * international/ccl.el (ccl-dump-call): Fix printing the | ||
| 64 | subroutine name. | ||
| 65 | |||
| 1 | 2004-06-11 Luc Teirlinck <teirllm@auburn.edu> | 66 | 2004-06-11 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 67 | ||
| 3 | * dired.el (dired-revert): If buffer is marked unmodified before | 68 | * dired.el (dired-revert): If buffer is marked unmodified before |
diff --git a/src/ChangeLog b/src/ChangeLog index 7d15c93cdf4..b1e541ce49d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2004-06-12 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in | ||
| 4 | ccl_prog_stack_struct and update it. | ||
| 5 | (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. | ||
| 6 | (CCL_READ_CHAR): Get instruction counter from eof_ic, not from | ||
| 7 | ccl->eof_ic on EOF. | ||
| 8 | (ccl_debug_hook): New function. | ||
| 9 | (struct ccl_prog_stack): New member eof_ic. | ||
| 10 | (ccl_driver): Handle EOF in subrountine call correctly. | ||
| 11 | |||
| 12 | 2004-06-11 Kenichi Handa <handa@m17n.org> | ||
| 13 | |||
| 14 | * coding.c (decode_coding_string): Check CODING_FINISH_INTERRUPT. | ||
| 15 | |||
| 1 | 2004-06-11 Kim F. Storm <storm@cua.dk> | 16 | 2004-06-11 Kim F. Storm <storm@cua.dk> |
| 2 | 17 | ||
| 3 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. | 18 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. |