aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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
|
* (Fkill_buffer): Use internal_delete_file.Richard M. Stallman1994-11-281-1/+1
|
* (overlays_at): Use the new type-test macros.Karl Heuer1994-11-151-2/+2
|
* (Frename_buffer): Rename arg NAME to NEWNAME.Richard M. Stallman1994-11-151-3/+3
|
* (Frename_buffer): Rename arg NAME to NEWNAME.Richard M. Stallman1994-11-151-12/+12
|
* (Fmake_overlay, Foverlay_properties, Foverlay_get, Foverlay_put): Use newKarl Heuer1994-11-151-16/+12
| | | | | overlay substructure. (list_buffers_1): Use PT, not point.
* (Fkill_all_local_variables): Use XBUFFER_LOCAL_VALUE, not XCONS.Karl Heuer1994-11-151-5/+6
|
* (set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS.Karl Heuer1994-11-111-2/+2
|
* (init_buffer): Fix error message syntax.Richard M. Stallman1994-11-021-1/+1
|
* (init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros,Richard M. Stallman1994-11-011-7/+12
| | | | | not character constants. (init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.
* (Fset_buffer_major_mode): New function. Set the default major mode here.Karl Heuer1994-10-271-24/+41
| | | | | | (Fget_buffer_create): Not here. (Fswitch_to_buffer): Call Fset_buffer_major_mode. (syms_of_buffer): defsubr the new function.
* (list_buffers_1): Always mark current_buffer read-only.Richard M. Stallman1994-10-201-1/+5
|
* (buffer_slot_type_mismatch): Take just the offset as argument. Only checkKarl Heuer1994-10-121-13/+7
| | | | against types that are actually used.
* (buffer_slot_type_mismatch): Test against Lisp_Misc.Karl Heuer1994-10-111-1/+1
|
* (list_buffers_1): Fix indentation in header lines.Richard M. Stallman1994-10-111-2/+2
|
* (syms_of_buffer): Doc fix for cache-long-line-scans.Jim Blandy1994-10-101-11/+23
|
* * buffer.c: #include region-cache.h.Jim Blandy1994-10-081-0/+35
| | | | | | | | (Fget_buffer_create): Initialize new members of struct buffer. (Fkill_buffer): Free memory occupied by caches. (init_buffer_once): Set default value for cache_long_line_scans in buffer_defaults, and give it a bit in buffer_local_flags. (syms_of_buffer): Add DEFVAR_PER_BUFFER for cache_long_line_scans.
* (init_buffer_once): Don't use XSETFASTINT when negative.Karl Heuer1994-10-061-17/+21
| | | | | (reset_buffer_local_variables, Fbuffer_local_variables): Access buffer_local_flags as Lisp_Object, not int.
* (validate_region): Swap using temp Lisp_Object, not int.Karl Heuer1994-10-041-5/+2
|
* (reset_buffer, Ferase_buffer, validate_region, list_buffers_1, ↵Karl Heuer1994-10-041-42/+42
| | | | recenter_overlay_lists, init_buffer_once): Don't use XFASTINT as an lvalue.
* (Fget_buffer_create, Frename_buffer, Fbuffer_disable_undo,Karl Heuer1994-10-041-10/+10
| | | | | Fbuffer_enable_undo, Fcurrent_buffer, Fbury_buffer, Fmake_overlay, init_buffer_once): Use new accessor macros instead of calling XSET directly.
* (Foverlay_get): Handle `category' property on overlay.Richard M. Stallman1994-10-011-2/+11
|
* (nsberror, Fget_buffer, Fget_file_buffer, Fbuffer_local_variables,Karl Heuer1994-09-271-20/+17
| | | | | Fkill_buffer, set_buffer_internal, list_buffers_1, sort_overlays): Use type test macros.
* (get-file-buffer): Doc fix.Richard M. Stallman1994-09-241-1/+2
|
* (evaporate_overlays): Overlay is in car, not cdr.Karl Heuer1994-09-221-1/+1
|
* (overlays_at): New arg PREV_PTR.Richard M. Stallman1994-09-211-11/+68
| | | | | | | Return previous overlay end. (Foverlays_at): Pass NULL for last 2 args of overlays_at. (Fnext_overlay_change): Pass new arg to overlays_at. (Fprevious_overlay_change): New function.
* (syms_of_buffer): Doc fix.Karl Heuer1994-09-191-1/+1
|
* Add a new element to display tables controlling side-by-sideJim Blandy1994-09-191-2/+4
| | | | | | | | | | window borders. * buffer.c (syms_of_buffer): Update doc string for `buffer-display-table'. * disptab.h (DISP_TABLE_SIZE): Bump to 262. (DISP_BORDER_GLYPH): New accessor macro. * xdisp.c (display_text_line): Consult the display table when building side-by-side window borders.
* (reset_buffer): Don't call reset_buffer_local_variables.Richard M. Stallman1994-09-181-3/+10
| | | | | (Fget_buffer_create): Call it here. (init_buffer_once): And here.
* (Qevaporate): New symbol.Karl Heuer1994-09-171-20/+65
| | | | | | | (syms_of_buffer): Initialize it. (Fmove_overlay): Check if overlay is empty. (Foverlay_put): Check if setting evaporate property on empty overlay. (evaporate_overlays): New function.
* (reset_buffer_local_variables, Fbuffer_local_variables)Richard M. Stallman1994-09-171-6/+6
| | | | (init_buffer_once): Use EMACS_INT.
* (Frename_buffer): Fix gcpro problems.Karl Heuer1994-08-231-2/+4
|
* (list_buffers_1): Update header line layout.Richard M. Stallman1994-08-161-2/+2
|
* (list_buffers_1): Add one column to size column.Richard M. Stallman1994-08-031-1/+1
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1994-07-021-1/+3
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1994-07-021-1/+1
|
* (Foverlay_put): Pass redisplay_region a struct buffer *.Richard M. Stallman1994-06-281-2/+2
|
* (send_process): Major rewrite.Richard M. Stallman1994-06-251-10/+18
| | | | | | | | Don't put in a C-d unless a single line is too long. Read process input whenever output gets stuck. Relocate BUF if we read input. New arg OBJECT. (Fprocess_send_region, Fprocess_send_string, process_send_signal) (Fprocess_send_eof): Pass new arg OBJECT.
* (Fmove_overlay): Fix typo in previous change.Richard M. Stallman1994-06-231-2/+2
|
* (Fmove_overlay): Add missing XINT calls in previous change.Richard M. Stallman1994-06-211-1/+1
|