(find-buffer-file-type): Don't check for untranslated file systems here.
(find-buffer-file-type-coding-system): For reading a file,
check for binary file, then text file, then existing file,
then whether file name is translated.
("ethiopic"): Doc-sring fixed. Change the arg
TRANSLATION-KEYS.
(quail-mode-map): Change binding for ethio-insert-ethio-space.
(quail-mode-hook): Check the current Quail package name.
(get-language-info): Accept a symbol
as the arg LANGUAGE-NAME.
(set-language-info): Likewise.
(set-language-info-alist): Likewise.
(register-input-method): Accept a symbol as the args INPUT-METHOD
and LANGUAGE-NAME.
(activate-input-method): Accept a symbol as the args INPUT-METHOD.
(describe-input-method): Likewise.
(read-multilingual-string): Likewise.
(set-language-environment): Accept a symbol as the arg
LANGUAGE-NAME.
(describe-language-environment): Likewise.
(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'.
(quail-translation-keymap): Do not bind
"\C-c" to quail-abort-translation.
(quail-mode-map): Bind key codes 128 through 256 to
quail-start-translation.
(quail-translation-keymap): Bind key codes 128 through 256 to
quail-self-insert-command.
(quail-conversion-keymap): Bind key codes 128 through 256 to
quail-start-translation-in-conversion-mode.
(ispell-region): Take acount of the fact that `ispell'
will return OFFSET by counting non-ASCII characters as one.
(ispell-dictionary-alist-1): Add coding systems to each entry.
(ispell-dictionary-alist-2): Likewise.
(ispell-get-coding-system): New function.
(ispell-decode-string): New function.
(ispell-get-casechars): Decode the string if necessary.
(ispell-get-not-casechars, ispell-get-otherchars): Likewise.
(Vset_auto_coding_function): Name changed from
Vauto_file_coding_system.
(syms_of_fileio): Adjusted for the above change. Doc-string
modified.
(Finsert_file_contents): The argument for Vset_auto_coding is a
concatination of the heading 1K-byte and the tailing 3K-byte.
(format-subtract-regions): New function.
(format-property-increment-region): New function.
(format-deannotate-region): When multiple annotations
go into a single text property, split the outer annotations (with
format-subtract-regions) instead of resetting them; use lists of
regions instead of a single number for the text property start.
(format-deannotate-region): Don't change extents of
enclosing annotations of the same kind.
(format-deannotate-region): Use
property-increment-region to add to numeric properties.
Kenichi Handa [Thu, 28 Aug 1997 10:54:13 +0000 (10:54 +0000)]
(detect_eol): Do not select no-conversion even if EOL
format of raw-text file is inconsistent. Just read it by
raw-text-unix.
(Fdetect_coding_region): Do not select no-conversion even if EOL
format of raw-text file is inconsistent.
Kenichi Handa [Thu, 28 Aug 1997 10:51:12 +0000 (10:51 +0000)]
(Qno_conversion, Qundecided): New variables.
(syms_of_coding): Initialize and staticpro them.
(coding_category_name): Include "coding-category-raw-test".
(setup_coding_system): Handle coding_type_raw_text.
(detect_coding_mask): Include CODING_CATEGORY_MASK_RAW_TEXT in the
return value instead of CODING_CATEGORY_MASK_BINARY.
(detect_coding): Do not check the case that `mask' is 0, which
never happens now.
(detect_eol_type): If EOL format is inconsistent, return
CODING_EOL_INCONSISTENT.
(detect_eol): If EOL format of raw-text file is inconsistent,
detect it as no-conversion.
(decode_coding): Handle coding_type_raw_text.
(encode_coding): Likewise.
(Fdetect_coding_region): Ajusted for the above changes.
(shrink_conversion_area): Handle coding_type_raw_text.
Kenichi Handa [Thu, 28 Aug 1997 10:51:12 +0000 (10:51 +0000)]
(coding_type): New member coding_type_raw_text.
(CODING_EOL_INCONSISTENT): New macro.
(CODING_REQUIRE_NO_CONVERSION): Check also coding_type_raw_text.
(CODING_MAY_REQUIRE_NO_CONVERSION): Likewise.
(CODING_CATEGORY_IDX_RAW_TEXT): New macro.
(CODING_CATEGORY_MASK_RAW_TEXT): New macro.
Kenichi Handa [Thu, 28 Aug 1997 10:49:48 +0000 (10:49 +0000)]
(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.
Kenichi Handa [Thu, 28 Aug 1997 10:49:24 +0000 (10:49 +0000)]
(dotdot): This macro deleted.
(SUBDIRS): Exclude skk.
(all): Substitute ${WORLD} to ${TIT}.
(%.el): This target deleted.
(${TIT}): Check existence of `quail' subdirectory.
(leim-list.el): Do not check old files.
(install): If ${srcdir} is different from the current directory,
copy also files under ${srcdir}.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(nnspool-file-coding-system): New variable.
(nnspool-retrieve-headers, nnspool-retrieve-headers-with-nov,
nnspool-find-file): Override `nnheader-file-coding-system' by
`nnspool-file-coding-system' for gnspool on Windows 95/NT.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(nntp-coding-system-for-read): New variable.
(nntp-open-connection): Bind `coding-system-for-read' with
`nntp-coding-system-for-read' for Emacs/mule and XEmacs/mule.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(nnfolder-request-list): Override
'nnmail-file-coding-system' by 'nnmail-active-file-coding-system'.
(nnfolder-request-list, nnfolder-possibly-change-group): Protect
from conversion by `pathname-coding-system' for XEmacs/mule.
(nnfolder-group-pathname): Encode pathname for Emacs 20.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(nnheader-pathname-coding-system): New variable.
(nnheader-file-coding-system): New variable.
(nnheader-group-pathname): Encode pathname for Emacs 20.
(nnheader-find-file-noselect): Bind `coding-system-for-read' with
`nnheader-file-coding-system' for Emacs/mule and XEmacs/mule.
(nnheader-insert-file-contents): Bind `coding-system-for-read'
with `nnheader-file-coding-system' for Emacs/mule and XEmacs/mule.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(pop3-movemail-file-coding-system): Append it for
assigning a coding system to receive mail with pop3.
(pop3-movemail): Modify for writing messages with
pop3-movemail-file-coding-system.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(gnus-structured-field-decoder): New variable.
(gnus-unstructured-field-decoder): New variable.
(gnus-get-newsgroup-headers, gnus-nov-parse-line): Use
`gnus-structured-field-decoder' and
`gnus-unstructured-field-decoder' for Subject field.
Kenichi Handa [Thu, 28 Aug 1997 04:51:02 +0000 (04:51 +0000)]
(nnmail-active-file-coding-system): New variable.
(nnmail-insert-xref): Encode pathname for Emacs 20.
(nnmail-write-region, nnmh-retrieve-headers, nnmh-request-article,
nnmh-request-group, nnmh-possibly-change-directory): Protect from
conversion by `pathname-coding-system' for XEmacs/mule.
(nnmail-pathname-coding-system): New variable.
(nnmail-group-pathname): Encode pathname for Emacs 20.
nnmail-file-coding-system): New variable.
(nnmail-find-file): Bind `coding-system-for-read' with
`nnmail-file-coding-system' for Emacs/mule and XEmacs/mule.
(nnmail-write-region): Bind `coding-system-for-write' with
`nnmail-file-coding-system' for Emacs/mule and XEmacs/mule.
Change the custom group to `hypermedia'.
(browse-url-netscape-version): New variable.
(browse-url-netscape-reload): Use it to account for reported
backwards incompatibility.