1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 23:10:26 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
58226364be (set_frame_menubar): Fstore_match_data => Fset_match_data. 1998-03-14 08:23:56 +00:00
Richard M. Stallman
8f1ecd05a8 (exec_sentinel, read_process_output): Fstore_match_data => Fset_match_data.
(Fstart_process): Doc fix.
1998-03-14 08:23:21 +00:00
Richard M. Stallman
3f1c005b56 (Fset_match_data): Renamed from Fstore_match_data.
(syms_of_search): Corresponding change.
1998-03-14 04:57:20 +00:00
Richard M. Stallman
1bf95511a4 (internal_self_insert): Call Fforward_buffer to advance
over the replacement characters.
1998-03-13 21:22:05 +00:00
Richard M. Stallman
4bfba59e50 (struct Lisp_Buffer_Local_Value):
Field car renamed to realvalue.  New fields check_frame,
found_for_buffer, found_for_frame, buffer, frame.
1998-03-12 22:49:02 +00:00
Richard M. Stallman
8828ae9b5e (SETUP_SLAVE_PTY): New definition. 1998-03-12 06:59:25 +00:00
Richard M. Stallman
b0c2d1c671 (store_symval_forwarding, swap_in_symval_forwarding)
(set_internal, default_value, Fset_default, Fmake_local_variable)
(Fmake_variable_buffer_local, Fkill_local_variable):
Handle new data structure for struct Lisp_Buffer_Local_Value.
(Fmake_variable_frame_local): New function.
1998-03-12 05:50:33 +00:00
Richard M. Stallman
a9faeabee0 (gc_sweep, mark_object): Handle new data structure
for struct Lisp_Buffer_Local_Value.
1998-03-12 05:49:15 +00:00
Richard M. Stallman
0315377157 (print): Handle new data structure
for struct Lisp_Buffer_Local_Value.
1998-03-12 05:48:33 +00:00
Richard M. Stallman
3d871c85aa (init_buffer): Call Fset_buffer_multibyte for *scratch*.
(set_buffer_internal_1)
(swap_out_buffer_local_variables): Handle new data structure
for struct Lisp_Buffer_Local_Value.
1998-03-12 05:47:39 +00:00
Kenichi Handa
2b4f9037e3 (code_convert_region): Adjusted for the change of
adjust_after_replace.
1998-03-12 00:44:06 +00:00
Kenichi Handa
61415a2589 (adjust_before_replace): Call
adjust_overlays_for_delete.
(adjust_after_replace): Delete args COMBINED_BEFORE_BYTES and
COMBINED_AFTER_BYTES.  This makes the newly generated text
following GPT_ADDR a buffer contents.
1998-03-12 00:42:35 +00:00
Kenichi Handa
f8198e198d (Finsert_file_contents): Don't do position adjustments
and handling post-read-conversion here, they are done in
code_convert_region.  Even if a file is read by no-conversion,
call adjust_after_replace to adjust positions.
1998-03-12 00:38:28 +00:00
Richard M. Stallman
1f90a790f5 (combine_bytes): New function.
(insert_1_both, insert_from_string_1, insert_from_buffer_1):
Simplify greatly by using combine_bytes near the end
to handle all aspects of combining except for undo-recording.
This means most of the code deals with the text as if there were
no combining.
(replace_range): Likewise.  Also handle unibyte-multibyte conversion
as in insert_from_string_1.
(del_range_2): Handle combining of character before the deletion
with strays after the deletion.
(adjust_markers_for_delete): Delete debugging code for Z == Z_BYTE.
(adjust_markers_for_insert): Move Z == Z_BYTE debugging code
to before we relocate the marker.
1998-03-11 22:08:24 +00:00
Richard M. Stallman
ce97a2d7ed (adjust_markers_for_insert): Don't leave a marker within
the combined_after_bytes.  Use DEC than INC when leaving
a marker before the insertion.
(count_combining_before): Return number of bytes from start
of insertion that will combine.
(insert_1_both): Compensate for change in count_combining_before.
Delete intervals for the combined_after_bytes.
Compensate for that when updating other intervals.
(insert_from_buffer_1, replace_range): Likewise.
(adjust_after_replace): Likewise.
(insert_from_string_1): Likewise.  Also handle intervals
for inserting just part of string.
1998-03-11 00:47:48 +00:00
Richard M. Stallman
93b882e857 (insert_1_both, insert_from_string_1, insert_from_buffer_1):
Count all of combined_after_bytes, not just 1, when correcting
nchars, and in related places.
(adjust_after_replace, replace_range): Likewise.
1998-03-10 23:50:30 +00:00
Richard M. Stallman
7553d0e19c (code_convert_region): Fix previous change. Adjusted
for the change of adjust_after_replace (see insdel.c change above).
1998-03-10 21:14:08 +00:00
Richard M. Stallman
d96d677d0a (fontset_pattern_regexp): ==' was used instead of ='. 1998-03-10 00:29:10 +00:00
Richard M. Stallman
432f78d25b (adjust_markers_for_insert):
New args COMBINED_AFTER_BYTES, COMBINED_BEFORE_BYTES.  Calls changed.
(insert_1): Call insert_1_both.
(count_combining_before): New function.
(count_combining_after): New function.
(insert_1_both, insert_from_string_1): Handle bytes that combine
with chars adjacent to the inserted text.
(insert_from_buffer_1, replace_range): Likewise.
(adjust_after_replace): New args COMBINED_BEFORE_BYTES, COMBINED_AFTER_BYTES.
1998-03-09 23:22:44 +00:00
Richard M. Stallman
ab228c24d5 (simple_search): Don't count a character until it matches!
Call set_search_regs differently in a forward search.
(boyer_moore): Fix up the code that translates the pattern
and loops thru equivalent characters.
1998-03-09 00:25:30 +00:00
Richard M. Stallman
f844932305 (advance_to_char_boundary): Handle the case the code
0240..0377 is not a constituent of a multibyte sequence.
1998-03-06 21:57:04 +00:00
Richard M. Stallman
e54daa22b0 (Fmake_string): Handle the case INIT is a multibyte character correctly. 1998-03-06 21:50:44 +00:00
Richard M. Stallman
846f93fd7d (alloc.o): Depend on charset.h. 1998-03-06 21:49:18 +00:00
Kenichi Handa
7cf8c582dd (code_convert_region): Fix previous change. 1998-03-04 08:05:14 +00:00
Kenichi Handa
673c57d22a (Fset_buffer_multibyte): Fix arg for chars_in_text.
Be sure not to have a multibyte sequence striding over the GAP
1998-03-04 07:41:41 +00:00
Kenichi Handa
f49a2d7452 (Fformat): Format multibyte characters by "%c"
correctly.  Handle padding for multibyte characters correctly.
1998-03-04 07:41:41 +00:00
Kenichi Handa
e515b0a97e (strwidth): Make it work for invalid bytes sequence.
(Fstring_width): Give byte length of STR to strwidth.
1998-03-04 07:41:41 +00:00
Kenichi Handa
4b5ce59134 (code_convert_region): Handle the case that codes
0240..0377 are generated just after a multibyte character.
1998-03-04 07:41:41 +00:00
Richard M. Stallman
0d2c68154e (BASE_PURESIZE): Increased. 1998-03-03 22:29:16 +00:00
Kenichi Handa
f7111f902a (dired.o): Depend on charset.h and coding.h. 1998-03-03 07:18:46 +00:00
Kenichi Handa
5740418892 (insert_1_both): If enable-multibyte-characters is nil,
insert each byte as one character.
1998-03-03 07:18:46 +00:00
Kenichi Handa
8d0243456d (Vdefault_file_name_coding_system): Extern it.
(Fcall_process): Use ENCODE_FILE.
1998-03-03 07:18:46 +00:00
Kenichi Handa
a4e91443c2 (Fformat): Fix previous change. 1998-03-03 07:18:46 +00:00
Kenichi Handa
290591c8fb (ENCODE_FILE): Moved from fileio.c. Use
default-file-name-coding-system if file-name-coding-system is nil.
(DECODE_FILE): New macro.
1998-03-03 07:18:46 +00:00
Kenichi Handa
bd33479f0a Include charset.h and coding.h.
(ENCODE_FILE): This macro is moved to coding.h.
(Vdefault_file_name_coding_system): Extern it.
(Fdirectory_files): Use DECODE_FILE.
(file_name_completion): Likewise.
1998-03-03 07:18:46 +00:00
Kenichi Handa
14dc609387 (Vdefault_file_name_coding_system): Extern it.
(create_process): Use ENCODE_FILE.
1998-03-03 07:18:46 +00:00
Kenichi Handa
cd913586ad (ENCODE_FILE): This macro is moved to coding.h.
(Vdefault_file_name_coding_system): New variable.
(syms_of_fileio): Defsubr it.
(Ffile_symlink_p): Use DECODE_FILE.
(Ffile_name_directory): Use size_byte member of XSTRING (filename).
(Ffile_name_as_directory): Likewise.
(Fdirectory_file_name): Likewise.
(Fsubstitute_in_file_name): Likewise.
(expand_and_dir_to_file): Likewise.
(Fdo_auto_save): Likewise.
(Fread_file_name): Likewise.
1998-03-03 07:18:46 +00:00
Richard M. Stallman
b4e187e2ce (Vnonascii_translate_table, Qcharset): New variable decls.
(Fstring_make_multibyte, Fstring_make_unibyte): New function decl.
(Fstring_as_multibyte, Fstring_as_unibyte): New function decl.
(list2, list3, list4, list5): New function decl.
(Fwrite_region): Add an argument.
(compare_window_configurations): New function decl.
1998-03-03 01:31:11 +00:00
Kenichi Handa
59a52d5000 (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(copy_text): Don't convert codes in the range 0200..0237 to
multibyte characters.  For codes in the range 0240..0377, use
unibyte_char_to_multibyte.
(count_size_as_multibyte): Likewise.
(adjust_before_replace): Comment fixed.
1998-03-03 01:29:16 +00:00
Kenichi Handa
11218c687b (Fcall_process): Calculate CARRYOVER correctly. 1998-03-03 01:29:16 +00:00
Kenichi Handa
e3670faac7 (general_insert_function): Use
unibyte_char_to_multibyte if an argument is character code.
(Finsert_char): Use unibyte_char_to_multibyte.
(string1): Cast ARGS to `char **' to avoid compiler warning.
1998-03-03 01:29:16 +00:00
Kenichi Handa
d26650180f (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(unibyte_char_to_multibyte): Always return a valid character.
(Funibyte_char_to_multibyte): New function.
(syms_of_charset): Defsubr it.  Doc-string of
nonascii-insert-offset is modified.
1998-03-03 01:29:16 +00:00
Kenichi Handa
54e15bb98c (NONASCII_INSERT_OFFSET): New macro.
(VALID_MULTIBYTE_CHAR_P): New macro.
1998-03-03 01:29:16 +00:00
Kenichi Handa
b98590074d (internal_self_insert): Avoid checking enable-multibyte-characters
twice.
1998-03-03 01:29:16 +00:00
Kenichi Handa
3b2d77fe29 Typo in comment fixed. 1998-03-03 01:29:16 +00:00
Kenichi Handa
8fc91a858f (Ffile_name_nondirectory): Use size_byte member of
XSTRING (filename).
1998-03-03 01:29:16 +00:00
Kenichi Handa
2cef5737de (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(concat): Use unibyte_char_to_multibyte.
1998-03-03 01:29:16 +00:00
Kenichi Handa
93fdf93bc1 (try_window_id): Use DEC_BOTH unconditionally.
(display_text_line): Likewise.
1998-03-03 01:29:16 +00:00
Richard M. Stallman
96f6280939 (keyboard.o): Depend on syntax.h. 1998-03-02 20:03:55 +00:00
Richard M. Stallman
e39da3d777 Include syntax.h.
(interrupt_signal): Save and restore gl_state
around an immediate quit, in case debugger returns.
1998-03-02 20:02:33 +00:00