1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
Kenichi Handa
d0c26c63e8 (after-insert-file-set-buffer-file-coding-system): If the buffer
is changed to unibyte, return inserted bytes.
1998-11-16 01:17:06 +00:00
Kenichi Handa
0513425723 (make-coding-system): Create -with-esc variant coding system. 1998-10-14 12:41:02 +00:00
Kenichi Handa
421e3b4eb5 (make-coding-system): Doc-string modified. 1998-09-18 13:10:40 +00:00
Karl Heuer
e8dd0160fa Doc fixes. 1998-09-06 14:31:49 +00:00
Paul Eggert
0611934b67 (charset-description): Doc fix. 1998-08-31 18:26:27 +00:00
Kenichi Handa
a03b3ce13b (set-selection-coding-system): Make it
interactive.
(last-next-selection-coding-system): New variable.
(set-next-selection-coding-system): New function.
1998-08-15 01:28:14 +00:00
Eli Zaretskii
be02cd54b3 (find-new-buffer-file-coding-system): When
inhibit-eol-conversion is non-nil and the buffer didn't already
set a fully-qualified coding system, force -unix eol-type.
1998-08-04 10:27:45 +00:00
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