1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

361 Commits

Author SHA1 Message Date
Richard M. Stallman
171666af2d (quail-defrule-internal): New arg REPLACE.
(quail-defrule): Call quail-defrule-internal with REPLACE t.
1998-03-06 21:33:37 +00:00
Richard M. Stallman
ecd57ad40f (titdic-convert): Use set-buffer-multibyte. 1998-03-06 21:32:55 +00:00
Kenichi Handa
387136f687 (set-default-coding-systems): Set
default-file-name-coding-system.  Doc-string modified.
(prefer-coding-system): Doc-string modified.
1998-03-03 01:36:35 +00:00
Karl Heuer
84c9d21596 (load-with-code-conversion):
Don't bind enable-multibyte-characters; instead,
bind default-enable-multibyte-characters before creating buffer.
(after-insert-file-set-buffer-file-coding-system):
Use set-buffer-multibyte.
Use add-hook to add this to after-insert-file-functions.
1998-03-02 20:01:46 +00:00
Dave Love
be38bd1419 (iso-spanish, iso-german, iso-iso2tex,
iso-tex2iso, iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Fix
doc, interactive spec.
1998-02-27 17:05:21 +00:00
Kenichi Handa
1f77639917 (select-safe-coding-system): Kill the
warning buffer before returning.
1998-02-20 01:44:10 +00:00
Kenichi Handa
a2b4abc18b (after-insert-file-set-buffer-file-coding-system): Call set-buffer-multibyte
instead of directly setting enable-multibyte-characters to nil.
1998-02-20 01:44:10 +00:00
Richard M. Stallman
8845349022 (iso-transl-define-keys): Don't add
nonascii-insert-offset to ASCII characters.
1998-02-07 05:04:28 +00:00
Kenichi Handa
4a027a0dfb Use aref instead of sref. 1998-02-04 11:25:47 +00:00
Kenichi Handa
d5266ddfc2 (find-safe-coding-system): Return
undecided if FROM == TO.
(select-safe-coding-system): Doc-string modified.
1998-02-04 11:25:47 +00:00
Kenichi Handa
afe7af84d2 (compose-chars-component): Return
result as unibyte string.
(decompose-composite-char): Doc-string modified.
1998-02-04 11:25:47 +00:00
Kenichi Handa
1375754c34 Many codes re-written to adjust for
character-base positioning and for speed up by using
with-temp-file, with-temp-buffer, and princ.
1998-02-04 11:25:47 +00:00
Richard M. Stallman
b70794577c (toggle-enable-multibyte-characters): Use set-buffer-multibyte.
(find-safe-coding-system-list-subset-p): Renamed from list-subset-p.
The call changed also.
1998-02-03 06:29:24 +00:00
Kenichi Handa
d9fd228d4d (titdic-convert): Set
enable-multibyte-characters to t after inserting TIT file by
no-conversion.
(tit-process-body): Do not bind enable-multibyte-characters to
nil.
1998-01-28 12:38:06 +00:00
Kenichi Handa
2791eeaaad (skkdic-jbytes): Variable deleted.
All codes using this variable adjusted.
1998-01-22 01:42:20 +00:00
Kenichi Handa
6c7f60586c Comment about CCL syntax modified.
(ccl-command-table): Add read-multibyte-character,
write-multibyte-character, and unify-character.
(ccl-code-table): Add ex-cmd.
(ccl-extended-code-table): New variable.
(ccl-embed-extended-command): New function.
(ccl-compile-read-multibyte-character,
ccl-compile-write-multibyte-character,
ccl-compile-unify-character, ccl-compile-iterate-multiple-map,
ccl-compile-translate-multiple-map,
ccl-compile-translate-single-map,
ccl-compile-multiple-map-function) New functions.
(ccl-dump-ex-cmd, ccl-dump-read-multibyte-character,
ccl-dump-write-multibyte-character, ccl-dump-unify-character,
ccl-dump-unify-character-const-tbl, ccl-dump-iterate-multiple-map,
ccl-dump-translate-multiple-map, ccl-dump-translate-single-map):
New functions.
1998-01-22 01:42:20 +00:00
Kenichi Handa
777cfce616 Put `prefered-coding-system'
property to each character set.
1998-01-22 01:42:20 +00:00
Kenichi Handa
54b226f7e5 (set-language-info): Doc-string
describes `coding-priority' KEY.
(set-language-environment-coding-systems): New function.
(list-subset-p): New function.
(select-safe-coding-system): New function.
(set-language-info): New optional args DESCRIBE-MAP and SETUP-MAP.
(set-language-info-alist): New optionla arg PARENTS.  Call
set-language-info with apropriate DESCRIBE-MAP and SETUP-MAP args.
(set-language-environment-coding-systems): New function.

(prefer-coding-system): Call update-iso-coding-systems.
1998-01-22 01:42:20 +00:00
Kenichi Handa
40e98681b4 Adjusted for the change of the
format of make-coding-system's 6th argument.  Initialize
coding-category-iso-7-tight to iso-2022-jp.
(oldjis-newjis-jisroman-ascii): New character unification table.
(standarad-character-unification-table-for-decode): Initialize to
`unification-table' property of `oldjis-newjis-jisroman-ascii'.
1998-01-22 01:42:20 +00:00
Kenichi Handa
0691ad6147 (describe-coding-system): Change the
format of showing safe charsets.
1998-01-22 01:42:20 +00:00
Kenichi Handa
dbea676644 (find-safe-coding-system): Moved to
mule-cmds.el.
(detect-coding-with-priority): New macro.
(detect-coding-with-language-environment): New function.

(string-to-sequence): Adjusted for the change of
multibyte-form handling (byte-base to char-base).
(store-substring): Likewise.
(truncate-string-to-width): Likewise.
(decompose-region): Likewise.
(decompose-string): Likewise.
(decompose-composite-char): Call string instead of concat-chars.
1998-01-22 01:42:20 +00:00
Kenichi Handa
d9e3229d1e (define-character-unification-table): New
function.
(coding-system-base): Doc-string modified.
(make-coding-system): The 6th optional arg is changed to
PROPERTIES.
(set-buffer-file-coding-system): Show "(default, nil)" in prompt.
(set-coding-priority): Code tuned.
1998-01-22 01:42:20 +00:00
Kenichi Handa
f9222bef23 (quail-show-kbd-layout): Bug fix for the
case that TRANSLATION is a cons.
1998-01-22 01:42:20 +00:00
Kenichi Handa
e68e61b5e0 Change "?\C-\ " to "?\C- " because "\ " is changed
to standing for nothing in lread.c (read_escape).
1998-01-12 05:48:48 +00:00
Richard M. Stallman
b179b62108 (mule-keymap): Delete the binding for toggle-enable-multibyte-characters.
(mule-menu-keymap): Delete the menu item for it.
1997-12-21 01:53:43 +00:00
Richard M. Stallman
6998e1a1e5 (toggle-enable-multibyte-characters): Doc fix. 1997-12-21 01:49:03 +00:00
Karl Heuer
4d0e6a1167 (set-language-info): Doc fix.
(input-method-inactivate-hook): Doc fix.
1997-12-19 14:51:52 +00:00
Karl Heuer
0f69cb3894 (load-with-code-conversion): Doc fix. 1997-12-04 04:47:41 +00:00
Karl Heuer
8b784951b9 (set-input-method): Renamed from select-input-method. 1997-11-20 22:14:40 +00:00
Karl Heuer
68554dbb68 Comment fix. 1997-11-20 22:12:59 +00:00
Karl Heuer
504af7b280 New category ` '.
Enable for non-breaking space in Latin-N.
1997-11-11 03:24:18 +00:00
Kenichi Handa
e63645c263 (set-language-environment): Run
exit-language-environment-hook before calling `exit-function'
which is specified for the language environment.
1997-11-08 03:07:37 +00:00
Kenichi Handa
562b13ae74 (list-input-methods): Improve the
message shown when LEIM is not installed.
1997-10-24 01:14:24 +00:00
Kenichi Handa
5611ce7c86 (quail-translation-keymap): KP_Enter key
emulates `C-SPC'.  `mouse-2' bound to
`quail-mouse-choose-completion'.
(quail-completion-list-translations): Set text property
`mouse-face' of character `translations' to `highlight'.  Changed
`newline' to `insert "\n"' to prevent text property inheritance.
(quail-mouse-choose-completion): New function bound to `mouse-2'
selects highlighted characters from *Quail Completions* buffer.
(quail-choose-completion-string): New function called by
`quail-mouse-choose-completion'.
1997-10-24 01:14:24 +00:00
Simon Marshall
db5cae4b2d Indicate in messages if source code is being loaded. 1997-10-23 14:58:25 +00:00
Kenichi Handa
8efc03e1b4 (set-default-coding-systems):
Doc-string modified.
(prefer-coding-system): Likewise.  Call coding-system-base instead
of coding-system-parent.
(describe-language-environment): Print aliases of each coding
system.
(set-language-environment-hook): New variable.
(exit-language-environment-hook): New variable.
(set-language-environment): Call these hooks.  Before setting a
new language environment, exit from the
current-language-environment if necessary.
(input-method-verbose-flag): The value can be nil, t,
complex-only, or default.
(input-method-highlight-flag): Doc-string augmented.
(activate-input-method): Check if we can run the registered
function to activate an input method.
1997-10-23 12:05:45 +00:00
Kenichi Handa
fec0e02ded Give proper SAFE_CHARSET argument in
each call of make-coding-system.
1997-10-23 12:05:45 +00:00
Kenichi Handa
753fd9caf3 (list-input-methods): Handle the case
that title of input method is not a simple string.  Show users
an informative message when leim is not yet installed.
(describe-coding-system): Print safe charasets of the coding
system.
1997-10-23 12:05:45 +00:00
Kenichi Handa
e481690d87 (find-safe-coding-system): New function. 1997-10-23 12:05:45 +00:00
Kenichi Handa
a6acd8a293 (load-with-code-conversion): Update
preloaded-file-list, bind load-file-name and
inhibit-frame-unsplittable properly.
(make-char): Make it a function.  Set it byte-compile property to
optimize byte-compiled codes.
(make-coding-system): New optional arg charsets.  Set property
`safe-charsets' of the coding system to it.
1997-10-23 12:05:45 +00:00
Kenichi Handa
9a0eac6e7a (quail-require-guidance-buf): Adjusted
for the change of input-method-verbose-flag.
1997-10-23 12:05:45 +00:00
Kenichi Handa
d34596414e (read-multilingual-string): Use
current-input-method prior to default-input-method.  Don't bind
current-input-method by `let', instead, activate the specified
input method in the current buffer temporarily.
1997-10-21 10:47:35 +00:00
Kenichi Handa
3fcbab9a49 Change the way of making coding
systems and no-conversion and undecide.
1997-10-21 10:47:35 +00:00
Kenichi Handa
ff8909d81d (describe-coding-system): Print
informatoin about coding system properties, post-read-conversion
and pre-write-conversion.
(print-coding-system-briefly): Adjusted for the change in mule.el.
(describe-current-coding-system): Likewise.
(print-coding-system): Likewise.
1997-10-21 10:47:35 +00:00
Kenichi Handa
f1fd88c6ac (coding-system-base): Moved to
mule.el.
(coding-system-post-read-conversion):
Use the new function coding-system-get.
(coding-system-pre-write-conversion): Likewise.
(coding-system-unification-table-for-decode): Likewise.
(coding-system-unification-table-for-encode): Likewise.
(coding-system-list): Adjusted for the change in mule.el.
(coding-system-plist): Deleted.
(coding-system-equal): Do not use coding-system-plist.
1997-10-21 10:47:35 +00:00
Kenichi Handa
0269ddfb0d The summary of the following changes:
(1) Make all coding systems (including aliases and subsidiaries)
directly have coding-spec vector in `coding-system' property.
(2) Properties of a coding system (except for `coding-system' and
`eol-type') is embeded in PLIST slot of coding-spec vector.
(coding-spec-plist-idx): Initialize to 3.
(coding-system-spec-ref): Deleted.
(coding-system-spec): Moved from src/coding.c.
(coding-system-type): Adjusted for the above change.
(coding-system-mnemonic): Likewise.
(coding-system-doc-string): Likewise.
(coding-system-flags): Likewise.
(coding-system-eol-type): Likewise.
(coding-system-category): Likewise.
(coding-system-get, coding-system-put, coding-system-category):
New functions.
(coding-system-base): Moved from mule-util.el and adjusted for the
above change.
(coding-system-parent): Make it obsolete alias of
coding-system-base.
(make-subsidiary-coding-system): Adjusted for the above change.
Update coding-system-list and coding-system-alist.
(make-coding-system): Likewise.
(set-buffer-file-coding-system): Typo in doc-string fixed.
(after-insert-file-set-buffer-file-coding-system): Change
enable-multibyte-characters only when
find-new-buffer-file-coding-system returns non-nil value.
(find-new-buffer-file-coding-system): Adjusted for the abobe change.
1997-10-21 10:47:35 +00:00
Karl Heuer
e01abb7d50 Add autoloads for `8859-1-map'. 1997-10-21 03:06:34 +00:00
Karl Heuer
4bb0b3adac (describe-font): Fix prompt. 1997-10-19 20:12:15 +00:00
Karl Heuer
8adfa8bea3 (describe-language-environment): Fix prompt. 1997-10-19 20:11:59 +00:00
Kenichi Handa
4afb4ca5d5 (quail-translation-keymap): Bind right, left, down, and up keys. 1997-09-25 12:40:02 +00:00