summaryrefslogtreecommitdiff
path: root/src/buffer.c
AgeCommit message (Collapse)Author
1995-08-05(Qbefore_change_functions, Qafter_change_functions): New variables.Richard M. Stallman
(syms_of_buffer): Initialize them.
1995-07-27(record_overlay_string, overlay_strings): Handle zero-sized overlays better.Karl Heuer
1995-07-27(struct sortstrlist): New type.Karl Heuer
(overlay_heads, overlay_tails): Change to struct sortstrlist. (overlay_heads_len, overlay_tails_len): Deleted; now part of struct. (record_overlay_string): New function. (overlay_strings): Simplify. Use record_overlay_string. Check for window match in overlays_after loop, not just in overlays_before.
1995-07-17(last_overlay_modification_hooks): New variable.Karl Heuer
(last_overlay_modification_hooks_used): Likewise. (syms_of_buffer): Init last_overlay_modification_hooks. (add_overlay_mod_hooklist): New function. (call_overlay_mod_hooks): Call add_overlay_mod_hooklist. (report_overlay_modification): When AFTER is non-nil, call the functions recorded in last_overlay_modification_hooks.
1995-07-07(overlays_in): Don't count empty overlays at END.Richard M. Stallman
(Foverlays_in): Likewise.
1995-06-26(overlays_in): New function.Richard M. Stallman
(Foverlays_in): New function. (syms_of_buffer): defsubr it.
1995-06-21(syms_of_buffer): Doc fix.Richard M. Stallman
1995-06-14(Fprevious_overlay_change): Check for overlays that end at POS.Richard M. Stallman
1995-06-07(Fbuffer_disable_undo): Make this function interactive.Karl Heuer
1995-06-07Doc fix.Karl Heuer
1995-06-05(Fkill_buffer): When killing indirect buffer,Karl Heuer
unchain that buffer's markers (only) from the common chain. Don't rekill this buffer's indirect buffers that are dead. Do nothing if this buffer is already dead.
1995-05-24(set_buffer_internal_1): New subroutine.Karl Heuer
(Fmove_overlay): Don't set windows_or_buffers_changed.
1995-05-17(Fmake_indirect_buffer): Fix interactive spec.Karl Heuer
1995-05-15(syms_of_buffer): Doc fix.Richard M. Stallman
1995-05-05(Qbefore_string, Qafter_string): New vars.Karl Heuer
(syms_of_buffer): Initialize and staticpro them. (cmp_for_strings, overlay_strings): New functions.
1995-05-02(Fset_buffer_modified_p): Use the truename for locking.Richard M. Stallman
1995-04-17(adjust_overlays_for_insert): New function.Karl Heuer
(adjust_overlays_for_delete): New function.
1995-04-13(Foverlays_at, Fnext_overlay_change): Don't use NULL.Richard M. Stallman
(Fprevious_overlay_change): Don't use NULL.
1995-04-13(evaporate_overlays): Fix type error.Richard M. Stallman
1995-04-07(Fmake_overlay): Use XMISCTYPE.Richard M. Stallman
1995-04-06(Fkill_buffer): Call reset_buffer_local_variablesRichard M. Stallman
and swap_out_buffer_local_variables. (swap_out_buffer_local_variables): New subroutine. (Fkill_all_local_variables): Use that subroutine.
1995-03-24(syms_of_buffer): Doc fix.Karl Heuer
1995-03-22(overlay_touches_p): New function.Karl Heuer
1995-03-17(reset_buffer): Reset file_format element too.(init_buffer_once): Define ↵Boris Goldowsky
file_format flag; reset file_format. (syms_of_buffer): New vbl buffer-file-format.
1995-03-14(Fmake_indirect_buffer): Invert the arguments.Richard M. Stallman
1995-03-11(reset_buffer_local_variables): Init invisibility.Richard M. Stallman
(init_buffer_once): Set up buffer_local_flags for it. (syms_of_buffer): New variable `buffer-invisibility-spec'.
1995-03-06(Fpop_to_buffer): Call Fset_buffer_major_mode if we create a buffer.Richard M. Stallman
1995-02-14(syms_of_buffer): Set up Lisp var buffer-file-truename.Richard M. Stallman
(init_buffer_once): Set up flag and default value for file_truename. (reset_buffer): Init file_truename slot.
1995-02-05(Fget_buffer_create): Call buffer_memory_full.Richard M. Stallman
1995-01-31(syms_of_buffer): overwrite-mode doc fix.Richard M. Stallman
1995-01-27(init_buffer_once, syms_of_buffer):Richard M. Stallman
Set up buffer-local var point_before_scroll. (reset_buffer): Init point_before_scroll.
1995-01-20(syms_of_buffer) [DOS_NT]: Add missing ';'.Richard M. Stallman
1995-01-17(list_buffers_1, Flist_buffers): Functions deleted.Richard M. Stallman
1995-01-08(syms_of_buffer): Doc fix.Richard M. Stallman
1995-01-02(Fmake_indirect_buffer): New function.Richard M. Stallman
(Fbuffer_base_buffer): New function. (syms_of_buffer): defsubr them. (reset_buffer): Don't alter intervals here. (Fget_buffer_create): Use BUF_MARKERS. Init BUF_INTERVALS here. (Fkill_buffer): Use BUF_MARKERS; but don't touch it in indir buf. Likewise BUF_INTERVALS. (init_buffer_once): Set up .text and BUF_INTERVALS in buffer_local_symbols and buffer_defaults. (Fkill_buffer): Don't free the text in indirect buffer. When killing a base buffer, kill its indirect buffers first. (set_buffer_temp): New function. (reset_buffer_local_variables): Initialize buffer_file_type field. (Fget_buffer_create): Initialize pt_marker, begv/zv_marker. (set_buffer_internal): Use and update these markers. Copy undo_list in and out of the base buffer. (Fget_buffer_create): Init save_modiff field here. (reset_buffer): Not here. (Fbuffer_modified_p): Use BUF_SAVE_MODIFF. (Fset_buffer_modified_p): Use SAVE_MODIFF. (Fkill_buffer, list_buffers_1): Use BUF_SAVE_MODIFF. (Fget_buffer_create): Initialize the size and text fields.
1994-12-25(syms_of_buffer): Doc fix for buffer-file-type.Richard M. Stallman
1994-12-21(Fget_buffer_create): Copy the name, and clear text props.Richard M. Stallman
(assoc_ignore_text_properties): New function. (Fget_buffer): Use assoc_ignore_text_properties. (Fother_buffer): Take account of frame's buffer predicate.
1994-12-11(report_overlay_modification): Renamed from verify_overlay_modification.Richard M. Stallman
(call_overlay_mod_hooks): New args AFTER, ARG1, ARG2, ARG3. Args START, END deleted. Pass each function AFTER, ARG1 and ARG2, and ARG3 if ARG3 is not nil. (verify_overlay_modification): New args AFTER, ARG1, ARG2, ARG3. Pass them to call_overlay_mod_hooks.
1994-12-11(list_buffers_1): Right-align the size values.Richard M. Stallman
1994-11-28(Fkill_buffer): Use internal_delete_file.Richard M. Stallman
1994-11-15(overlays_at): Use the new type-test macros.Karl Heuer
1994-11-15(Frename_buffer): Rename arg NAME to NEWNAME.Richard M. Stallman
1994-11-15(Frename_buffer): Rename arg NAME to NEWNAME.Richard M. Stallman
1994-11-15(Fmake_overlay, Foverlay_properties, Foverlay_get, Foverlay_put): Use newKarl Heuer
overlay substructure. (list_buffers_1): Use PT, not point.
1994-11-15(Fkill_all_local_variables): Use XBUFFER_LOCAL_VALUE, not XCONS.Karl Heuer
1994-11-11(set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS.Karl Heuer
1994-11-02(init_buffer): Fix error message syntax.Richard M. Stallman
1994-11-01(init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros,Richard M. Stallman
not character constants. (init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.
1994-10-27(Fset_buffer_major_mode): New function. Set the default major mode here.Karl Heuer
(Fget_buffer_create): Not here. (Fswitch_to_buffer): Call Fset_buffer_major_mode. (syms_of_buffer): defsubr the new function.
1994-10-20(list_buffers_1): Always mark current_buffer read-only.Richard M. Stallman