1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
Commit graph

123 commits

Author SHA1 Message Date
Kenichi Handa
5b8d2ff502 (encode-coding-char): Don't check
composite character.
1999-12-15 00:41:22 +00:00
Gerd Moellmann
5806e8a61d (default-input-method): Specify
that it should be set after current-language-environment.
1999-12-14 13:00:09 +00:00
Kenichi Handa
bf294e6edb (read-input-method-name): Handle the
case that the arg DEFAULT is symbol.
1999-10-26 13:01:20 +00:00
Paul Eggert
6ececc4d6e * (locale-language-names):
Use Latin-1 (not Latin-3) for Afrikaans, Galician.
Use Latin-5 (not Cyrillic-ISO) for Byelorussian, Bulgarian,
Macedonian, Russian, Ukrainian, Serbian (Cyrillic alphabet).
Use Latin-8 for Welsh.
Use Latin-1 for English if "en" is explicitly specified.
Use Latin-1 for Scots Gaelic, Tagalog.
Use Latin-1 (not Latin-4) for Greenlandic.
Use Latin-1 (not Latin-2) for Albanian.
(locale-preferred-coding-systems, locale-language-names):
Remove generic ISO 8859 locales; locale-charset-language-names now
does this.
(locale-charset-language-names): New variable.
(set-locale-environment): Use language name specified by
locale-charset-language-names if its charsets disagree with the
language name specified by locale-language-names.
1999-10-22 22:51:33 +00:00
Paul Eggert
40c81f74c3 * international/mule-cmds.el (global-map):
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.

* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.
1999-10-19 07:20:09 +00:00
Stefan Monnier
2e2246388b (select-safe-coding-system, leim-list-header): avoid the use of strings
that start with backslash newline since lread.c:read1 has a hack to turn
those strings into integer 0 during the loadup.el process.
1999-10-13 22:45:28 +00:00
Kenichi Handa
f2979bdbdc (describe-current-input-method):
Current-input-method is string.
(toggle-input-method): Docstring fixed.
1999-06-17 12:11:46 +00:00
Kenichi Handa
0e0a9ac30d (find-coding-systems-for-charsets):
Typo fixed; prefered->preferred.
1999-05-26 12:27:38 +00:00
Kenichi Handa
33d17698ff Change MULE to Mule in docstrings and menus. 1999-05-14 00:33:27 +00:00
Karl Heuer
0f835e871c (input-method-function): Add permanent-local property. 1999-04-12 18:25:26 +00:00
Karl Heuer
ebef6d9376 (current-language-environment): Doc fix. 1999-03-30 21:38:20 +00:00
Eli Zaretskii
4e2ac2d940 (set-language-environment): Fix
previous change: don't use dos-codepage when unbound.
1999-03-17 11:29:05 +00:00
Eli Zaretskii
ec241f58e0 (set-language-environment): Don't use
cpNNN-nonascii-translation-table if it is unbound.
1999-03-16 14:18:40 +00:00
Kenichi Handa
fcdc4d6764 (select-safe-coding-system): Be sure
to show a buffer being decoded.
1999-02-27 04:28:31 +00:00
Kenichi Handa
a127b764e2 (iso-2022-control-alist): New variable.
(encoded-code-description): New function.
(encoded-string-description): New function.
(encode-coding-char): New function.
1999-02-25 13:26:55 +00:00
Kenichi Handa
57a6f75751 (language-info-alist): Remove description about charset-origin-alist. 1999-02-12 07:48:52 +00:00
Dave Love
94d04df6d2 (current-language-environment):
Provide :link, :type (choices) and appropriate :get.
1999-01-27 20:22:42 +00:00
Richard M. Stallman
265519e3f7 (select-safe-coding-system): Hightlight at most 256 characters. 1999-01-19 03:07:53 +00:00
Kenichi Handa
00a069c647 (describe-language-environment):
Don't alter input-method-alist.
1999-01-14 01:20:35 +00:00
Eli Zaretskii
812cad8048 (prefer-coding-system): Call set-coding-priority, so that the internal
array of priorities is also updated.
1999-01-06 10:32:34 +00:00
Eli Zaretskii
26d8704095 (coding-system-change-eol-conversion,
coding-system-change-text-conversion): Define them here.  Remove the
autoload cookies.
1999-01-06 10:25:34 +00:00
Eli Zaretskii
6f9dc4fd9e (prefer-coding-system): Fix previous change. 1998-12-31 05:44:40 +00:00
Eli Zaretskii
bd3ac67e7b (prefer-coding-system): If the argument requires specific EOL conversion
type, make the default coding systems use that.
1998-12-30 17:21:44 +00:00
Eli Zaretskii
dcad02bc0c Use make-sparse-keymap instead of define-prefix-key when defining
MULE menu items.
1998-12-21 11:24:39 +00:00
Eli Zaretskii
03c35c8308 (set-language-environment): On MS-DOS
terminals, install DOS-specific nonascii-translation-table if the
language info doesn't specify one.  Pass the default eol-type to
set-language-environment-coding-systems.
(set-default-coding-systems): Copy the eol-type property for the
new default values of {buffer-file,process}-coding-system from the
old defaults.
(set-language-environment-coding-systems): Accept an optional
argument EOL-TYPE, and set the eol-type property of the default
coding systems accordingly.
(set-terminal-coding-system): Enable menu item on MS-DOS terminals.
(set-keyboard-coding-system): Likewise.
(set-default-coding-systems): Don't set
default-terminal-coding-system on MS-DOS to anything but nil.
(prefer-coding-system): Describe in the doc string that
default-terminal-coding-system is not changed on MS-DOS.
(set-language-environment): For MS-DOS, set standard syntax table
and display table for all characters with code above 127.
(standard-display-european-internal): For MS-DOS, pass all
characters with code above 127 directly to the terminal, and don't
remap characters 160 and 146 in the unibyte case.
1998-12-17 17:12:56 +00:00
Kenichi Handa
251d4f4bf9 (find-coding-systems-for-charsets):
Handle the case of unknown charset.
(find-multibyte-characters): If invalid multibyte characters are
found, return the corresponding strings instead of character
codes.
(find-multibyte-characters): Adjusted for the above change.
(select-safe-coding-system): For a unibyte buffer, always returns
DEFAULT-CODING-SYSTEM.
(get-charset-property): Fix previous change.  Make it a function.
(put-charset-property): Make it a function.
1998-12-15 04:35:38 +00:00
Andreas Schwab
48e411652a (select-message-coding-system): Doc
fix.
1998-10-30 10:56:15 +00:00
Kenichi Handa
1300d43f6c (get-charset-property): If CHARSET is
composition, return nil.
(put-charset-property): If CHARSET is composition, do nothing.
1998-10-21 11:50:56 +00:00
Richard M. Stallman
83a03f4d38 (default-input-method): Fix custom type. 1998-10-17 15:25:27 +00:00
Kenichi Handa
2a17b6388c (find-coding-systems-for-charsets):
Delete `composition' (if any) from CHARSETS.
1998-10-12 12:00:44 +00:00
Richard M. Stallman
b0648a0090 (setup-specified-language-environment): Add apropos-inhibit property.
(describe-specified-language-support): Likewise.
1998-10-12 06:13:42 +00:00
Kenichi Handa
91693d18ea (reset-language-environment): Call
update-coding-systems-internal.
1998-09-16 07:21:31 +00:00
Karl Heuer
e8dd0160fa Doc fixes. 1998-09-06 14:31:49 +00:00
Kenichi Handa
205814eee4 (register-input-method): Doc-string modified. 1998-09-02 04:51:42 +00:00
Dave Love
dff1aa2484 (current-language-environment): Fix setter function. 1998-09-01 17:42:01 +00:00
Kenichi Handa
46babb23b6 (select-message-coding-system): New
function.
(set-language-environment-coding-systems): Set
default-sendmail-coding-system.
1998-08-24 01:46:43 +00:00
Kenichi Handa
305a3cb640 (activate-input-method): Handle the
case that the arg INPUT-METHOD is nil correctly.
(read-multilingual-string): Activate the specified input method
before calling read-string.  Afterward, activate the original
input method.
1998-08-18 00:44:20 +00:00
Kenichi Handa
63283a8f24 (set-language-environment): Reset
syntax and case table to the defaults if the value of
unibyte-syntax key is nil.
1998-08-17 02:34:54 +00:00
Kenichi Handa
7624ebb968 (language-info-alist): Doc-string
modified.
(set-language-info-alist): Fix typo in doc-string.  Update
setup-language-environment-map unconditionally.
(mule-keymap): Key bindings for set-selection-coding-system and
set-next-selection-coding-system.
(set-coding-system-map): Add items of set-selection-coding-system
and set-next-selection-coding-system.
1998-08-15 01:28:14 +00:00
Richard M. Stallman
902e3f7798 (select-safe-coding-system): If default-coding-system is no-conversion,
return that; it is always safe.
1998-08-14 09:02:48 +00:00
Kenichi Handa
ddb5c0419c (language-info-alist): Doc-string modified.
(reset-language-environment): New function for the job that
setup-english-environment used to do.
(set-language-environment): Do more setups according to the info
in language-info-alist.
(read-language-name): Handle the case that the arg KEY is nil.  *
(describe-language-environment): Handle input-method property.
1998-08-10 06:29:02 +00:00
Richard M. Stallman
39e643e20a (input-method-exit-on-first-char)
(input-method-use-echo-area): Doc fixes.
1998-08-08 07:20:44 +00:00
Kenichi Handa
dccca9804d (input-method-exit-on-first-char):
New variable.
(input-method-use-echo-area): New variable.
1998-08-06 05:38:11 +00:00
Richard M. Stallman
716184d455 (set-default-coding-systems):
In --unibyte mode, don't set default-file-name-coding-system.
1998-08-04 09:18:36 +00:00
Kenichi Handa
45d08cb2bc (language-info-alist): Doc-string
modified.
(set-language-environment): Setup nonascii-translation-table and
charset-origin-alist according to the property of the specified
language environment.
(update-iso-coding-systems): Make it an alias for
update-coding-systems-internal.
(prefer-coding-system): Call update-coding-systems-internal
instead of update-iso-coding-systems.
(set-language-environment-coding-systems): Likewise.
1998-08-02 01:06:57 +00:00
Kenichi Handa
28885c0e1e (activate-input-method): Update mode line.
(inactivate-input-method): Likewise.
1998-07-30 06:50:59 +00:00
Kenichi Handa
51ed58ea12 (find-multibyte-characters): New
function.
(select-safe-coding-system): Highlight characters which can't be
encoded.  Show list of such characters also in *Warning* buffer.
1998-07-25 04:23:13 +00:00
Kenichi Handa
6c0bf615bb (read-multilingual-string): Don't
activate an input method in the current buffer, but just bind
current-input-method.
1998-07-19 05:17:35 +00:00
Richard M. Stallman
6e9ed08693 (set-language-environment): Test unibyte-syntax instead of using a
fixed list of latin-N character sets.
1998-07-09 04:53:59 +00:00
Richard M. Stallman
9307a9db6a (set-language-environment): Allow all language environments, even in
unibyte mode.  But set the terminal coding system only in the known few.
1998-06-24 05:25:01 +00:00