Ulrich Drepper
067cc4dc80
automatically generated from GPLed version
1998-02-16 02:42:49 +00:00
Richard M. Stallman
aff2ce94e2
(simple_search): Call set_search_regs.
...
(boyer_moore): New arg CHARSET_BASE says which chars
to use the translate tables for.
(search_buffer): Properly test which chars participate in translation.
(TRANSLATE): New arg OUT. Handle non-integer in TRT.
All calls changed.
1998-02-14 08:43:17 +00:00
Richard M. Stallman
62f555a5af
(Fread_file_name): Alter the history
...
to contain just the actual file name, and not any
other preinserted text that is not really used.
1998-02-14 08:41:32 +00:00
Richard M. Stallman
9ce37c9d19
(display_text_line): Use INC_BOTH for unibyte buffers too.
1998-02-14 07:27:58 +00:00
Richard M. Stallman
4e38953cd1
(Fsubst_char_in_region): Don't increment pos twice.
1998-02-14 07:27:29 +00:00
Richard M. Stallman
4cf9710d50
(Vnonascii_translate_table): New variable.
...
(unibyte_char_to_multibyte): Use Vnonascii_translate_table.
(syms_of_charset): Defvar it.
1998-02-12 05:20:33 +00:00
Richard M. Stallman
2c3af3383d
(copy_text, count_size_as_multibyte): Use Vnonascii_translate_table.
1998-02-12 05:19:41 +00:00
Richard M. Stallman
1134b8547c
(printchar): When outputting to echo area,
...
update message_enable_multibyte, and convert previous text
from unibyte to multibyte if necessary.
1998-02-12 05:18:59 +00:00
Richard M. Stallman
e4b6f8e3fd
(describe_map_tree): Add the maps we have already
...
handled into SUB_SHADOWS.
1998-02-11 01:51:36 +00:00
Kenichi Handa
eaf17c6b64
(Fstring_bytes): Declare arg STRING as Lisp_Object.
1998-02-10 04:08:26 +00:00
Kenichi Handa
bca7646d48
(concat): Use Vnonascii_translate_table.
1998-02-10 04:05:47 +00:00
Kenichi Handa
80e01f8d51
(Fposition_bytes): Declare arg POSITION as Lips_Object.
1998-02-10 03:59:06 +00:00
Kenichi Handa
fa8a5a154c
(Fposition_bytes): Allow marker as arg POSITION. Use
...
XINT for type consistency.
1998-02-10 03:55:04 +00:00
Andreas Schwab
529724fec7
(compute_motion): If right margin is reached and we are
...
truncating don't clobber PREV_HPOS if we are already past TO.
1998-02-09 11:16:35 +00:00
Richard M. Stallman
3135e9fd79
(search_command): Fix call to search_buffer.
1998-02-09 00:21:15 +00:00
Richard M. Stallman
6e57421bcf
(byte_char_debug_check): New function.
...
(CONSIDER, both definitions): Call it.
(buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise.
(byte_debug_flag): New variable.
(syms_of_marker): Set up Lisp variable.
1998-02-08 22:40:44 +00:00
Richard M. Stallman
11257d6126
(RE_TRANSLATE_TYPE): Define as Lisp_Object.
...
(RE_TRANSLATE): Use Faref to examine translate table.
1998-02-08 21:35:54 +00:00
Richard M. Stallman
3e9377127b
(Fdirectory_files): Call compile_pattern the new way.
1998-02-08 21:35:14 +00:00
Richard M. Stallman
facdc75048
(boyer_moore, simple_search): New subroutines.
...
(search_buffer): For non-regexp, use one of those subroutines.
Args TRT and INVERSE_TRT are now Lisp_Object. Callers changed.
(compile_pattern_1): Arg TRANSLATE is now Lisp_Object. Calls changed.
(compile_pattern): Arg TRANSLATE is now Lisp_Object. Calls changed.
1998-02-08 21:33:56 +00:00
Richard M. Stallman
b05525fa0d
(advance_to_char_boundary): New function.
...
(Fset_buffer_multibyte): Advance all byte-positions to char boundaries.
Clear undo list.
1998-02-08 21:10:31 +00:00
Richard M. Stallman
53f7608124
(Fdisplay_buffer): New arg FRAME.
...
(temp_output_buffer_show): Pass new arg to Fdisplay_buffer.
(Fother_window_for_scrolling): Likewise.
1998-02-08 21:08:38 +00:00
Richard M. Stallman
b9a865859a
(read_minibuf): If input is empty, return empty string.
...
(Fread_string): Return DEFAULT_VALUE here, if input is empty.
(Fcompleting_read): Likewise.
1998-02-08 21:04:19 +00:00
Richard M. Stallman
026f59ce86
(Fstring_bytes): New function.
...
(syms_of_fns): defsubr it.
1998-02-08 20:58:53 +00:00
Richard M. Stallman
2190a05e34
(print): Declare local variable C as `int' instead of
...
`unsigned char' to handle multibyte character code.
1998-02-08 08:27:19 +00:00
Richard M. Stallman
7df74da602
(Fformat): Handle a symbol of which name contains
...
multibyte characters correctly.
1998-02-08 08:26:52 +00:00
Kenichi Handa
c257933282
Change argument number of Fdisplay_buffer to 3.
1998-02-06 13:45:24 +00:00
Richard M. Stallman
b7482a5261
(GENERIC_FONT_PTR): Commented-out definition deleted.
1998-02-06 08:46:39 +00:00
Richard M. Stallman
6b17d7568d
(Fpop_to_buffer): Pass new arg to Fdisplay_buffer.
1998-02-06 06:17:17 +00:00
Richard M. Stallman
6cec169a54
(Fdescribe_bindings_internal):
...
Renamed from Fdescribe_bindings. New arg NOMENU.
(syms_of_keymap): Corresponding changes.
(describe_buffer_bindings): Get NOMENU out of the arg list.
Pass it along to describe_map_tree.
Improve text of `alternate_heading'.
1998-02-05 03:31:41 +00:00
Richard M. Stallman
c0f51373af
(list2, list3, list4, list5): New functions.
1998-02-05 03:28:36 +00:00
Kenichi Handa
cb97b980dd
(copy_text): When copying from multibyte to unibyte, do
...
not alter ASCII characters.
1998-02-04 11:23:28 +00:00
Kenichi Handa
84246b955e
(Fsubst_char_in_region): Handle character-base
...
position and byte-base position correctly.
(Fstring_to_char): Give byte size to STRING_CHAR.
1998-02-04 11:23:28 +00:00
Kenichi Handa
2b71bb78b8
(Fiso_charset): Doc-string modified.
1998-02-04 11:23:28 +00:00
Richard M. Stallman
ab5c3f933d
(Faref, Faset): Allow indexing a char-table
...
directly by numbers up to CHAR_TABLE_ORDINARY_SLOTS.
1998-02-03 06:22:02 +00:00
Richard M. Stallman
e781c49e61
(Fformat): If MULTIBYTE is changed to 1
...
after we start computing TOTAL, jump back to `retry' (a new label).
1998-02-03 06:19:34 +00:00
Richard M. Stallman
ea4943bfd6
(Fmodify_category_entry): Doc fix.
...
(Fdescribe_categories): Renamed from Fdescribe_category.
(syms_of_category): Corresponding changes.
(Fcategory_set_mnemonics): Doc fix.
(Fchar_category_set): Doc fix.
(Fmake_category_set): Doc fix.
1998-02-03 06:17:15 +00:00
Richard M. Stallman
9f43ad8568
(search_buffer): New args pos_byte and lim_byte.
...
(search_command): Pass new args.
1998-02-03 06:15:42 +00:00
Richard M. Stallman
50fe359bd1
(Fcall_process): Allow creating a new buffer for the output.
1998-02-03 06:14:39 +00:00
Richard M. Stallman
7f45de2dfc
(float_to_string): Handle infinities and NaN specially.
1998-02-02 01:09:35 +00:00
Richard M. Stallman
eb659c4114
(read1): Handle infinities, NaN and -0.0 specially.
...
(isfloat_string): Accept e+INF and e+NAN as exponents.
1998-02-02 01:08:52 +00:00
Richard M. Stallman
6a7df83b34
(concat): Handle bool-vectors correctly.
1998-02-02 01:06:29 +00:00
Richard M. Stallman
6d4752042a
(concat): If making a string, a nonempty bool-vector is error.
...
(string_make_multibyte): In all-ASCII case, return orig STRING.
(Fstring_as_unibyte): New function.
(Fstring_as_multibyte): New function.
(syms_of_fns): defsubr them.
1998-02-02 01:03:10 +00:00
Kenichi Handa
8d6179dc27
(CONVERTED_BYTE_SIZE): Fix the logic.
...
(Fformat): Update the variable MULTIBYTE according to the result
of Fprin1_to_string. Free BUF after making Lisp string from it.
1998-01-30 11:05:41 +00:00
Kenichi Handa
4031e2bf0a
(ENCODE_ISO_CHARACTER): Pay attention to
...
CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS.
(code_convert_region1): New function.
(Fdecode_coding_region): Call code_convert_region1.
(Fencode_coding_region): Likewise.
(code_convert_string1): New function.
(Fdecode_coding_string): Call code_convert_string1.
(Fencode_coding_string): Likewise.
/
1998-01-30 11:05:41 +00:00
Kenichi Handa
2d0aa229c2
(Fsubstitute_command_keys): Declare length_byte out of
...
internal block.
1998-01-30 11:05:41 +00:00
Kenichi Handa
8cbbac75ae
(DECODE_SJIS_BIG5_CHARACTER): Don't have to increase
...
coding->produced_char here.
(code_convert_region): Initialize LEN_BYTE correctly.
1998-01-28 12:37:25 +00:00
Kenichi Handa
0f56470d73
(syms_of_data): Register multibyte-string-p as a Lisp
...
function.
1998-01-28 12:37:25 +00:00
Kenichi Handa
4996330bfb
(fast_string_match): Give re_search byte size of
...
STRING.
(trivial_regexp_p): Initialize LEN to byte size of REGEXP.
(search_buffer): Give re_search_2 STARTPOS, RANGE and STOP by
counting them by bytes.
1998-01-28 12:37:25 +00:00
Richard M. Stallman
8aa3a244a3
(file_name_as_directory): For an empty name, return "/".
1998-01-27 20:07:30 +00:00
Richard M. Stallman
a2286b5c11
(Fcall_process): Test only args past args[4] for multibyteness.
1998-01-27 20:06:51 +00:00