1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

34 commits

Author SHA1 Message Date
Richard M. Stallman
4abe97d9b4 (struct buffer): New field `invisibility_spec'. 1995-03-11 22:35:30 +00:00
Richard M. Stallman
8eb34fb9f5 (struct buffer): New field file_truename. 1995-02-14 16:32:01 +00:00
Richard M. Stallman
2e4a1e1f7e (struct buffer): New field point_before_scroll. 1995-01-27 07:18:11 +00:00
Richard M. Stallman
c1ea566e86 (struct buffer): Fields markers and intervals moved out.
(struct buffer_text): Fields markers and intervals moved here.
(BUF_MARKERS, BUF_INTERVALS): New macros.

(struct buffer): Make buffer_file_type field unconditional.

(struct buffer): New field pt_marker.
save_modiff field deleted.
(struct buffer_text): save_modiff field moved here.
(SAVE_MODIFF, BUF_SAVE_MODIFF): New macros.
Use them instead of direct access to save_modiff field.

(struct buffer): New fields begv_marker, zv_marker.

(struct buffer): Make text field be a pointer.
The struct buffer_text field renamed to own_text.
Add fields indirect_to_buffer and size.
Move pt, begv and zv fields here.
(struct buffer_text): Moved from here.
(BEGV, PT, ZV, BEGV_ADDR, PT_ADDR, ZV_ADDR): Corresponding changes.
(BUF_BEGV, BUF_PT, BUF_ZV): Corresponding changes.
(SET_BUF_ZV, SET_BUF_PT, point):
1995-01-02 09:19:34 +00:00
Karl Heuer
915857ff0a (OVERLAY_POSITION): Use the new type-test macros. 1994-11-15 23:55:03 +00:00
Karl Heuer
21f7c86400 (OVERLAY_START, OVERLAY_END): Use new overlay substructure. 1994-11-15 02:04:23 +00:00
Richard M. Stallman
5e028eee2a (struct buffer): Test DOS_MT, not MSDOS. 1994-11-01 06:17:07 +00:00
Karl Heuer
e11a302f26 (OVERLAY_POSITION): Marker assert now tests substructure. 1994-10-11 07:45:41 +00:00
Jim Blandy
18e9375535 * buffer.h (struct buffer): New members: newline_cache,
width_run_cache, width_table, and cache_long_line_scans.
1994-10-08 22:12:45 +00:00
Karl Heuer
023c80d051 Declare some functions. 1994-09-17 03:14:26 +00:00
Karl Heuer
74e88815db Declare evaporate_overlays. 1994-09-17 01:52:13 +00:00
Richard M. Stallman
790f39e781 (BUF_PTR_CHAR_POS): New macro. 1994-06-25 22:34:25 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
03c6309ac7 (Vafter_change_functions, Vbefore_change_functions): Declared. 1994-04-10 02:33:37 +00:00
Richard M. Stallman
29ff037d32 (OVERLAY_POSITION): Use XGCTYPE. 1994-04-03 19:37:32 +00:00
Karl Heuer
546714cf35 Fix typo in comment. 1994-03-29 05:54:39 +00:00
Karl Heuer
d00c875cf6 (OVERLAY_POSITION): Don't check which buffer it points to. 1994-02-26 04:05:17 +00:00
Richard M. Stallman
4c0dc72228 (struct buffer): New field auto_save_failure_time. 1994-01-10 22:37:13 +00:00
Richard M. Stallman
54ad07d30f [MSDOS]: New buffer-local variable:
buffer-file-type to handle DOS newlines.
1994-01-08 09:21:59 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
6c523803b3 * lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
	Use CHECK_OVERLAY instead of signalling a special error.
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
	signalling a special error.
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.
1993-05-14 14:43:00 +00:00
Eric S. Raymond
e12f351912 (BUF_NARROWED, NARROWED): New macros to test whether a region
restriction has narrowed the buffer.
1993-04-23 03:06:10 +00:00
Richard M. Stallman
440d350c2f (struct buffer): Field `fieldlist' deleted.
(OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros.
(OVERLAY_POSITION): Likewise.
(searchbuf): Decl deleted--doesn't belong here.
Delete include of regex.h for VMS.
1993-03-27 18:04:02 +00:00
Jim Blandy
6bbb0d4aaa * cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
	(Qoverwrite_mode_binary): New variable.
	(internal_self_insert): If current_buffer->overwrite_mode is
	`overwrite-mode-binary', do as overwrite_binary_mode used to.
	(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
	Qoverwrite_mode_binary.
	* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
	* buffer.h (struct buffer): Doc fix.
1993-03-16 18:18:05 +00:00
Richard M. Stallman
83ec8b67da (struct buffer): New field mark_active. 1993-03-07 09:33:43 +00:00
Jim Blandy
9efa1bc61e * buffer.h: Remove code which #includes "undo.h" if lint is
defined.  undo.h no longer exists.
1993-02-22 14:23:02 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Jim Blandy
986ffb2446 * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.
1992-11-16 00:54:53 +00:00
Jim Blandy
ea47125f68 * buffer.h (Fbuffer_name, Fget_file_buffer): Added external
declarations.

	* buffer.h (struct buffer_local_types): This declaration needed an
	extern qualifier.
1992-10-31 04:51:36 +00:00
Joseph Arceneaux
1b92beaf6d * buffer.h: New macro TEMP_SET_PT. If intervals are used, SET_PT
and TEMP_SET_PT are function calls.
	Similarly for BUF_SET_PT and BUF_TEMP_SET_PT.
	Added DECLARE_INTERVALS to buffer structure to conditionally
	compile an interval tree into it..
1992-10-01 00:56:11 +00:00
Jim Blandy
fbfed6f05f entered into RCS 1992-08-19 03:54:46 +00:00
Joseph Arceneaux
228d4b1c2c *** empty log message *** 1992-06-02 04:15:32 +00:00
Jim Blandy
265a9e559d *** empty log message *** 1992-01-13 21:48:08 +00:00
Jim Blandy
b3ec245ac0 Initial revision 1991-02-22 18:25:19 +00:00