| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
(Fwrite_region): Set Vlast_coding_system_used to the return value
of choose_write_coding_system.
|
| |
|
|
|
|
|
|
| |
(utf-16-le): Make it an alias of utf-16be-with-signature.
(utf-16-be-with-signature, utf-16-le-with-signature): Remove these
coding system aliases.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Check the coding system type `undecided', not `t'.
(sort-coding-systems): Fix for iso-2022 coding systems.
(find-multibyte-characters): Fix for eight-bit chars.
(set-language-environment): Set charset priorities according to
the charsets supported by the coding systems of higher priorities.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(syms_of_coding): Defsym it. Set all elements of
Vcoding_category_table and their symbol values.
(Fset_coding_system_priority): Doc fix. Update symbol qvalues of
coding-category-XXX, and coding-category-list.
(Fdefine_coding_system_internal): Add category in the plist.
|
|
|
|
|
|
| |
of codng-category-XXX, and coding-category-list.
(syms_of_coding): Set all elements of Vcoding_category_table and
their symbol values.
|
|
|
|
| |
(make-translation-table): Re-written.
|
|
|
|
| |
Check (match-end 2) before goto there.
|
| |
|
|
|
|
|
|
|
|
| |
bytes.
(raw_text_coding_system): Check NILP (coding_system).
(coding_inherit_eol_type): Check NILP (coding_system) and
NILP (parent).
(consume_chars): Fix for the case of raw-text.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
target_multibyte. Even in a unibyte case, return a converted
multibyte char.
(GET_CHAR_AFTER): New macro.
(PATFETCH): Translate via multibyte char.
(HANDLE_UNIBYTE_RANGE): Delete this macro.
(SETUP_MULTIBYTE_RANGE): New macro.
(regex_compile): Setup compiled code so that its multibyteness
matches that of a target. Fix the handling of "[X-YZ]" using
SETUP_MULTIBYTE_RANGE.
(analyse_first) <charset>: For filling fastmap for all multibyte
characters, don't check by BASE_LEADING_CODE_P.
(re_search_2): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is
the same as RE_MULTIBYTE_P (bufp) now.
(mutually_exclusive_p): Check by (! multibyte ||
IS_REAL_ASCII (c)).
(TARGET_CHAR_AND_LENGTH): Delete this macro.
(TRANSLATE_VIA_MULTIBYTE): New macro.
(re_match_2_internal): Don't check RE_TARGET_MULTIBYTE_P (bufp).
It is the same as RE_MULTIBYTE_P (bufp) now.
<exactn>: Translate via multibyte.
<anychar>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Don't
translate it.
<charset, charset_not>: Fetch a character by
RE_STRING_CHAR_AND_LENGTH. Translate via multibyte.
<duplicate>: Call bcmp_translate with the last arg `multibyte'.
<wordbound, notwordbound, wordbeg, wordend, syntaxspec,
notsyntaxspec, categoryspec, notcategoryspec> Fetch a character
by GET_CHAR_AFTER.
(bcmp_translate): Likewise.
|
|
|
|
| |
not the member multibyte of buf.
|
|
|
|
| |
and force_multibyte correctly.
|
|
|
|
|
| |
unibyte_to_multibyte_table.
(init_charset_once): Likewise.
|
|
|
|
|
|
|
| |
Exclude entries for iso8859-1[03456]. Fix docstring.
(ctext-pre-write-conversion): Make it work for the case that FROM
is a string. Don't do unnecessary save-restriction and
narrow-to-region.
|
|
|
|
| |
unibyte buffer, check if we must decode the result or not.
|
|
|
|
|
|
|
| |
post-read-conversion or pre-write-conversion, set
CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK
respectively.
(decode_coding_gap): Run post-read-conversion if any.
|
| |
|
|
|
|
| |
name to the same one as that of Emacs 21.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Renamed from non-standard-icccm-encodings-alist.
(ctext-non-standard-encodings-regexp): New variable
(ctext-post-read-conversion): Full rewrite.
(ctext-non-standard-designations-alist): Renamed from
non-standard-designations-alist.
(ctext-pre-write-conversion): Full rewrite.
(define-coding-system): Doc fix (escape '"' by '\').
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(decode_coding_iso_2022): Pay attention to the byte sequence of
CTEXT extended segment, and retain those bytes as is.
(decode_coding_ccl): Delete unused variable `valids'.
(setup_coding_system): Delete unused variable `category'.
(consume_chars): Delete unused variable `category'. Make it work
for non-multibyte case.
(make_conversion_work_buffer): Argument changed.
(saved_coding): Delete unused variable.
(code_conversion_restore): Don't check saved_coding->destination.
(code_conversion_save): New function.
(decode_coding_gap, encode_coding_gap): Call code_conversion_save
instead of record_unwind_protect.
(decode_coding_object, encode_coding_object): Likewise. Recover
PT.
(detect_coding_system): Delete unused variable `mask'.
(Fdefine_coding_system_internal): Delete unsed vaiable id;
|
|
|
|
| |
(code_conversion_restore): Don't extern it.
|
|
|
|
|
|
| |
(Finsert_file_contents): On replacing, call
make_conversion_work_buffer with correct args, and call
record_unwind_protect with the first arg kill_workbuf_unwind.
|
| |
|
| |
|
|
|
|
|
|
| |
(utf-16le-with-signature, utf-16be-with-signature, utf-16):
Define :mime-text-unsuitable. `utf-16{b,l}e...' renamed from
`-16-{b,l}e-' and aliases defined for the old names.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
and gb18030-4.map.
(gb18030.map): Delete this target.
(gb18030-2.map, gb18030-4.map): New targets.
|
|
|
|
| |
coding_type is Qcharset.
|
|
|
|
|
|
|
|
| |
FONTSET_NAME.
(fontset_add): Fix for the case that TO is less than TO1.
(Ffontset_info): Don't use fallback fontset on checking the
default fontset.
(dump_fontset): New function for debugging.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(map_char_table): Don't inherit the value from the parent on
initializing VAL. Adjusted for the above change.
|