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

159 commits

Author SHA1 Message Date
Eli Zaretskii
bc40691138 (set-input-method): Doc fix. 2001-02-12 18:52:02 +00:00
Kenichi Handa
b909cfc0b6 (reset-language-environment): Reset coding-category-utf-8 to
mule-utf-8.
2001-01-25 13:07:32 +00:00
Kenichi Handa
631f62fd3d (reset-language-environment): Make
the priority of coding-category-utf-8 higher than
coding-category-binary.
2001-01-25 11:48:59 +00:00
Gerd Moellmann
043631796e (universal-coding-system-argument):
Handle commands with prefix args.
2001-01-24 13:14:45 +00:00
Kenichi Handa
5beaa0d168 (prefer-coding-system): Fix docstring. 2001-01-12 06:33:21 +00:00
Dave Love
1492f7ac70 (standard-display-european-internal):
Set display table for 2208 as for 160.
2001-01-11 23:01:41 +00:00
Kenichi Handa
8c4b6822bc (locale-language-names): Map "es" to "Spanish" and "nl" to "Dutch". 2001-01-09 13:14:37 +00:00
Kenichi Handa
a672b7cd13 (select-safe-coding-system): Improve help message. 2000-12-21 06:46:52 +00:00
Kenichi Handa
c24e49a893 (select-safe-coding-system): Check coding-category-list more rigidly. 2000-12-21 05:45:08 +00:00
Kenichi Handa
2fa7e20272 (describe-language-environment): Fix
for the case that an input method title is not string but a list.
2000-12-07 10:55:39 +00:00
Jason Rumney
2e86ceaad1 (locale-language-names): Add jp as a non-standard alternative for Japanese. 2000-11-24 20:46:48 +00:00
Dave Love
da645c5352 (locale-charset-language-names):
Match @euro.
2000-11-15 20:31:33 +00:00
Kenichi Handa
e036b0a6b3 (describe-language-environment): Eval
`sample-text' data and insert the result.
2000-11-06 00:11:18 +00:00
Kenichi Handa
a89f541b4a (encode-coding-char): Check property safe-chars instead of
safe-charsets.
2000-10-30 01:34:41 +00:00
Kenichi Handa
038f27a72e (select-safe-coding-system): If FROM is string, show it in *Warning*
buffer.
2000-10-13 00:43:30 +00:00
Dave Love
0812c1e828 (set-locale-environment): Doc fix. 2000-09-12 13:32:06 +00:00
Kenichi Handa
d0c40faabe (help-xref-mule-regexp-template):
Include the pattern for character set.
(leim): New group.
2000-09-07 02:38:07 +00:00
Kenichi Handa
464cc13084 (help-xref-mule-regexp-template): New variable.
(describe-input-method): Temporarily activate the specfied input
method to display the information.
(describe-language-environment): Hyperlinks to mule related items.
2000-08-29 05:37:48 +00:00
Kenichi Handa
0c47a7c83d (reset-language-environment): Set default-process-coding-system to
'(undecided . iso-latin-1), which makes process I/O almost consistent
with file I/O.  Call this function when mule-cmds.el[c] is loaded.
2000-08-24 02:10:05 +00:00
Eli Zaretskii
2f1fa038c8 (select-safe-coding-system): Make
the message text about selecting a safe coding system more clear.
2000-08-03 11:38:08 +00:00
Kenichi Handa
b5edd1d103 (find-coding-systems-region-subset-p): This function deleted.
(sort-coding-systems-predicate): New variable.
(sort-coding-systems): New function.
(find-coding-systems-region): Use
find-coding-systems-region-internal.
(find-coding-systems-string): Use find-coding-systems-region.
(find-coding-systems-for-charsets): Check
char-coding-system-table.
(select-safe-coding-system-accept-default-p): New variable.
(select-safe-coding-system): Mostly rewritten.  New argument
ACCEPT-DEFAULT-P.
(select-message-coding-system): Call select-safe-coding-system
with ACCEPT-DEFAULT-P arg.
(reset-language-environment): Reset default-sendmail-coding-system
to the default value iso-latin-1.
(set-language-environment): Don't set the obsolete variable
charset-origin-alist.
2000-07-27 06:09:25 +00:00
Kenichi Handa
1999efa21a (select-safe-coding-system): Fix typo in the comment. 2000-07-18 11:13:55 +00:00
Kenichi Handa
98c6d6edf3 (set-language-info-alist): Docstring fixed. 2000-06-21 07:35:25 +00:00
Dave Love
e56d790092 (select-safe-coding-system): If
DEFAULT-CODING-SYSTEM is not specified, also check the most
preferred coding-system if buffer-file-coding-system is
`undecided'.  From handa.
2000-06-08 15:54:26 +00:00
Stefan Monnier
2598a293ae Update calls to make-obsolete with a WHEN argument. 2000-06-01 05:07:32 +00:00
Kenichi Handa
bd95317329 (encode-coding-char): Make strings
multibyte before calling encode-coding-string.
2000-05-26 02:39:09 +00:00
Kenichi Handa
14333e317b (find-multibyte-characters): Never
exclude charsets eight-bit-control and eight-bit-graphic.
2000-05-20 00:11:06 +00:00
Kenichi Handa
8c9d55a949 (encode-coding-char): An ASCII character is always encodable. 2000-05-13 00:34:05 +00:00
Eli Zaretskii
9deed82f09 (set-language-info-alist): Call define-prefix-command with 3 arguments,
to make the map suitable for a menu.
2000-05-08 11:44:29 +00:00
Eli Zaretskii
d9c0a50ef0 (set-language-environment): Don't
concat an integer (dos-codepage), use format instead.
2000-05-02 11:55:50 +00:00
Dave Love
0d7c5bb952 (locale-translation-file-name):
Defvar to nil.
(set-locale-environment): Set it here (at runtime).
2000-04-25 23:16:28 +00:00
Kenichi Handa
5de75f53b1 (encoded-string-description): Use uppercase letters for hexadecimal
format.
2000-04-03 11:11:58 +00:00
Kenichi Handa
993b2a7dd4 (encoded-string-description):
Rewritten.   Try pretty description for ISO 2022 escape sequences
only if CODING-SYSTEM is based on ISO 2022.
2000-04-03 04:05:41 +00:00
Dave Love
cda74479bb Various menu changes.
(describe-specified-language-support): Handle `Default'.
(set-language-info): Purecopy `info'.
2000-04-01 11:54:49 +00:00
Kenichi Handa
9bfcd26931 (reset-language-environment): Include
coding-category-utf-8, coding-category-utf-16-be, and
coding-category-utf-16-le in the argument for set-coding-priority.
(reset-language-environment): Initialize coding-category-utf-8,
coding-category-utf-16-be, and coding-category-utf-16-le to nil.
2000-03-07 06:16:04 +00:00
Eli Zaretskii
538d88fb93 (mule-menu-keymap)
(describe-language-environment-map, set-coding-system-map)
(setup-language-environment-map): Convert to new (menu-item...
form, add help strings.  Change names of menu items for better
clarity.  "Mule" menu-bar item removed (it's now in the "Options"
submenu).
2000-02-17 11:10:31 +00:00
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