aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (struct buffer): Field `undo_list' moved before `name'Richard M. Stallman1998-03-281-8/+9
| | | | so it won't get marked in the usual way.
* Fix comment.Karl Heuer1998-02-271-3/+6
|
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (DECODE_POSITION): New macro.Richard M. Stallman1998-01-011-112/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (CHAR_TO_BYTE, BYTE_TO_CHAR): New macros. (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE) (ZV_BYTE, Z_BYTE): New macros. (BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE) (BUF_ZV_BYTE, BUF_Z_BYTE): New macros. (BUF_GAP_END_ADDR): New macro. (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR): Use the new ..._byte buffer data. (BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise. (BUF_GPT_ADDR, BUF_Z_ADDR): Likewise. (SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros. (SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT): Call functions with new arg order. (SET_BUF_BEGV, SET_BUF_BEGV_BOTH): New macros. (SET_BUF_PT): Macro deleted. (SET_BUF_ZV): Set charpos and bytepos. (SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH): New macros. (BYTE_POS_ADDR): Renamed from POS_ADDR. (CHAR_POS_ADDR): New macro. (FETCH_BYTE): Use BYTE_POS_ADDR. (FETCH_MULTIBYTE_CHAR): Use ..._BYTE macros. (BUF_CHAR_ADDRESS): Convert charpos to bytepos. (BUF_BYTE_ADDRESS): New macro, like the old BUF_CHAR_ADDRESS. (PTR_BYTE_POS): Renamed from PTR_CHAR_POS. (BUF_PTR_BYTE_POS): New macro. (BUF_FETCH_CHAR, BUF_FETCH_BYTE, BUF_FETCH_MULTIBYTE_CHAR): New macros. (struct buffer_text): New fields gpt_byte, z_byte. (struct buffer): New fields pt_byte, begv_byte, zv_byte.
* Add more protypes and function declarations.Andreas Schwab1997-11-211-7/+22
|
* (point): Obsolete macro deleted in favor of PT.Karl Heuer1997-06-141-4/+0
|
* (struct buffer): New member buffer_file_coding_system.Kenichi Handa1997-06-091-0/+4
|
* (struct buffer): New field display_count.Richard M. Stallman1997-03-221-0/+3
|
* (BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.Karl Heuer1997-02-201-6/+49
| | | | | | | | | | | | | | | (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.
* Fix typo in comment.Karl Heuer1996-10-141-1/+1
|
* Fix previous change.Richard M. Stallman1996-09-151-1/+1
|
* (struct buffer): New field overlay_modiff.Richard M. Stallman1996-09-151-0/+8
| | | | (MODIFF, BUF_OVERLAY_MODIFF): New macros.
* (strict buffer): New slot last_selected_window.Richard M. Stallman1996-09-021-1/+5
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (struct buffer): Delete redisplay_end_trigger field.Karl Heuer1995-12-211-4/+0
|
* (struct buffer): New slot redisplay_end_trigger.Richard M. Stallman1995-10-211-0/+8
| | | | Also extra1, extra2, extra3.
* Comment changes.Richard M. Stallman1995-10-191-4/+5
|
* (Qbefore_change_functions, Qafter_change_functions): Declared.Richard M. Stallman1995-08-051-0/+2
|
* (struct buffer): New field clip_changed.Richard M. Stallman1995-07-021-0/+3
|
* (Fdelete_overlay): Was mistakenly called Fdelete_overlays.Richard M. Stallman1995-05-041-1/+1
|
* (Fdelete_overlays): Add declaration.Richard M. Stallman1995-04-071-0/+1
|
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (struct buffer): Add file_format member.Boris Goldowsky1995-03-171-0/+3
|
* (struct buffer): New field `invisibility_spec'.Richard M. Stallman1995-03-111-0/+6
|
* (struct buffer): New field file_truename.Richard M. Stallman1995-02-141-0/+3
|
* (struct buffer): New field point_before_scroll.Richard M. Stallman1995-01-271-0/+4
|
* (struct buffer): Fields markers and intervals moved out.Richard M. Stallman1995-01-021-105/+153
| | | | | | | | | | | | | | | | | | | | | | | | (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):
* (OVERLAY_POSITION): Use the new type-test macros.Karl Heuer1994-11-151-3/+2
|
* (OVERLAY_START, OVERLAY_END): Use new overlay substructure.Karl Heuer1994-11-151-2/+2
|
* (struct buffer): Test DOS_MT, not MSDOS.Richard M. Stallman1994-11-011-2/+2
|
* (OVERLAY_POSITION): Marker assert now tests substructure.Karl Heuer1994-10-111-2/+3
|
* * buffer.h (struct buffer): New members: newline_cache,Jim Blandy1994-10-081-0/+30
| | | | width_run_cache, width_table, and cache_long_line_scans.
* Declare some functions.Karl Heuer1994-09-171-0/+1
|
* Declare evaporate_overlays.Karl Heuer1994-09-171-0/+1
|
* (BUF_PTR_CHAR_POS): New macro.Richard M. Stallman1994-06-251-0/+7
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (Vafter_change_functions, Vbefore_change_functions): Declared.Richard M. Stallman1994-04-101-0/+2
|
* (OVERLAY_POSITION): Use XGCTYPE.Richard M. Stallman1994-04-031-1/+1
|
* Fix typo in comment.Karl Heuer1994-03-291-1/+1
|
* (OVERLAY_POSITION): Don't check which buffer it points to.Karl Heuer1994-02-261-9/+4
|
* (struct buffer): New field auto_save_failure_time.Richard M. Stallman1994-01-101-0/+3
|
* [MSDOS]: New buffer-local variable:Richard M. Stallman1994-01-081-0/+4
| | | | buffer-file-type to handle DOS newlines.
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * lisp.h (Lisp_Overlay): New tag.Jim Blandy1993-05-141-2/+1
| | | | | | | | | | | | | | | | | | | | (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.
* (BUF_NARROWED, NARROWED): New macros to test whether a regionEric S. Raymond1993-04-231-0/+7
| | | | restriction has narrowed the buffer.
* (struct buffer): Field `fieldlist' deleted.Richard M. Stallman1993-03-271-38/+40
| | | | | | | (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.
* * cmds.c (overwrite_binary_mode): Deleted; this implements theJim Blandy1993-03-161-1/+2
| | | | | | | | | | | 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.
* (struct buffer): New field mark_active.Richard M. Stallman1993-03-071-1/+6
|
* * buffer.h: Remove code which #includes "undo.h" if lint isJim Blandy1993-02-221-5/+0
| | | | defined. undo.h no longer exists.
* JimB's changes since January 18thJim Blandy1993-01-261-1/+2
|