summaryrefslogtreecommitdiff
path: root/src/buffer.c
AgeCommit message (Collapse)Author
1994-03-05(Fkill_buffer, Fkill_all_local_variables):Richard M. Stallman
Don't call Vrun_hooks if it is nil.
1994-03-03(Fget_file_buffer): Doc fix.Karl Heuer
1994-02-24(sort_overlays): Allow for null window.Karl Heuer
1994-02-24(Fkill_buffer): Call the Vkill_buffer_query_functions.Richard M. Stallman
(syms_of_buffer): Make Lisp var for kill-buffer-query-functions.
1994-02-11(syms_of_buffer): Doc fix.Richard M. Stallman
1994-02-09(Fkill_all_local_variables): Run change-major-mode-hook.Karl Heuer
1994-02-09(sort-overlays): New function, extracted from xfaces.c.Karl Heuer
1994-01-30Whitespace change.Richard M. Stallman
1994-01-29(kill-all-local-variables): follow symbol forwarding.Karl Heuer
1994-01-12(syms_of_buffer): Don't do (put 'erase-buffer 'disabled t) here.Roland McGrath
(keys_of_buffer): Do it here instead.
1994-01-08[MSDOS]: New buffer-local variable:Richard M. Stallman
buffer-file-type to handle DOS newlines.
1994-01-04Don't include syntax.h.Richard M. Stallman
(Qget_file_buffer): New variable. (syms_of_buffer): Set up Qget_file_buffer. (Fget_file_buffer): For magic file names, run the handler.
1993-12-23(Fbuffer_disable_undo): Make arg optional.Richard M. Stallman
1993-11-20(Frename_buffer): When the current buffer is already named NAME, don'tRoland McGrath
short-circuit and just return unless UNIQUE is nil. This makes passing UNIQUE=t equivalent to (rename-buffer (generate-new-buffer-name NAME)). This is useful way to rename the buffer automatically so you can create another with the original name.
1993-11-20Undo last change. SPC feeping at you is too annoying.Roland McGrath
1993-11-20(Frename_buffer): Change s to B in interactive spec to give buffer-nameRoland McGrath
completion. Buffers are often renamed to a name similar to the name of an existing buffer.
1993-11-19(Flist_buffers): Always return a value.Richard M. Stallman
1993-11-16(Foverlay_put): Don't call redisplay_region if overlay has no buffer.Richard M. Stallman
1993-11-09(Ferase_buffer): Doc fix.Richard M. Stallman
1993-10-14(Fdelete_overlay, Foverlay_put): Use marker_position,Richard M. Stallman
not OVERLAY_POSITION, to get args for redisplay_region.
1993-09-10Include <config.h> instead of "config.h".Roland McGrath
1993-08-11(verify_overlay_modification): initialize endpos.Richard M. Stallman
1993-08-02(Fmove_overlay): Avoid initializer for Lisp_Object vars.Richard M. Stallman
(verify_overlay_modification): Declare ostart, oend as Lisp_Object.
1993-07-22(syms_of_buffer): Lisp var doc fixes.Richard M. Stallman
1993-07-21(Qmodification_hooks, Qinsert_in_front_hooks)Richard M. Stallman
(Qinsert_behind_hooks): Moved here. (syms_of_buffer): Lisp vars set up here.
1993-07-15(Fbuffer_local_variables): For local var that is unbound,Richard M. Stallman
put just the symbol in the result, not a cons of (symbol . value).
1993-07-13(verify_overlay_modification): New function.Richard M. Stallman
(call_overlay_mod_hooks): New function.
1993-06-22* buffer.c (list_buffers_1): Make desired_point a lisp object; setJim Blandy
it to nil, unless we find the current buffer. (Flist_buffers): Don't try to set point in the buffer list unless list_buffers_1 actually returns an integer. Don't use a full save_excursion; just save and restore the buffer.
1993-06-17Don't let the 'B' interactive spec default to buffers viewed inJim Blandy
any visible frame. * buffer.c (Fother_buffer): Pass Qt as the second argument to Fget_buffer_window. * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore non-visible frames. (Fget_buffer_window): Change doc string to mention that passing Qt for the FRAME argument returns windows on visible frames only.
1993-06-17Don't let the 'B' interactive spec default to buffers viewed inJim Blandy
any visible frame. * buffer.c (Fother_buffer): Pass Qvisible as the second argument to Fget_buffer_window. * window.c (Qvisible): New symbol. (window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible, ignore non-visible frames. (Fget_buffer_window): Expand doc string to mention that Qvisible is an interesting value for FRAME argument. (syms_of_window): Init and staticpro Qvisible. * lisp.h (Qvisible): New declaration.
1993-06-16* buffer.c (list_buffers_1): Return the desired point.Jim Blandy
(Flist_buffers): Put point there in the buffer summary.
1993-06-11(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.Richard M. Stallman
1993-06-09Apply typo patches from Paul Eggert.Jim Blandy
1993-06-07(Fdelete_overlay): Do nothing if overlay already deleted.Richard M. Stallman
Bind inhibit-quit to t. (Fmove_overlay): Properly handle changing buffers, or no prev buffer. Bind inhibit-quit to t.
1993-06-04(syms_of_buffer): Set up Lisp var inhibit-read-only.Richard M. Stallman
(Vinhibit_read_only): Declared. (Fbarf_if_buffer_read_only): Check Vinhibit_read_only.
1993-06-03(init_buffer): Init default-directory of minibuffer.Richard M. Stallman
1993-05-30(Fgenerate_new_buffer_name): Doc fix.Roland McGrath
1993-05-30(reset_buffer): Clear mark_active field here.Richard M. Stallman
(reset_buffer_local_variables): Not here. (Fswitch_to_buffer, Fpop_to_buffer): Return the buffer. (Fmove_overlay): Fix data types in last change.
1993-05-29(reset_buffer): Clear mark_active field here.Richard M. Stallman
(reset_buffer_local_variables): Not here.
1993-05-28(Fgenerate_new_buffer_name): New arg IGNORE.Richard M. Stallman
(Frename_buffer): Pass new arg.
1993-05-28* buffer.c (Fmove_overlay): If the overlay is changing buffers,Jim Blandy
do a thorough redisplay.
1993-05-24* buffer.c (Fmake_overlay): Put beg and end in theJim Blandy
right order. (Fmove_overlay): If beg and end are markers, make sure they're in the right buffer.
1993-05-22Updated copyright years.Jim Blandy
1993-05-16(overlays_at): New arg EXTEND.Richard M. Stallman
(Foverlays_at, Fnext_overlay_change): Pass 1.
1993-05-14* buffer.c (Fmove_overlay): If the overlay is in no buffer and theJim Blandy
BUFFER argument has been omitted, put it in the current buffer, for symmetry with move-marker. * buffer.c (Fdelete_overlay): Make the overlay's markers point nowhere, not at 1. Do this after calling redisplay_region, so that code knows what section has changed.
1993-05-14* buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer,Jim Blandy
Foverlay_properties): Functions moved here from subr.el.
1993-05-14* lisp.h (Lisp_Overlay): New tag.Jim Blandy
(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. * buffer.c (Foverlay_get): Return Qnil if the requested property is missing from the property list.
1993-05-10Arrange to tell redisplay about changes in overlays.Jim Blandy
* xdisp.c (redisplay_region): New function. * buffer.c (Fmove_overlay): Call redisplay_region on the areas the overlay has enclosed or left. (Fdelete_overlay): Call redisplay_region on the area the overlay used to occupy. (Foverlay_put): Call redisplay_region on the area the overlay now occupies; we may have put a face property on it. * buffer.c (Fmove_overlay): Doc fix.
1993-05-04* buffer.c (syms_of_buffer): Doc fix for buffer-display-table.Jim Blandy
* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER arguments. (recenter_overlay_lists): New argument BUF, to use instead of the current buffer. (Foverlay_recenter): Pass the appropriate arguments to recenter_overlay_lists. * buffer.c (Fdelete_overlay): Don't assume that overlay is in the current buffer. Don't forget to declare the argument a Lisp_Object.
1993-04-25(Qmode-line-format): Describe %l in the doc string.Eric S. Raymond