Kenichi Handa
b0e3cf2b56
(min_composite_char): New variable.
...
(Vcharacter_unification_table_vector): New variable.
(syms_of_charset): Declare it as a Lisp symbol. Declare a Lisp
variable min-composite-char.
(unify_char): Delete unnecessary codes.
1998-01-22 01:26:45 +00:00
Richard M. Stallman
35e623fb89
(nonascii_insert_offset): Variable moved from cmds.c.
...
(syms_of_charset): Initialize variable.
(unibyte_char_to_multibyte): New function.
(DEFAULT_NONASCII_INSERT_OFFSET): New macro definition.
1998-01-21 22:06:06 +00:00
Dave Love
a9d02884b4
(Fchar_valid_p): Fix bare newlines in doc string.
1998-01-11 12:26:21 +00:00
Richard M. Stallman
87b089add4
(multibyte_chars_in_text): New function.
...
(Fstring): Use make_multibyte_string.
(Fcompose_string): Likewise.
(Ffind_charset_string): Handle bytes vs chars in string.
Special case for single-byte strings.
(Fchars_in_string): Function deleted.
(Fstring): Renamed from Fconcat_chars.
Handle bytes vs chars in string.
(syms_of_charset): Corresponding changes.
1998-01-09 23:03:25 +00:00
Richard M. Stallman
f171f7c363
(Fchar_boundary_p): Function deleted.
...
(syms_of_charset): defsubr deleted.
1998-01-02 23:23:21 +00:00
Richard M. Stallman
6ae1f27ebf
(Fchars_in_string): Update call to CHAR_HEAD_P.
...
(chars_in_text, str_cmpchar_id, Fcompose_string): Likewise.
(Fchar_boundary_p): Always return 0.
(Fchars_in_region): Just subtract the arguments.
(chars_in_text): New function.
(Ffind_charset_region): Scan in bytepos as well as charpos.
1997-12-31 22:18:06 +00:00
Kenichi Handa
3fac5a51f7
(Fget_unused_iso_final_char): New function.
...
(syms_of_charset): Declare it as a Lisp function.
1997-12-09 04:12:03 +00:00
Kenichi Handa
c4a4e28fbd
(strwidth): Remove extra argument to buffer_display_table.
1997-11-27 08:14:56 +00:00
Kenichi Handa
733eafd8ed
(find_charset_in_str): Handle the case that STR
...
contains invalid multibyte-form.
1997-11-08 03:05:44 +00:00
Kenichi Handa
9036eb4502
(Fchars_in_string): Pay attention to
...
enable-multibyte-characters.
(Fchars_in_region): Likewise. Avoid error when the region ends in
the middle of a multibyte character.
1997-10-27 04:34:26 +00:00
Kenichi Handa
9d3d8cba5a
(char_valid_p): New function
...
(Fchar_valid_p): New function.
(syms_of_charset): Declare it as a Lisp function.
1997-10-23 12:01:50 +00:00
Kenichi Handa
05505664cf
(find_charset_in_str): Return also charsets in
...
composite characters.
1997-09-25 12:25:01 +00:00
Richard M. Stallman
a8a35e617a
(Fchars_in_region): Fix gap handling.
1997-08-20 22:28:40 +00:00
Kenichi Handa
af4fecb408
(Fchars_in_region): Renamed form Fcount_chars_region.
...
(syms_of_charset): Define Schars_in_region as a Lisp subroutine
instead of Scount_chars_region.
1997-08-18 11:19:17 +00:00
Richard M. Stallman
046b1f0395
Many doc fixes.
...
(Fcount_chars_region): New function.
(min, max): New macros.
1997-08-16 16:24:14 +00:00
Richard M. Stallman
d16a4fc65b
(non_ascii_char_to_string): Fix typos.
1997-07-28 18:20:01 +00:00
Kenichi Handa
51c4025fa5
(Fchar_width): Check if the current buffer has display
...
table.
1997-07-02 12:53:57 +00:00
Richard M. Stallman
75c8c59233
Change copyright notices.
1997-06-20 06:30:29 +00:00
Kenichi Handa
a29e3b1b27
(Ffind_charset_string): The variable CHARSETS is
...
changed to (int *).
1997-05-28 04:36:32 +00:00
Kenichi Handa
028d516b9c
(Ffind_charset_region): Change the declaration of
...
charsets from `char' to `int.
(find_charset_in_str): Likewize.
1997-05-19 03:33:50 +00:00
Richard M. Stallman
acc35c361f
(strwidth): Fix previous change.
1997-05-18 20:18:16 +00:00
Kenichi Handa
fc6b09bfb5
Include disptab.h.
1997-05-16 02:22:39 +00:00
Kenichi Handa
bd4c6dd02f
(non_ascii_char_to_string): Signal error if the
...
argument C is an invalid character code.
(Fconcat_chars): Use alloca instead of malloc.
1997-05-16 00:43:27 +00:00
Richard M. Stallman
859f2b3c02
(strwidth, Fchar_width): Handle display table.
1997-05-15 18:26:28 +00:00
Kenichi Handa
23d2a7f194
(unify_char): New function.
...
(Fdefine_charset): Doc-string modified.
(find_charset_in_str): Add 4th arg TABLE which is a character
unification table.
(Ffind_charset_region): Add optional arg TABLE which is a
character unification table.
(Ffind_charset_string): Likewise.
1997-05-10 03:37:01 +00:00
Karl Heuer
53316e5587
(ONE_BYTE_CHAR_WIDTH, Fconcat_chars): Don't use Lisp_Object as integer.
1997-04-10 21:35:28 +00:00
Kenichi Handa
6dc0722daf
(non_ascii_char_to_string, update_charset_table,
...
Fsplit_char): Adjusted for the above change.
1997-04-07 07:12:13 +00:00
Kenichi Handa
513ee44261
Adjusted for the change of MAX_CHARSET.
...
(str_cmpchar_id): Return -1 if we have no more room
for a new composite character.
(Fmake_char_internal): Docstring is moved to lisp/mule.el.
1997-03-18 23:31:34 +00:00
Kenichi Handa
550017463d
(Fcmpchar_cmp_rule): Escape newlines in docstring.
1997-02-27 11:12:11 +00:00
Karl Heuer
369314dc63
Fix FSF address in comment.
1997-02-23 09:20:52 +00:00
Karl Heuer
4ed4686978
Initial revision
1997-02-20 07:02:49 +00:00