1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
Commit graph

52 commits

Author SHA1 Message Date
Karl Heuer
f00ed1332d (point): Obsolete macro deleted in favor of PT. 1997-06-14 04:53:00 +00:00
Kenichi Handa
c204d14f43 (struct buffer): New member buffer_file_coding_system. 1997-06-09 12:59:11 +00:00
Richard M. Stallman
f809d1628d (struct buffer): New field display_count. 1997-03-22 04:05:44 +00:00
Karl Heuer
96b65d4ea9 (BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
(Z_ADDR, BUF_GPT_ADDR, BUF_Z_ADDR): New macros.
(struct buffer): New members `category_table',
`direction_reserved', and `enable-multibyte-characters'.
(POS_ADDR): New macro used at all places instead of &FETCH_CHAR.
(FETCH_BYTE): New macro used at any places to check the argument
against an ASCII character.
(FETCH_MULTIBYTE_CHAR): New macro used at any places to get a
character code of the argument when it is known to be a multibyte
character.
(_fetch_multibyte_char_p, _fetch_multibyte_char_len): New
variables.
(FETCH_CHAR): Use macros FETCH_MULTIBYTE_CHAR and FETCH_BYTE.
1997-02-20 06:45:13 +00:00
Karl Heuer
2d2972d83c Fix typo in comment. 1996-10-14 07:54:04 +00:00
Richard M. Stallman
d793b34947 Fix previous change. 1996-09-15 01:49:08 +00:00
Richard M. Stallman
2e50b9cc77 (struct buffer): New field overlay_modiff.
(MODIFF, BUF_OVERLAY_MODIFF): New macros.
1996-09-15 01:48:31 +00:00
Richard M. Stallman
519052f372 (strict buffer): New slot last_selected_window. 1996-09-02 05:10:58 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
29ea926860 (struct buffer): Delete redisplay_end_trigger field. 1995-12-21 16:56:26 +00:00
Richard M. Stallman
637df16f38 (struct buffer): New slot redisplay_end_trigger.
Also extra1, extra2, extra3.
1995-10-21 23:14:59 +00:00
Richard M. Stallman
f392937f8e Comment changes. 1995-10-19 00:08:57 +00:00
Richard M. Stallman
23f7371107 (Qbefore_change_functions, Qafter_change_functions): Declared. 1995-08-05 22:58:11 +00:00
Richard M. Stallman
715bde06c9 (struct buffer): New field clip_changed. 1995-07-02 06:07:43 +00:00
Richard M. Stallman
5a10939a7d (Fdelete_overlay): Was mistakenly called Fdelete_overlays. 1995-05-04 16:20:15 +00:00
Richard M. Stallman
e841a430cd (Fdelete_overlays): Add declaration. 1995-04-07 18:39:56 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Boris Goldowsky
585b0a89a3 (struct buffer): Add file_format member. 1995-03-17 18:10:19 +00:00
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