1. 15 May, 1993 16 commits
  2. 14 May, 1993 18 commits
    • Jim Blandy's avatar
      * buffer.c (Fmove_overlay): If the overlay is in no buffer and the · 3ece337a
      Jim Blandy authored
      	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.
      3ece337a
    • Richard M. Stallman's avatar
      (access_keymap): Handle any length vector. · 926a64aa
      Richard M. Stallman authored
      (store_in_keymap): Likewise.
      (Fcopy_keymap): Likewise.
      926a64aa
    • Richard M. Stallman's avatar
      (command_loop_1): Don't do it here. · 0e9d6dd3
      Richard M. Stallman authored
      0e9d6dd3
    • Richard M. Stallman's avatar
      (isearch-mode-map): Handle any length vector in keymap. · 8d7e4e80
      Richard M. Stallman authored
      (isearch-char-to-string): Handle non-character events properly.
      8d7e4e80
    • Jim Blandy's avatar
      * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer, · 8ebafa8d
      Jim Blandy authored
      	Foverlay_properties): Functions moved here from subr.el.
      8ebafa8d
    • Jim Blandy's avatar
      * vc.el (vc-version-diff): Match parens. · 24f1977f
      Jim Blandy authored
      24f1977f
    • Jim Blandy's avatar
      * xterm.c (dumpglyphs): Give the cursor higher priority than the · 4a4dc352
      Jim Blandy authored
      	face specified by the glyph under it.
      
      	* xterm.c (dumpglyphs): Move the underline up a row.  I dislike
      	the way X addresses pixels.  Quickdraw is much nicer.
      
      	* xterm.c (dumpglyphs): Pass the proper arguments to intern_face.
      
      	* xterm.c (dumpglyphs): Don't increment left twice.
      4a4dc352
    • Jim Blandy's avatar
      * xfaces.c (compute_char_face): When merging the overlays, · f6b98e0b
      Jim Blandy authored
      	traverse sortvec, not overlay_vec; the latter isn't the one we
      	sorted.
      
      	* xfaces.c (intern_face): If the face has a GC, but it's not the
      	default or modeline face, abort.  Nothing but those two faces
      	should have a GC *and* be passed to intern_face.
      	(compute_char_face, compute_glyph_face): After copying
      	the frame's default face into face, to use as a base case for
      	calculation, set the `gc' member to zero; that way we don't have
      	things lying around that look like display faces but aren't.
      
      	* xfaces.c (intern_frame_face): When copying the new face into the
      	frame's face array, remember that the number of bytes to copy is
      	sizeof (*new_face), not sizeof (new_face).
      
      	* xfaces.c (compute_char_face): Assume that W is displaying the
      	current buffer.  Abort if it isn't.
      f6b98e0b
    • Jim Blandy's avatar
      The text property routines can now modify buffers other · 04a759c8
      Jim Blandy authored
      	than the current one.
      	* insdel.c (modify_region): New argument BUFFER.  Select that
      	buffer while we prepare for the modification, and switch back when
      	we're done.
      	* textprop.c (add_properties, remove_properties): Pass
      	the buffer being modified as the first argument to modify_region.
      	* editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
      	current_buffer as the first argument to modify_region.
      	* casefiddle.c (casify_region): Same.
      04a759c8
    • Jim Blandy's avatar
      * lisp.h (Lisp_Overlay): New tag. · 6c523803
      Jim Blandy authored
      	(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.
      6c523803
    • Jim Blandy's avatar
      * lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h> · 93b91208
      Jim Blandy authored
      	to get the extern declarations for atof.  That's where it is in
      	POSIX.
      93b91208
    • Jim Blandy's avatar
      * lisp.h (Lisp_Overlay): New tag. · 20280af7
      Jim Blandy authored
      	(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.
      
      	* lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
      	is not defined.
      20280af7
    • Jim Blandy's avatar
      * intervals.c (set_point): Check for point out of bounds before · 62056764
      Jim Blandy authored
      	checking for an empty interval tree.
      62056764
    • Jim Blandy's avatar
      * dispnew.c (direct_output_for_insert): Compute the face of the · 517b2e01
      Jim Blandy authored
      	character we're inserting properly.
      517b2e01
    • Jim Blandy's avatar
      * cmds.c (Fforward_char): Check proposed new position, and then · 7b502dc3
      Jim Blandy authored
      	set point, instead of setting point to a potentially invalid
      	position.
      7b502dc3
    • Jim Blandy's avatar
      * lisp.h (Lisp_Overlay): New tag. · 52f8ec73
      Jim Blandy authored
      	(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.
      52f8ec73
    • Jim Blandy's avatar
      * configure.in: Call AC_STDC_HEADERS. · d855a603
      Jim Blandy authored
      d855a603
    • Richard M. Stallman's avatar
      (vc-revert-buffer1): Don't assume that compilation-error-list · 6fb6ab11
      Richard M. Stallman authored
      is a list; it might be t.
      6fb6ab11
  3. 13 May, 1993 6 commits