(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.
(facemenu-unlisted-faces): Expand variable
definition to allow regexps; add regexps for some packages that
define a lot of faces.
(facemenu-add-new-face): Test new face against regexps.
(list-colors-display): Rather than creating a zillion faces, use
new (foreground-color . COLOR) and (background-color . COLOR)
face properties.
Kenichi Handa [Tue, 26 Aug 1997 12:04:43 +0000 (12:04 +0000)]
Re-arrange macros so that the macro TIT contains
only Quial packages generated from CXTERM dictionaries, and the
macro NON-TIT contains only Quial packages distributed with Emacs.
(install): Do not use -h option for tar, instead copy ${NON-TIT}
and ${TIT} separately.
Kenichi Handa [Tue, 26 Aug 1997 11:45:49 +0000 (11:45 +0000)]
(query-replace-read-args): Locally bind
minibuffer-inherit-input-method to t to make a minibuffer inherit
the current input method.
(map-query-replace-regexp, keep-lines, flush-lines): Likewise.
(how-many, occur): Likewise.
Kenichi Handa [Tue, 26 Aug 1997 11:42:33 +0000 (11:42 +0000)]
(Finteractive): Document the code letter `M'.
(Fcall_interactively): Call Fcompleting_read,
Fread_from_minibuffer, and Fread_string with a proper value for
the arg INHERIT-INPUT-METHOD. Handle the code letter `M'.
Kenichi Handa [Tue, 26 Aug 1997 11:42:33 +0000 (11:42 +0000)]
(Qcurrent_input_method, Qactivate_input_method): New
variables.
(syms_of_minibuf): Intern and staticpro them.
(read_minibuf): New argument INHERIT_INPUT_METHOD. If it is
nonzero, remember the current input method in INPUT_METHOD, and
activate it after switching to the minibuffer.
(Fread_from_minibuffer): New argument INHERIT_INPUT_METHOD.
(Fread_minibuffer): Call read_minibuf with INHERIT_INPUT_METHOD
nil.
(Fread_string): New argument INHERIT_INPUT_METHOD.
(Fread_no_blanks_input): Likewise.
(Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD
nil.
(Fread_function, Fread_variable, Fread_buffer): Likewise
(Fcompleting_read): New argument INHERIT_INPUT_METHOD.
Kenichi Handa [Tue, 26 Aug 1997 11:42:33 +0000 (11:42 +0000)]
(Fwrite_region): Convert EOL format even if
enable-multibyte-characters is nil.
(Fread_file_name): Call Fcompleting_read with INHERIT-INPUT-METHOD
nil.