1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
Commit graph

1324 commits

Author SHA1 Message Date
Richard M. Stallman
e893eae2cb (set-input-method, toggle-input-method):
Don't use interactive-p.  Add arg INTERACTIVE.
2004-11-04 10:10:35 +00:00
Kenichi Handa
7d9d5480e3 (utf-translate-cjk-charsets): Add katakana-jisx0201. 2004-10-28 02:00:28 +00:00
Kenichi Handa
16a3d4e5f7 Add data for JISX0201. 2004-10-28 01:18:08 +00:00
Kenichi Handa
3ccf95cb1a (ccl-decode-mule-utf-8): Check utf-subst-table-for-decode for more
Unicode ranges.
2004-10-27 12:50:22 +00:00
Kenichi Handa
e41ef4d404 Use utf-translate-cjk-substitutable-p. 2004-10-27 06:03:43 +00:00
Kenichi Handa
fce59e4038 (utf-translate-cjk-unicode-range-string):
New variable.
(utf-translate-cjk-set-unicode-range): New function.
(utf-translate-cjk-unicode-range): Make it customizable.
(utf-8-post-read-conversion): Use
utf-translate-cjk-unicode-range-string.
2004-10-27 06:01:59 +00:00
Kenichi Handa
0e86dca11a (translate-region): Implement it in Lisp
as a front end of translate-region-internal.
2004-10-22 13:10:23 +00:00
Kenichi Handa
5e2e859aee (coding-system-equal): Moved from mule-util.el. 2004-10-12 05:26:29 +00:00
Kenichi Handa
ffce76c025 (coding-system-equal): Moved to mule.el. 2004-10-12 05:24:14 +00:00
Kenichi Handa
11d2e01ba3 (utf-8-post-read-conversion): If the
buffer is unibyte, temporarily set it multibyte.
2004-08-27 00:25:59 +00:00
John Paul Wallington
3829aa6f66 (latin1-char-displayable-p): Made obsolete in version 21.4, not 21.5. 2004-08-21 15:00:26 +00:00
Kenichi Handa
af1781acbf (encoded-kbd-setup-keymap): Fix previous change. 2004-08-04 13:03:26 +00:00
Kenichi Handa
5dda46a342 The following changes are to
utilize key-translation-map instead of minor mode map.
(encoded-kbd-iso2022-non-ascii-map): Delete it.
(encoded-kbd-coding, encoded-kbd-handle-8bit): Delete them.
(encoded-kbd-last-key): New function.
(encoded-kbd-iso2022-single-shift): New function.
(encoded-kbd-iso2022-designation)
(encoded-kbd-self-insert-iso2022-7bit)
(encoded-kbd-self-insert-iso2022-8bit)
(encoded-kbd-self-insert-sjis, encoded-kbd-self-insert-big5)
(encoded-kbd-self-insert-ccl): Make them suitable for bindings in
key-translation-map.
(encoded-kbd-setup-keymap): Setup key-translation-map.
(saved-key-translation-map): New variable.
(encoded-kbd-mode): Save/restore key-translation-map.  Adjusted
for the change of encoded-kbd-setup-keymap.
2004-08-03 12:06:47 +00:00
Luc Teirlinck
4bcce19cc1 (utf-translate-cjk-mode): Doc fix. 2004-07-31 03:31:28 +00:00
Kenichi Handa
b12e19b2c1 (decode-coding-inserted-region): Fix previous change. 2004-07-04 23:22:28 +00:00
Kenichi Handa
9957c5071b (decode-coding-inserted-region): Don't
set last-coding-system-used here.
2004-07-04 23:19:15 +00:00
Kenichi Handa
ea561de5e5 (windows-1256, cp1125): Fix tables
for several characters.
2004-06-14 00:35:11 +00:00
Kenichi Handa
c1136bda63 (ccl-encode-mule-utf-8): Fix previous change. 2004-06-13 22:57:46 +00:00
Kenichi Handa
064cff0b3d (ccl-decode-mule-utf-8): Fix previous change.
(ccl-untranslated-to-ucs): Fix typo.
2004-06-13 00:21:39 +00:00
Kenichi Handa
60d334c367 (set-language-environment): Load subst tables if necessary. 2004-06-12 02:21:21 +00:00
Kenichi Handa
8458c8b93d (decode-char): Load subst tables if necessary.
(encode-char): Likewise.
2004-06-12 02:20:10 +00:00
Kenichi Handa
95d2d43392 (utf-16-decode-ucs): Handle a surrogate
pair correctly.  Call ccl-mule-utf-untrans for untranslable chars.
(utf-16le-decode-loop): Set r5 to -1 before loop.
(utf-16be-decode-loop): Likewise.
(ccl-decode-mule-utf-16le): Add EOF processing block.
(ccl-decode-mule-utf-16be): Likewise.
(ccl-decode-mule-utf-16le-with-signature): Likewise.
(ccl-decode-mule-utf-16be-with-signature): Likewise.
(ccl-decode-mule-utf-16): Likewise.  Set r5 to -1 initially.
(ccl-mule-utf-16-encode-untrans): New CCL.
(utf-16-decode-to-ucs): Handle pre-read character.
(utf-16le-encode-loop): Handle surrogate pair.
(utf-16be-encode-loop): Likewise.
(ccl-encode-mule-utf-16le-with-signature): Adjusted for the change
of utf-16le-encode-loop.
(ccl-encode-mule-utf-16be-with-signature): Adjusted for the change
of utf-16be-encode-loop.
(mule-utf-16-post-read-conversion): Call
utf-8-post-read-conversion at first.
(mule-utf-16[{le|be}], mule-utf-16{le|be}-with-signature): Include
CJK charsets in safe-charsets if utf-translate-cjk-mode is on.
Add post-read-conversion and pre-write-conversion.
2004-06-12 02:18:36 +00:00
Kenichi Handa
c71c26e929 (utf-translate-cjk-charsets): New
variable.
(utf-translate-cjk-unicode-range): New variable.
(utf-translate-cjk-load-tables): New function.
(utf-lookup-subst-table-for-decode): New function.
(utf-lookup-subst-table-for-encode): New function.
(utf-translate-cjk-mode): Init-value changed to t.  Don't load
tables here.  Update safe-charsets of utf-* coding systems.
(ccl-mule-utf-untrans): New CCL.
(ccl-decode-mule-utf-8): Call ccl-mule-utf-untrans.  Use `repeat'
at end of each branch.
(ccl-mule-utf-8-encode-untrans): New CCL.
(ccl-encode-mule-utf-8): Call ccl-mule-utf-8-encode-untrans.
(ccl-untranslated-to-ucs): Handle 2-byte encoding.  Set r1 to the
length of encoding.  Don't return r0.
(utf-8-compose): New arg hash-table.  Handle 2-byte encoding.
(utf-8-post-read-conversion): Narrow to region properly.  If
utf-translate-cjk-mode is on, load tables if necessary.  Call
utf-8-compose with hash-table arg if necessary.  Call
XXX-compose-region instead of XXX-post-read-convesion.
(utf-8-pre-write-conversion): New function.
(mule-utf-8): Include CJK charsets in safe-charsets if
utf-translate-cjk-mode is on.  Add pre-write-conversion.
2004-06-12 02:10:37 +00:00
Kenichi Handa
ae0916f8e0 Temporarily set utf-translate-cjk-mode to nil. 2004-06-11 06:03:16 +00:00
Kenichi Handa
af76810e60 (ccl-dump-call): Fix printing the subroutine name. 2004-06-11 05:58:29 +00:00
Juanma Barranquero
9857367f6f (register-char-codings): Make alias for `ignore'. Move docstring to
obsolescence info and remove redundancy.
2004-06-02 00:43:56 +00:00
Kenichi Handa
013d402e90 Modify syntax of more characters. 2004-05-19 23:35:22 +00:00
Kenichi Handa
70abfe909d Fix syntax (open/close) of CJK characters. 2004-05-19 00:12:49 +00:00
Kenichi Handa
2a3e58e6d1 (quail-find-key): Fix docstring. 2004-05-12 10:58:35 +00:00
Kenichi Handa
4f013856bf (quail-install-decode-map): Accept a
char-table whose subtype is `quail-decode-map'.
(quail-store-decode-map-key, quail-gen-decode-map1)
(quail-gen-decode-map, quail-find-key1, quail-find-key)
(quail-show-key): New functions.
2004-05-12 02:32:45 +00:00
Jason Rumney
64ec7df91d (cp932, cp936, cp949, cp950): Remove.
Only add cp125* if windows-125* already defined.
2004-05-09 21:36:45 +00:00
Jason Rumney
5eb9438339 Fix last change. 2004-05-09 15:39:00 +00:00
Jason Rumney
893b49bbdf (set-locale-environment): On MS-Windows use ansi code-page for default
coding-systems.  Set up paper sizes for Windows 3 letter languages.
2004-05-09 14:57:44 +00:00
Jason Rumney
35d95cf6c1 (cp932, cp936, cp949, cp950): Add aliases.
Also add cp125* if not already defined.
2004-05-09 13:45:14 +00:00
Andreas Schwab
9e24a165fe Fix references to utf-translate-cjk into utf-translate-cjk-mode. 2004-05-08 14:36:07 +00:00
Kenichi Handa
d1df889e9e (miscdic-convert): Don't generate a
quail file if it is up to date.
2004-05-01 04:38:47 +00:00
Kenichi Handa
44416f23ab (char-displayable-p): Simplified by using internal-char-font. 2004-04-23 02:08:22 +00:00
Richard M. Stallman
c12bc1fbd8 (ctext-post-read-conversion): Use assoc-string, not assoc-ignore-case. 2004-04-21 19:17:03 +00:00
Richard M. Stallman
f15466c5d8 Use assoc-string, not assoc-ignore-case. 2004-04-21 19:16:15 +00:00
Kenichi Handa
5b6156fa6a (quail-lookup-key): New optional arg
NOT-RESET-INDICES.
(quail-get-translations): Call quail-lookup-key with
NOT-RESET-INDICES t.
(quail-completion): Likewise.
(quail-lookup-map-and-concat): Likewise.
2004-04-20 08:20:26 +00:00
Kenichi Handa
fd7a117da0 (quail-update-translation): Don't insert
such an unsupported multibyte char in a unibyte buffer.
2004-04-20 07:06:58 +00:00
Juri Linkov
ee59226950 (list-input-methods): Fix args to help-xref-button. 2004-04-18 15:13:25 +00:00
Kenichi Handa
3a8b699318 (latin1-display-setup): Check each character is displayable or not
instead of calling latin1-display-check-font.
2004-04-07 07:38:13 +00:00
Kenichi Handa
ce4dd05c9f Delete pairs for U+2308..U+230B. 2004-03-30 08:07:41 +00:00
Kenichi Handa
984d06b317 (ucs-insert): Fix the error message. 2004-03-29 12:05:50 +00:00
Kenichi Handa
fdc5802e53 (char-displayable-p): Fix generation of XLFD file name. 2004-03-29 03:41:39 +00:00
Juri Linkov
c4131d962c * international/mule.el (keyboard-coding-system): Fix docstring. 2004-03-25 10:38:28 +00:00
Juri Linkov
93ca088ccc (quail-insert-decode-map): Use window-width instead of frame-width. 2004-03-23 07:37:37 +00:00
Juri Linkov
5307cb2eb6 (describe-current-coding-system): Use window-width instead of frame-width. 2004-03-23 07:37:07 +00:00
Kenichi Handa
d6af0bff2d Setup syntaxes for more parentheses Unicode characters. 2004-03-23 04:30:25 +00:00