1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

1198 Commits

Author SHA1 Message Date
Kenichi Handa
2bf07f07f7 (utf-translate-cjk-mode): Update the
second extra slot of the translation table
utf-translation-table-for-encode.
(mule-utf-8): Set the property translation-table-for-encode.
2003-05-01 04:39:07 +00:00
Kenichi Handa
60ec936706 Set coding-category-utf-16-be to
mule-utf-16-be-with-signature, coding-category-utf-16-le to
mule-utf-16-le-with-signature.  Raise the priority of
coding-category-utf-8, coding-category-utf-16-be, and
coding-category-utf-16-le
2003-04-28 09:17:25 +00:00
Kenichi Handa
370bd9cfdb (reset-language-environment): Raise the priority of mule-utf-8,
mule-utf-16-be-with-signature and mule-utf-16-le.-with-signature.
2003-04-28 09:16:19 +00:00
Kenichi Handa
ef5a4730db (describe-language-environment): At
first, require all necessary features.
2003-04-16 12:27:05 +00:00
Richard M. Stallman
872a0a6ff3 (after-insert-file-set-coding): Properly treat INSERTED as number of
characters, for both the argument and the value.
2003-04-14 10:06:55 +00:00
John Paul Wallington
37aad8f5ae (create-fontset-from-ascii-font): Doc fix.
(x-must-resolve-font-name): Fix error message typo.
2003-04-14 07:54:15 +00:00
Kenichi Handa
aea797fc6e (utf-translate-cjk-mode): Fix incorrect
place of parenthesis.
2003-04-11 11:10:48 +00:00
Kenichi Handa
c36b37ed1b Don't set after-insert-file-adjust-coding-function.
(after-insert-file-set-coding): Renamed from
after-insert-file-set-buffer-file-coding-system.
2003-04-11 11:00:36 +00:00
Kenichi Handa
17388a6277 * international/quail.el (quail-guidance-str)
(quail-guidance-frame): New variables.
(quail-guidance-win): Delete this variable.
(quail-setup-overlays): Make overlay not rear-advancing.
(quail-kill-guidance-buf): Delete this function.
(quail-activate): Add/remove quail-show-guidance to/from
post-command-hook.
(quail-input-method): Don't setup quail-guidance-buf.  Initialize
quail-guidance-str to "".
(quail-start-translation): Call quail-show-guidance at first.
(quail-start-conversion): Likewise.
(quail-terminate-translation): Don't erase quail-guidance-buf.
(quail-update-translation): Stretch overlays if their starting and
ending positions are same.
(quail-update-current-translations): Check the width of the
current window, not the width of quail-guidance-win.
(quail-make-guidance-frame): Delete the arg BUF.  Fix position
calculation.  Don't set the window buffer, just return the new
frame.
(quail-minibuffer-message): New function.
(quail-show-guidance): Renamed from quail-show-guidance-buf.  Use
message and quail-minibuffer-message to display the guidance.
(quail-hide-guidance): Renamed from quail-hide-guidance-buf.  Only
delete quail-guidance-frame.
(quail-update-guidance): Just update quail-guidance-str, not
display it.
(quail-get-translations): Renamed from quail-show-translations.
Return a string instead of inserting it in quail-guaidance-buf.
2003-04-11 03:58:22 +00:00
Kenichi Handa
da1ebad19f (sort-coding-systems): Set higher priority to a coding system listed
in coding-category-list.
2003-04-11 01:20:36 +00:00
Kenichi Handa
de814dd9b3 (sort-coding-systems): Lower the
priorities of all utf-16 base coding systems.
2003-04-11 00:42:18 +00:00
Kenichi Handa
8d1d818a10 Set after-insert-file-adjust-coding-function to
after-insert-file-set-buffer-file-coding-system instead of adding it
to after-insert-file-functions.
2003-04-10 11:59:45 +00:00
Kenichi Handa
e46947a5d4 Specify rescale ratio 1.3 for CDAC fonts. 2003-04-09 07:30:23 +00:00
Kenichi Handa
e97c230638 Register ?\221 and ?\226 in latin-extra-code-table. 2003-04-09 02:39:57 +00:00
Kenichi Handa
60b898c674 (print-coding-system-briefly): If
DOC-STRING is `tightly', print the doc-string tightly.
(list-coding-systems-1): Call print-coding-system-briefly with
the arg DOC-STRING `tightly'.
2003-04-09 00:32:23 +00:00
Kenichi Handa
b402691741 Register ?\225 in latin-extra-code-table. 2003-04-08 11:28:44 +00:00
Kenichi Handa
4fbc4b1705 (utf-16-le-decode-loop)
(utf-16-be-decode-loop): New temporary variables.
(ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
(ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop
(ccl-decode-mule-utf-16-le-with-signature)
(ccl-decode-mule-utf-16-be-with-signature)
(ccl-decode-mule-utf-16): New CCL programs.
(utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
variables.
(ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
(ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop
(ccl-encode-mule-utf-16-le-with-signature)
(ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
(mule-utf-16-post-read-conversion): New function.
(mule-utf-16-le-with-signature, mule-utf-16-be-with-signature),
(mule-utf-16): New coding systems.
(utf-16-le-with-signature, utf-16-be-with-signature),
(utf-16): Aliases of the above coding systems.
2003-04-08 07:23:44 +00:00
Kenichi Handa
2217b8e1e6 (ccl-decode-mule-utf-16-le): Don't assume the signature bytes.
(ccl-decode-mule-utf-16-be): Likewise.
(ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
(ccl-encode-mule-utf-16-be): Likewise.
2003-03-31 01:48:48 +00:00
Kai Großjohann
fcfdeaf69d (utf-translate-cjk-mode): Minor mode,
replaces variable utf-translate-cjk which must be set via Custom.
2003-03-29 17:11:42 +00:00
John Paul Wallington
ef6e365d09 (with-category-table): Use `make-symbol' to avoid variable capture.
Set table within `unwind-protect'.  Ensure table is restored in
correct buffer.  Add docstring.  Basically, copy `with-syntax-table'.
2003-03-29 02:57:19 +00:00
Kenichi Handa
ed459fb675 Setup categories for Indian characters. 2003-03-23 02:22:11 +00:00
Kenichi Handa
a030d0e1cc (setup-default-fontset): Use
indian-font-char-range for specifying ranges of indian-glyph
chars.  Setup for AKRUTI fonts.
2003-03-22 01:08:45 +00:00
Kenichi Handa
76b7fded09 (ccl-decode-mule-utf-8): Fix a bug of
invalid 5 to 6 bytes sequence.
2003-03-19 23:36:15 +00:00
Kenichi Handa
fcaabbd5c2 (cp-fix-safe-chars): Make it obsolete.
(cp-make-coding-system): Don't call cp-fix-safe-chars.
2003-03-18 04:25:02 +00:00
Kenichi Handa
6053d86a69 (find-coding-systems-for-charsets):
Use find-coding-systems-string instead of looking up
char-coding-system-table.
2003-03-18 04:23:50 +00:00
Kenichi Handa
701117d5c6 (no-conversion): Call
define-coding-system-internal on this coding system instead of
calling register-char-codings.
2003-03-18 04:23:12 +00:00
Kenichi Handa
620956ca4e * international/mule.el (optimize-char-coding-system-table):
Remove this function.
(register-char-codings): Make it obsolete.
(char-coding-system-table): Defconst it here.
(make-coding-system): Don't call register-char-codings, call
define-coding-system-internal.
2003-03-18 04:11:32 +00:00
Kenichi Handa
0eea77c3e7 (ucs-unify-8859): Don't call
register-char-codings.
(ucs-unify-8859): Don't call optimize-char-coding-system-table.
(ucs-fragment-8859): Don't update char-coding-system-table.  Don't
call register-char-codings nor optimize-char-coding-system-table.
2003-03-18 04:08:39 +00:00
Kenichi Handa
535665b85b (utf-fragment-on-decoding): Don't call
register-char-codings.
(utf-fragment-on-decoding): Don't update char-coding-system-table.
(utf-translate-cjk): Don't call register-char-codings nor
optimize-char-coding-system-table.  Don't update
char-coding-system-table.
2003-03-18 04:06:48 +00:00
Kenichi Handa
58b8be1cfe (ctext-post-read-conversion): Convert the
search pattern to multibyte by string-to-multibyte.
2003-03-17 05:38:39 +00:00
Dave Love
87f506c3f6 (ucs-tables): Don't require.
(latin1-display-face): New.
(latin1-display-char): Use it.
2003-03-13 23:02:19 +00:00
Kenichi Handa
435c388ec3 (iso-latin-1): Moved from european.el. 2003-03-13 08:35:07 +00:00
Kenichi Handa
787caf990a (reset-language-environment): Set
default-file-name-coding-system to iso-latin-1.
2003-03-13 08:32:17 +00:00
Kenichi Handa
04c114e57f (quail-show-guidance-buf): Make the quail
guidance buffer inherit the current value of
quail-current-package.
2003-03-12 02:37:07 +00:00
Kenichi Handa
67ff221682 (ccl-decode-mule-utf-8): Don't loose
bytes on handling an invalid byte sequence.
2003-03-12 00:46:32 +00:00
Kenichi Handa
840f8f73d9 Fix syntaxes of gb2312 and big5. 2003-02-24 04:49:42 +00:00
Kenichi Handa
c0e70a9f1d (print-fontset): If FONTSET is nil,
use the default fontset.
(describe-fontset): If the current frame is not using a fontset,
call print-fontset with nil.
2003-02-20 08:43:22 +00:00
Richard M. Stallman
207d5f1794 (iso-ascii-display-table): New variable.
(iso-ascii-standard-display-table): New variable.
(iso-ascii-display): Define in iso-ascii-display-table.
(iso-ascii-mode): New command.
2003-02-15 19:24:11 +00:00
Dave Love
8daf0fe537 Undo `Trailing whitepace deleted.'
damage.
(cp1125, mik): Nullify mime-charset.
2003-02-14 18:45:40 +00:00
Dave Love
e76ef161e6 (locale-language-names): Use Italian,
Russian, Turkish, Chinese-EUC-TW.
(set-locale-environment): Set ps-paper-type.
2003-02-14 18:42:31 +00:00
Juanma Barranquero
544dd97560 (view-hello-file): Use view-file' instead of find-file-read-only'. 2003-02-14 06:55:32 +00:00
Stefan Monnier
050afd6435 (sort-coding-systems): Use \'.
(select-safe-coding-system): Remove redundant assq check.
Remove raw-text, emacs-mule and no-conversion from the list of
proposed encodings unless there's nothing else.
2003-02-13 20:06:36 +00:00
Juanma Barranquero
70ea295a11 Use new ?\s syntax instead of "? " followed by a comment. 2003-02-13 15:56:09 +00:00
Stefan Monnier
4c86cca05a (load-with-code-conversion): Use push. 2003-02-10 22:20:47 +00:00
Juanma Barranquero
8ee2b52067 Restore missing space and put a comment to protect it from being deleted as
trailing whitespace.
2003-02-04 16:06:31 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Markus Rost
756e055fe9 (set-language-info, current-language-environment):
Simplify setting the type of current-language-environment.
2003-01-25 18:20:30 +00:00
Kenichi Handa
db046b7d3a (decode-coding-inserted-region): Renamed
from decode-coding-region-as-inserted-from-file to make it fit
well in the Lisp manual.
2003-01-24 13:28:00 +00:00
Kenichi Handa
f29387e80b (decode-coding-region-as-inserted-from-file): New function. 2003-01-22 02:33:07 +00:00