aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (reset_buffer_local_variables): CallRichard M. Stallman1995-10-221-0/+8
| | | | Fset_standard_case_table if std case table seems to have been changed.
* (reset_buffer): Initialize extra1, extra2 and extra3 slots.Richard M. Stallman1995-10-211-0/+3
|
* (reset_buffer): Initialize redisplay_end_trigger slot.Richard M. Stallman1995-10-211-1/+12
| | | | | | (init_buffer_once): Mark redisplay_end_trigger always local. Also fix previous change. (syms_of_buffer): Set up Lisp var buffer-redisplay-end-trigger.
* (reset_buffer_local_variables): Init case_table slots the new way.Richard M. Stallman1995-10-191-3/+3
|
* (Fkill_buffer): Don't kill auto save file if not recent.Richard M. Stallman1995-10-111-1/+2
|
* (buffer-display-table): Document new implementation.Erik Naggum1995-10-091-10/+11
|
* (init_buffer_once): Make file_format always local, not just local when set.Richard M. Stallman1995-10-081-1/+1
|
* (Fmake_indirect_buffer): Was taking marker positionsRichard M. Stallman1995-10-041-3/+7
| | | | from current buffer, which is irrelevant.
* (Fmake_overlay): Set end-marker's insertion_type to 1.Richard M. Stallman1995-10-031-0/+2
|
* (Fmake_indirect_buffer): Set the insertion_type of the zv_marker markers to 1.Richard M. Stallman1995-09-031-0/+2
|
* (get_truename_buffer): New function.Richard M. Stallman1995-08-091-0/+18
|
* (Qbefore_change_functions, Qafter_change_functions): New variables.Richard M. Stallman1995-08-051-8/+14
| | | | (syms_of_buffer): Initialize them.
* (record_overlay_string, overlay_strings): Handle zero-sized overlays better.Karl Heuer1995-07-271-17/+37
|
* (struct sortstrlist): New type.Karl Heuer1995-07-271-148/+86
| | | | | | | | | (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.
* (last_overlay_modification_hooks): New variable.Karl Heuer1995-07-171-7/+92
| | | | | | | | | (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.
* (overlays_in): Don't count empty overlays at END.Richard M. Stallman1995-07-071-9/+12
| | | | (Foverlays_in): Likewise.
* (overlays_in): New function.Richard M. Stallman1995-06-261-4/+170
| | | | | (Foverlays_in): New function. (syms_of_buffer): defsubr it.
* (syms_of_buffer): Doc fix.Richard M. Stallman1995-06-211-1/+1
|
* (Fprevious_overlay_change): Check for overlays that end at POS.Richard M. Stallman1995-06-141-2/+24
|
* (Fbuffer_disable_undo): Make this function interactive.Karl Heuer1995-06-071-2/+2
|
* Doc fix.Karl Heuer1995-06-071-2/+2
|
* (Fkill_buffer): When killing indirect buffer,Karl Heuer1995-06-051-4/+25
| | | | | | 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.
* (set_buffer_internal_1): New subroutine.Karl Heuer1995-05-241-4/+19
| | | | (Fmove_overlay): Don't set windows_or_buffers_changed.
* (Fmake_indirect_buffer): Fix interactive spec.Karl Heuer1995-05-171-1/+1
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1995-05-151-1/+2
|
* (Qbefore_string, Qafter_string): New vars.Karl Heuer1995-05-051-4/+234
| | | | | (syms_of_buffer): Initialize and staticpro them. (cmp_for_strings, overlay_strings): New functions.
* (Fset_buffer_modified_p): Use the truename for locking.Richard M. Stallman1995-05-021-1/+1
|
* (adjust_overlays_for_insert): New function.Karl Heuer1995-04-171-0/+34
| | | | (adjust_overlays_for_delete): New function.
* (Foverlays_at, Fnext_overlay_change): Don't use NULL.Richard M. Stallman1995-04-131-3/+6
| | | | (Fprevious_overlay_change): Don't use NULL.
* (evaporate_overlays): Fix type error.Richard M. Stallman1995-04-131-2/+2
|
* (Fmake_overlay): Use XMISCTYPE.Richard M. Stallman1995-04-071-1/+1
|
* (Fkill_buffer): Call reset_buffer_local_variablesRichard M. Stallman1995-04-061-30/+53
| | | | | | and swap_out_buffer_local_variables. (swap_out_buffer_local_variables): New subroutine. (Fkill_all_local_variables): Use that subroutine.
* (syms_of_buffer): Doc fix.Karl Heuer1995-03-241-2/+2
|
* (overlay_touches_p): New function.Karl Heuer1995-03-221-0/+41
|
* (reset_buffer): Reset file_format element too.(init_buffer_once): Define ↵Boris Goldowsky1995-03-171-0/+8
| | | | | | file_format flag; reset file_format. (syms_of_buffer): New vbl buffer-file-format.
* (Fmake_indirect_buffer): Invert the arguments.Richard M. Stallman1995-03-141-5/+6
|
* (reset_buffer_local_variables): Init invisibility.Richard M. Stallman1995-03-111-1/+15
| | | | | (init_buffer_once): Set up buffer_local_flags for it. (syms_of_buffer): New variable `buffer-invisibility-spec'.
* (Fpop_to_buffer): Call Fset_buffer_major_mode if we create a buffer.Richard M. Stallman1995-03-061-1/+8
|
* (syms_of_buffer): Set up Lisp var buffer-file-truename.Richard M. Stallman1995-02-141-0/+9
| | | | | (init_buffer_once): Set up flag and default value for file_truename. (reset_buffer): Init file_truename slot.
* (Fget_buffer_create): Call buffer_memory_full.Richard M. Stallman1995-02-051-1/+1
|
* (syms_of_buffer): overwrite-mode doc fix.Richard M. Stallman1995-01-311-1/+3
|
* (init_buffer_once, syms_of_buffer):Richard M. Stallman1995-01-271-0/+5
| | | | | Set up buffer-local var point_before_scroll. (reset_buffer): Init point_before_scroll.
* (syms_of_buffer) [DOS_NT]: Add missing ';'.Richard M. Stallman1995-01-201-9/+9
|
* (list_buffers_1, Flist_buffers): Functions deleted.Richard M. Stallman1995-01-171-131/+0
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1995-01-081-7/+7
|
* (Fmake_indirect_buffer): New function.Richard M. Stallman1995-01-021-25/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (syms_of_buffer): Doc fix for buffer-file-type.Richard M. Stallman1994-12-251-1/+4
|
* (Fget_buffer_create): Copy the name, and clear text props.Richard M. Stallman1994-12-211-1/+38
| | | | | | | (assoc_ignore_text_properties): New function. (Fget_buffer): Use assoc_ignore_text_properties. (Fother_buffer): Take account of frame's buffer predicate.
* (report_overlay_modification): Renamed from verify_overlay_modification.Richard M. Stallman1994-12-111-15/+27
| | | | | | | | (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.
* (list_buffers_1): Right-align the size values.Richard M. Stallman1994-12-111-7/+25
|