summaryrefslogtreecommitdiff
path: root/src/insdel.c
Commit message (Collapse)AuthorAgeFilesLines
* (adjust_markers): Don't be confused by the gapRichard M. Stallman1997-04-141-2/+18
| | | | when computing the arg to record_marker_adjustment.
* (Fcombine_after_change_execute): Fix Lisp_Object/integer confusion.Karl Heuer1997-04-101-1/+2
|
* Include charset.h.Karl Heuer1997-02-201-4/+26
| | | | | | | | | (gap_left, gap_right): Put an anchor `\0' at the end of GAP. (adjust_markers_for_insert): If any markers are adjusted, check and fix the order of overlays in overlays_before. (make_gap): Allocate an extra byte and set to `\0' for anchoring. (insert1, insert_from_buffer_1): Put an anchor `\0' at the head of GAP.
* (signal_after_change): If Vcombine_after_change_calls,Richard M. Stallman1996-11-091-0/+138
| | | | | | | save up changes in combine_after_change_list. (Fcombine_after_change_execute) (Fcombine_after_change_execute_1): New subroutines. (syms_of_insdel): New function.
* (gap_left, gap_right, modify_region):Richard M. Stallman1996-09-151-4/+10
| | | | Compare overlay_unchanged_modified with OVERLAY_MODIFF.
* (signal_before_change): Fix previous change.Richard M. Stallman1996-09-101-2/+2
|
* (prepare_to_modify_buffer): Take integer arguments.Richard M. Stallman1996-09-041-4/+8
| | | | (signal_before_change): Take integer arguments.
* (signal_after_change): Correct the arg to report_overlay_modification.Richard M. Stallman1996-05-011-4/+3
|
* (adjust_markers): When a marker is inside textRichard M. Stallman1996-02-031-8/+21
| | | | | being deleted, call record_marker_adjustment for it. (del_range_1): Call adjust_markers before record_delete.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* (BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):Karl Heuer1995-10-311-1/+1
| | | | Rename from SHORTBITS, INTBITS, LONGBITS.
* (signal_after_change): Call report_interval_modification.Richard M. Stallman1995-09-121-0/+5
|
* (adjust_markers_for_insert): New function.Richard M. Stallman1995-09-031-0/+23
| | | | (insert_from_buffer_1, insert_from_string_1, insert_1): Call it.
* (signal_before_change, signal_after_change): FixKarl Heuer1995-08-071-4/+4
| | | | spelling of Vbefore_change_functions and Vafter_change_functions.
* (signal_before_change, signal_after_change): Major rewrite.Richard M. Stallman1995-08-051-119/+59
| | | | | | (before_change_function_restore, after_change_function_restore) (before_change_functions_restore, after_change_functions_restore): Functions deleted.
* (signal_before_change): Use Frun_hook_with_args.Karl Heuer1995-07-251-12/+11
| | | | (signal_after_change): Likewise.
* (prepare_to_modify_buffer): Don't lock the fileRichard M. Stallman1995-07-201-0/+2
| | | | if current_buffer->filename is nil.
* Comment change.Karl Heuer1995-07-201-1/+1
|
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* (adjust_point): Declare arg AMOUNT.Karl Heuer1995-05-251-0/+1
|
* (make_gap): Make this new error check also check exceeding VALBITS.Richard M. Stallman1995-05-051-8/+5
| | | | | (insert_1): Delete old error test. (min): New macro.
* (make_gap): Don't allow buffer size that won't fit in int.Richard M. Stallman1995-05-041-0/+8
|
* (prepare_to_modify_buffer): Use file_truename for locking.Richard M. Stallman1995-05-021-2/+2
|
* (insert_1): Adjust overlay center after inserting.Karl Heuer1995-04-171-0/+7
| | | | | (insert_from_string_1, insert_from_buffer_1): Likewise. (del_range_1): Adjust overlay center after deleting.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (modify_region): Clear point_before_scroll field.Richard M. Stallman1995-01-271-0/+2
|
* Declare all non-returning functions `void'.Karl Heuer1995-01-111-11/+25
| | | | (insert_1): Make non-static. New arg PREPARE. All callers changed.
* Use SAVE_MODIFF and BUF_SAVE_MODIFFRichard M. Stallman1995-01-021-11/+12
| | | | | | | | | instead of direct access to the save_modiff field. (insert_1, prepare_to_modify_buffer, insert_from_buffer_1): Use BUF_INTERVALS. (adjust_markers): Use BUF_MARKERS. (adjust_point): Use BUF_PT.
* * buffer.c (report_overlay_modification): Renamed fromRichard M. Stallman1994-12-111-2/+2
| | | | | verify_overlay_modification. * insdel.c: Calls changed.
* (signal_before_change, signal_after_change):Richard M. Stallman1994-12-111-5/+15
| | | | | Call verify_overlay_modification here. (prepare_to_modify_buffer): Don't call it here.
* (insert_from_buffer_1): Don't use min.Richard M. Stallman1994-10-251-1/+3
|
* (insert_from_buffer, insert_from_buffer_1): New functions.Karl Heuer1994-10-221-2/+74
|
* (insert_before_markers): Don't inherit; insert_before_markers_and_inherit doesKarl Heuer1994-10-221-1/+1
| | | | that.
* * insdel.c (prepare_to_modify_buffer): Invalidate width run andJim Blandy1994-10-081-0/+9
| | | | newline caches, if they exist.
* (make_gap): Keep input blocked till after we set BEG_ADDR.Richard M. Stallman1994-10-071-2/+7
|
* (insert_1, insert_from_string_1): Use new accessor macros instead of callingKarl Heuer1994-10-041-2/+2
| | | | XSET directly.
* (del_range_1): Call evaporate_overlays after deleting text.Karl Heuer1994-09-171-0/+1
|
* (prepare_to_modify_buffer): Don't call verify_overlay_modification ifRichard M. Stallman1994-09-021-5/+13
| | | | | | no overlays, or verify_interval_modification no intervals. (insert_1): Don't call interval fns if buffer has none.
* (insert_before_markers_and_inherit): New function.Richard M. Stallman1994-08-301-0/+13
|
* (insert_1): New arg INHERIT.Richard M. Stallman1994-08-281-3/+19
| | | | (insert_and_inherit): New function.
* (adjust_point): New function.Karl Heuer1994-04-261-8/+17
| | | | (insert_1, insert_from_string_1, del_range_1): Use it.
* Use PT, not point.Karl Heuer1994-04-261-22/+28
| | | | (gap_left, gap_right, adjust_markers): Make these functions static.
* (before_change_functions_restore):Richard M. Stallman1994-04-101-1/+85
| | | | | | (after_change_functions_restore): New functions. (signal_before_change): Handle Vbefore_change_functions. (signal_after_change): Handle Vafter_change_functions.
* (insert_1): New function, extracted from insert.Karl Heuer1994-04-081-16/+42
| | | | | | | (insert_from_string_1): Likewise, taken from insert_from_string. (insert, insert_from_string): Call the new functions. (insert_before_markers, insert_from_string_before_markers): Adjust the markers before calling the after-change function.
* (del_range_1): New function.Richard M. Stallman1994-03-021-1/+10
| | | | (del_range): Use it.
* (del_range): Second argument in call toRichard M. Stallman1993-12-231-1/+4
| | | | | | | | offset_intervals is 'from', not 'point'. (modify_region): Call record_first_change if necessary. (insert_from_string): Pass LENGTH arg to graft_intervals_into_buffer.
* (insert_from_string): Pass new arg to graft_intervals_into_buffer.Richard M. Stallman1993-11-251-1/+1
|
* (insert_from_string): Pass extra arg to graft_intervals_into_buffer.Richard M. Stallman1993-09-141-4/+6
| | | | | New arg INHERIT. (insert_from_string_before_markers): New arg INHERIT.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|