1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

346 commits

Author SHA1 Message Date
Richard M. Stallman
489c043ab7 (Frename_buffer): Rename arg NAME to NEWNAME. 1994-11-15 14:01:12 +00:00
Karl Heuer
48e2e3ba61 (Fmake_overlay, Foverlay_properties, Foverlay_get, Foverlay_put): Use new
overlay substructure.
(list_buffers_1): Use PT, not point.
1994-11-15 02:02:34 +00:00
Karl Heuer
6746ed7a33 (Fkill_all_local_variables): Use XBUFFER_LOCAL_VALUE, not XCONS. 1994-11-15 00:06:33 +00:00
Karl Heuer
fdc6e51676 (set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS. 1994-11-11 07:33:46 +00:00
Richard M. Stallman
cf1e6391ae (init_buffer): Fix error message syntax. 1994-11-02 01:22:31 +00:00
Richard M. Stallman
f7975d0711 (init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros,
not character constants.
(init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.
1994-11-01 06:39:38 +00:00
Karl Heuer
a9ee7a5992 (Fset_buffer_major_mode): New function. Set the default major mode here.
(Fget_buffer_create): Not here.
(Fswitch_to_buffer): Call Fset_buffer_major_mode.
(syms_of_buffer): defsubr the new function.
1994-10-27 22:35:14 +00:00
Richard M. Stallman
b5b4d3606f (list_buffers_1): Always mark current_buffer read-only. 1994-10-20 21:19:47 +00:00
Karl Heuer
54dfdeb04f (buffer_slot_type_mismatch): Take just the offset as argument. Only check
against types that are actually used.
1994-10-12 05:14:30 +00:00
Karl Heuer
c51e6d8c26 (buffer_slot_type_mismatch): Test against Lisp_Misc. 1994-10-11 07:46:22 +00:00
Richard M. Stallman
1d3395a615 (list_buffers_1): Fix indentation in header lines. 1994-10-11 05:29:55 +00:00
Jim Blandy
f0c5b7125a (syms_of_buffer): Doc fix for cache-long-line-scans. 1994-10-10 16:01:58 +00:00
Jim Blandy
28e969dd70 * buffer.c: #include region-cache.h.
(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.
1994-10-08 22:12:12 +00:00
Karl Heuer
aab808227e (init_buffer_once): Don't use XSETFASTINT when negative.
(reset_buffer_local_variables, Fbuffer_local_variables): Access
buffer_local_flags as Lisp_Object, not int.
1994-10-06 22:30:47 +00:00
Karl Heuer
0319206797 (validate_region): Swap using temp Lisp_Object, not int. 1994-10-04 19:36:47 +00:00
Karl Heuer
8d7a4592e2 (reset_buffer, Ferase_buffer, validate_region, list_buffers_1, recenter_overlay_lists, init_buffer_once): Don't use XFASTINT as an lvalue. 1994-10-04 15:36:45 +00:00
Karl Heuer
67180c6ae0 (Fget_buffer_create, Frename_buffer, Fbuffer_disable_undo,
Fbuffer_enable_undo, Fcurrent_buffer, Fbury_buffer, Fmake_overlay,
init_buffer_once): Use new accessor macros instead of calling XSET directly.
1994-10-04 11:54:19 +00:00
Richard M. Stallman
cab4777e78 (Foverlay_get): Handle `category' property on overlay. 1994-10-01 21:02:59 +00:00
Karl Heuer
a7a60ce913 (nsberror, Fget_buffer, Fget_file_buffer, Fbuffer_local_variables,
Fkill_buffer, set_buffer_internal, list_buffers_1, sort_overlays): Use type
test macros.
1994-09-27 03:57:23 +00:00
Richard M. Stallman
11da536332 (get-file-buffer): Doc fix. 1994-09-24 01:16:19 +00:00
Karl Heuer
889bf32987 (evaporate_overlays): Overlay is in car, not cdr. 1994-09-22 19:20:52 +00:00
Richard M. Stallman
239c932bb2 (overlays_at): New arg PREV_PTR.
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.
1994-09-21 08:14:33 +00:00
Karl Heuer
3402827c0e (syms_of_buffer): Doc fix. 1994-09-19 20:24:47 +00:00
Jim Blandy
a45e35e173 Add a new element to display tables controlling side-by-side
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.
1994-09-19 17:28:37 +00:00
Richard M. Stallman
bcd4052086 (reset_buffer): Don't call reset_buffer_local_variables.
(Fget_buffer_create): Call it here.
(init_buffer_once): And here.
1994-09-18 08:46:34 +00:00
Karl Heuer
9d7608b719 (Qevaporate): New symbol.
(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.
1994-09-17 01:51:30 +00:00
Richard M. Stallman
4d2f13893e (reset_buffer_local_variables, Fbuffer_local_variables)
(init_buffer_once): Use EMACS_INT.
1994-09-17 00:26:43 +00:00
Karl Heuer
cf058e4944 (Frename_buffer): Fix gcpro problems. 1994-08-23 22:56:44 +00:00
Richard M. Stallman
95e4d53630 (list_buffers_1): Update header line layout. 1994-08-16 23:51:52 +00:00
Richard M. Stallman
06e8cf7450 (list_buffers_1): Add one column to size column. 1994-08-03 23:11:05 +00:00
Richard M. Stallman
c2ff34f7a3 (syms_of_buffer): Doc fix. 1994-07-02 19:50:30 +00:00
Richard M. Stallman
c806d99edd (syms_of_buffer): Doc fix. 1994-07-02 19:37:12 +00:00
Richard M. Stallman
146f50a386 (Foverlay_put): Pass redisplay_region a struct buffer *. 1994-06-28 09:25:42 +00:00
Richard M. Stallman
274a942536 (send_process): Major rewrite.
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.
1994-06-25 22:34:52 +00:00
Richard M. Stallman
efd9047811 (Fmove_overlay): Fix typo in previous change. 1994-06-23 23:55:12 +00:00
Richard M. Stallman
ea18063fb6 (Fmove_overlay): Add missing XINT calls in previous change. 1994-06-21 18:25:45 +00:00
Richard M. Stallman
9b59d6d098 (Fkill_buffer): Don't delete auto save file
if it didn't come from this Emacs session.
1994-06-21 17:52:18 +00:00
Richard M. Stallman
50760c4a87 (Fmove_overlay): Call redisplay_region even when
changing to a different buffer.
1994-06-20 23:10:07 +00:00
Richard M. Stallman
55b4889367 (verify_overlay_modification): GCPRO tail and overlay.
Avoid copying tail twice.
1994-05-24 21:16:23 +00:00
Karl Heuer
2b1bdf65a9 (fix_overlays_in_range): New function. 1994-05-17 03:30:40 +00:00
Karl Heuer
bbe20e81d1 (Foverlay_lists): Doc fix.
(Fnext_overlay_change): Doc fix.
1994-05-13 22:21:45 +00:00
Richard M. Stallman
d59698c431 (Frename_buffer): Reject empty string as new name.
(syms_of_buffer): Fix typo in previous change.
1994-05-11 04:16:19 +00:00
Richard M. Stallman
b86344d06f (Qbuffer_file_type): Var deleted.
(syms_of_buffer): Doc fix.
1994-05-10 07:30:11 +00:00
Richard M. Stallman
9d130ffc23 (syms_of_buffer): Doc fix. 1994-05-03 19:17:39 +00:00
Richard M. Stallman
0776cb1b91 (init_buffer_once): Initialize buffer_file_type field right. 1994-05-02 07:49:57 +00:00
Richard M. Stallman
c5a1522230 (Fkill_all_local_variables): Doc fix. 1994-04-24 05:13:41 +00:00
Richard M. Stallman
e9edf33c1c (reset_buffer_local_variables): Use Vascii_eqv_table
and Vascii_canon_table.
1994-04-23 16:32:44 +00:00
Karl Heuer
a617e9133c Pass operation to Ffind_file_name_handler. 1994-04-22 23:41:18 +00:00
Richard M. Stallman
5f0792675d (Vafter_change_functions, Vbefore_change_functions): New variables.
(syms_of_buffer): Set up Lisp vars.
1994-04-10 02:33:16 +00:00
Karl Heuer
31cd83e944 (Fget_buffer_create): Disallow empty string. 1994-04-06 04:06:13 +00:00