1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

41145 commits

Author SHA1 Message Date
Kenichi Handa
d6f0c8e67f (Fminibuffer_complete_word): Use the macro
FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.
2002-09-03 04:08:49 +00:00
Kenichi Handa
b9dbd42887 (unibyte_char_to_multibyte): Extern deleted. 2002-09-03 04:08:33 +00:00
Kenichi Handa
9ad8bfb0a0 (internal_self_insert): In a multibyte buffer, insert C
as is without converting it to unibyte.  In a unibyte buffer,
convert C to multibyte before checking the syntax.
2002-09-03 04:08:14 +00:00
Kenichi Handa
8d35924790 (casify_object): Fix previous change. 2002-09-03 04:07:54 +00:00
Kenichi Handa
14e3d52396 (Fset_unibyte_charset): If the dimension of CHARSET is
not 1, singals an error.  Update the elements of
unibyte_to_multibyte_table.
(init_charset_once): Initialize unibyte_to_multibyte_table.
(syms_of_charset): Define the charset `iso-8859-1'.
2002-09-03 04:07:33 +00:00
Kenichi Handa
b672c5ae18 (unibyte_to_multibyte_table): New variable.
(unibyte_char_to_multibyte): Move to character.h and defined as
macro.
(multibyte_char_to_unibyte): If C is an eight-bit character,
convert it to the corresponding byte value.
2002-09-03 04:07:11 +00:00
Kenichi Handa
43c4748349 (LEADING_CODE_LATIN_1_MIN)
(LEADING_CODE_LATIN_1_MAX): New macros.
(unibyte_to_multibyte_table): Extern it.
(unibyte_char_to_multibyte): New macro.
(MAKE_CHAR_MULTIBYTE): Use unibyte_to_multibyte_table.
(CHAR_LEADING_CODE): New macro.
(FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): New macro.
2002-09-03 04:06:54 +00:00
Kenichi Handa
9281d07797 (Fbyte_code): Convert a unibyte character to multibyte if necessary. 2002-09-03 04:06:33 +00:00
Kenichi Handa
1464b3d8a8 (Fexpand_abbrev): Convert a unibyte character to
multibyte if necessary.
2002-09-03 04:06:07 +00:00
Kenichi Handa
f2e7bcef4d Don't define the charset iso-8859-1 here, just setup its properties. 2002-09-03 04:05:26 +00:00
Kenichi Handa
0ba42da6ed (enum lface_attribute_index): New member LFACE_FONTSET_INDEX. 2002-08-23 02:27:29 +00:00
Kenichi Handa
763bc839f1 (QCfontset): New variable.
(LFACE_FONTSET): New macro.
(check_lface_attrs): Check also LFACE_FONTSET_INDEX.
(set_lface_from_font_name): Setup LFACE_FONTSET (lface).
(Finternal_set_lisp_face_attribute): Handle QCfontset.
(Finternal_get_lisp_face_attribute): Likewise.
(lface_same_font_attributes_p): Fix checking of LFACE_FONT_INDEX,
check also LFACE_FONTSET_INDEX.
(face_fontset): Check attrs[LFACE_FONTSET_INDEX], not
attrs[LFACE_FONT_INDEX].
(syms_of_xfaces): Intern and staticpro QCfontset.
2002-08-23 02:26:44 +00:00
Kenichi Handa
680d4b87f3 (base64_encode_1): Handle eight-bit chars correctly. 2002-08-22 01:18:39 +00:00
Kenichi Handa
a2974661fb *** empty log message *** 2002-08-22 01:08:26 +00:00
Kenichi Handa
834c59713a *** empty log message *** 2002-08-22 00:07:49 +00:00
Kenichi Handa
372de96a62 (insert_from_gap): Make it work even if PT != GTP. 2002-08-21 13:07:13 +00:00
Kenichi Handa
28f67a95f7 (coding_set_destination): Fix coding->destination for
the case converting a region.
(encode_coding_utf_8): Encode eight-bit chars as single byte.
(encode_coding_object): Fix coding->dst_pos and
coding->dst_pos_byte for the case converting a region.
2002-08-21 12:53:56 +00:00
Kenichi Handa
c35e36cc94 (utf-8): Give :mime-charset property. 2002-08-21 07:00:34 +00:00
Kenichi Handa
da13f28e2c *** empty log message *** 2002-08-21 02:30:11 +00:00
Kenichi Handa
5a38b8c5ed (base64_decode_1): Insert eight-bit chars correctly. 2002-08-21 02:28:21 +00:00
Kenichi Handa
1106ea2b1a (BYTE8_STRING): New macro. 2002-08-21 02:27:07 +00:00
Kenichi Handa
927d47132e (quoted-printable-decode-region): Fix previous change. 2002-08-21 01:32:03 +00:00
Kenichi Handa
f63e65a572 (quoted-printable-decode-region): Insert bytes by `insert-byte'. 2002-08-21 00:42:28 +00:00
Kenichi Handa
b402f819e5 *** empty log message *** 2002-08-20 13:12:32 +00:00
Kenichi Handa
48ef988f74 (Finsert_byte): New function.
(syms_of_editfns): Defsubr it.
2002-08-20 13:05:44 +00:00
Kenichi Handa
eeb7c1552d *** empty log message *** 2002-08-20 11:25:27 +00:00
Kenichi Handa
3eba06f952 Don't setup printable-chars here. 2002-08-20 11:24:31 +00:00
Kenichi Handa
405b0b5ad1 (set_canon, set_identity, shuffle): Simplified. 2002-08-20 11:23:38 +00:00
Kenichi Handa
790ac1c79d (get_next_display_element): Don't display unibyte 8-bit
characters by octal form.
2002-08-20 11:13:34 +00:00
Kenichi Handa
67dde6602c (syms_of_character): Setup Vprintable_chars. 2002-08-20 11:11:19 +00:00
Kenichi Handa
5b89f10917 (Freplace_match): Fix previous change. 2002-08-20 08:34:51 +00:00
Kenichi Handa
096a353dd1 (Freplace_match): Fix for the unibyte case. 2002-08-20 08:32:34 +00:00
Kenichi Handa
16747e037d (read_key_sequence): Use ~CHAR_MODIFIER_MASK instead
of direct code 0x3ffff.
2002-08-20 08:20:31 +00:00
Kenichi Handa
e5112ecb72 (Fchar_equal): Fix for the unibyte case. 2002-08-20 07:56:43 +00:00
Kenichi Handa
6d2b9b27d8 (Fexpand_abbrev): Fix for the multibyte case. 2002-08-20 07:21:58 +00:00
Kenichi Handa
10be8e931b Remove duplicated case setting for Cyrillic and Greek letters. 2002-08-20 06:22:50 +00:00
Kenichi Handa
0396028c43 *** empty log message *** 2002-08-20 04:00:27 +00:00
Kenichi Handa
8973478b03 (_fetch_multibyte_char_len): This variable deleted. 2002-08-20 03:59:51 +00:00
Kenichi Handa
feb3066c15 (_fetch_multibyte_char_len): Extern deleted.
(FETCH_MULTIBYTE_CHAR): Don't use _fetch_multibyte_char_len.
(BUF_FETCH_MULTIBYTE_CHAR): Likewise.
(FETCH_CHAR_AS_MULTIBYTE): New macro.
2002-08-20 03:59:29 +00:00
Kenichi Handa
3e41107450 (MAKE_CHAR_UNIBYTE, MAKE_CHAR_MULTIBYTE): New macros. 2002-08-20 03:59:11 +00:00
Kenichi Handa
2422e50a51 (casify_object): Simplified. Handle the case that
the case conversion change the byte length.
(casify_region): Likewise
2002-08-20 03:58:53 +00:00
Kenichi Handa
064808ae24 (describe-buffer-case-table): Handle the case that KEY is a cons
within map-char-table.
2002-08-20 03:58:23 +00:00
Kenichi Handa
49aabfbde6 *** empty log message *** 2002-08-19 12:14:25 +00:00
Kenichi Handa
9ad4b4919b Fix categories ?A and ?C. 2002-08-19 12:13:45 +00:00
Kenichi Handa
4e47516e5b *** empty log message *** 2002-08-19 12:12:45 +00:00
Kenichi Handa
927f12daa2 (safe_to_load_p): Fix the logic. 2002-08-19 11:34:28 +00:00
Kenichi Handa
8cb8232a21 (scan_words): Don't treat characters belonging to
different scripts constituting a work.
2002-08-19 11:00:39 +00:00
Kenichi Handa
5a7128a6e8 (Fformat): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. 2002-08-19 10:59:04 +00:00
Kenichi Handa
b982c76070 (script-list): Treat ascii characters as `latin' script. 2002-08-19 10:58:11 +00:00
Kenichi Handa
862aa7f95b (Fset_fontset_font): Treate `ascii' as charset, not script. 2002-08-19 10:57:04 +00:00