1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
Kenichi Handa
c76b5c998d (make-coding-system): If the arg TYPE is
4, set coding-category property of the coding system to
coding-category-ccl.
(find-new-buffer-file-coding-system): If the arg CODING carries
some information (about text conversion or eol conversion), always
return a new coding system.
(charset-origin-alist): New variable.
(make-translation-table-from-vector): New function.
1998-08-02 01:06:57 +00:00
Richard M. Stallman
d0b998812f (set-clipboard-coding-system): Define as alias. 1998-07-27 05:39:15 +00:00
Richard M. Stallman
79de6799c9 (auto-coding-alist): Recognize .tar. 1998-07-26 22:03:03 +00:00
Richard M. Stallman
7fed493a86 (auto-coding-alist): Another doc fix. 1998-07-25 20:56:15 +00:00
Kenichi Handa
558b0c8617 (auto-coding-alist): Docstring fixed. 1998-07-25 04:48:35 +00:00
Kenichi Handa
835f49b8bf (auto-coding-alist): New variable.
(set-auto-coding): Arguemnt FILENAME is added.  Check
auto-coding-alist at first.
1998-07-25 04:23:13 +00:00
Richard M. Stallman
14915c37c2 (set-selection-coding-system): Renamed from set-clipboard-coding-system.
Set the variable's new name, selection-coding-system.
1998-07-12 05:58:47 +00:00
Kenichi Handa
c7d8aff3e0 * international/mule.el: Don't make the function charset-list
obsolete.
1998-07-06 01:54:21 +00:00
Kenichi Handa
1c4cc63a3c (set-auto-coding-for-load): New variable.
(set-auto-coding): If set-auto-coding-for-load is non-nil,
look for "unibyte" file variable first, then for "coding".
(load-with-code-conversion): Bind set-auto-coding-for-load to t.
1998-07-06 01:52:48 +00:00
Kenichi Handa
eb9386bbb8 (mule-version): Changed to 4.0.
(mule-version-date): Updated.
1998-07-01 07:16:28 +00:00
Richard M. Stallman
26471f0600 (set-keyboard-coding-system): Doc typo. 1998-06-27 17:48:27 +00:00
Kenichi Handa
b5cadc4fb0 (set-auto-coding): Redo the previous change. 1998-06-15 01:03:12 +00:00
Kenichi Handa
167eb370ed (set-auto-coding): Cancel the previous change. 1998-06-12 08:55:04 +00:00
Kenichi Handa
25ca8cf6d7 (set-auto-coding): Argument is changed to SIZE. 1998-06-12 01:39:07 +00:00
Karl Heuer
6e2c88407b (coding-system-mnemonic): Don't crash if arg is nil. 1998-06-01 03:01:30 +00:00
Kenichi Handa
2feaf204b0 (set-coding-priority): Call
set-coding-priority-internal at the tail.
1998-05-25 08:08:51 +00:00
Richard M. Stallman
452fdb314d (make-translation-table): Doc fix.
(define-translation-table): Doc fix.
1998-05-25 07:23:08 +00:00
Kenichi Handa
f967223b11 Change term "character translation table" to "translation table". 1998-05-22 09:45:34 +00:00
Kenichi Handa
3ad911d8a0 (make-coding-system): If ISO2022 based
8-bit coding system allows alternative designation, set the coding
category to `coding-category-iso-8-else'.
1998-05-21 01:46:39 +00:00
Kenichi Handa
b25eef20fd Change term unification to translation
throughtout the file.
(set-clipboard-coding-system): New function.
1998-05-18 01:01:00 +00:00
Richard M. Stallman
82d6c19f8a (set-auto-coding): Exclude \n when matching the coding system name. 1998-05-15 22:24:17 +00:00
Richard M. Stallman
ccb77b4efd (after-insert-file-set-buffer-file-coding-system):
Don't make buffer unibyte unless we seem to be visiting a file.
1998-05-12 23:09:35 +00:00
Richard M. Stallman
ba74e83386 (load-with-code-conversion): Don't pass extra arg to eval-buffer.
(set-auto-coding): Doc fix.
1998-04-23 21:57:25 +00:00
Richard M. Stallman
88162676bc (load-with-code-conversion):
Undo previous change.  Instead, pass the UNIBYTE arg to eval-buffer.
1998-04-20 07:08:17 +00:00
Kenichi Handa
3bb1accb4f (make-coding-system): If TYPE is 4, FLAGS
can be a cons of CCL-PROGRAM symbols.
1998-04-20 02:11:52 +00:00
Richard M. Stallman
42de5a7879 (load-with-code-conversion):
Don't bind default-enable-multibyte-characters to t.
1998-04-18 01:48:22 +00:00
Kenichi Handa
1d93566923 (generic-char-p): A character of code 0 is not a generic char. 1998-04-11 02:18:31 +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
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
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
Karl Heuer
0f69cb3894 (load-with-code-conversion): Doc fix. 1997-12-04 04:47:41 +00:00
Simon Marshall
db5cae4b2d Indicate in messages if source code is being loaded. 1997-10-23 14:58:25 +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
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
Kenichi Handa
34186f7eaf (make-coding-system): Cancel the previous change. 1997-09-25 12:38:15 +00:00
Kenichi Handa
d3675a42d8 (charset-list): Change it to function.
Make it obsolete.
(make-coding-system): Put `coding-system-parent' property to a
coding system just made.
(coding-spec-plist-idx): New variable.
1997-09-25 12:26:38 +00:00
Richard M. Stallman
b685f8d6b5 (find-new-buffer-file-coding-system): Reflect
text coding part of default-buffer-file-coding-system to
buffer-file-coding-system when buffer-file-coding-system is
not locally set and ASCII only text is read.
1997-09-17 06:41:41 +00:00
Richard M. Stallman
0b79b2ace8 (load-with-code-conversion):
Use third arg to eval-buffer and don't set buffer-file-name.
1997-09-07 18:32:24 +00:00
Richard M. Stallman
77a619127d (load-with-code-conversion):
Don't bind enable-multibyte-characters; set it in the temp buffer.
1997-09-05 23:30:30 +00:00
Richard M. Stallman
2e02a76fcc (charset-quoted-standard-p): New function.
Use it instead of quoted-symbol-p.
(charset-id): Use charset-quoted-standard-p.
(quoted-symbol-p): Function deleted.

(set-terminal-coding-system): Specify default to read-coding-system.
(set-keyboard-coding-system): Likewise.
1997-09-05 05:43:29 +00:00
Richard M. Stallman
ea8b56b3c3 (set-buffer-file-coding-system): Improve prompt. 1997-09-04 05:57:44 +00:00
Richard M. Stallman
35ce8cd793 (set-auto-coding): Recognize coding: in first
line even if not the first variable.
1997-09-01 22:44:22 +00:00
Kenichi Handa
6356130450 (set-auto-coding): Name changed from
auto-file-coding-system.  The argument STRING is now a
concatination of the heading 1K-byte and the tailing 3K-byte of a
file.
(set-auto-coding-function): Set it to `set-auto-coding'.
1997-09-01 07:19:38 +00:00
Kenichi Handa
cd9c317785 (make-coding-system): Make TYPE 5 means
raw-text.
(after-insert-file-set-buffer-file-coding-system): Set
enable-multibyte-characters to nil if we read a file with
no-conversion or raw-text-XXXX.
1997-08-28 10:49:48 +00:00
Kenichi Handa
87aba78889 (make-coding-system): Doc-string fixed. 1997-08-22 01:22:49 +00:00
Richard M. Stallman
850101edca (make-coding-system): Add a new FLAGS
element ACCEPT-LATIN-EXTRA-CODE.

(load-with-code-conversion): Bind enable-multibyte-characters to t.
1997-08-17 01:04:47 +00:00
Kenichi Handa
d6d6d59201 (make-coding-system): Add a new FLAGS
elements SAFE.  Use it for terminal coding system if some other
coding system is specified explicitly.
(ignore-relative-composition): Initialize it.
1997-08-10 04:07:03 +00:00
Richard M. Stallman
358d28fb0b Doc fixes.
(default-terminal-coding-system): New var.
(set-terminal-coding-system):
Use default-terminal-coding-system as default.
(default-keyboard-coding-system): New variable.
(set-keyboard-coding-system):
Use default-keyboard-coding-system as default.
1997-08-05 07:05:12 +00:00
Richard M. Stallman
8c453b46a8 (modify-coding-system-alist): Doc fix. 1997-07-22 23:41:34 +00:00
Geoff Voelker
fe831d33c5 (modify-coding-system-alist): Moved to mule-util.el. 1997-07-20 01:31:41 +00:00