1. 13 May, 1993 8 commits
  2. 12 May, 1993 7 commits
  3. 11 May, 1993 7 commits
  4. 10 May, 1993 18 commits
    • Jim Blandy's avatar
      942990d1
    • Jim Blandy's avatar
      * xfns.c (Fx_create_frame): Use an XLFD name for the default font, · ee8f40cc
      Jim Blandy authored
      	instead of "9x15" or whatever it was.
      ee8f40cc
    • Jim Blandy's avatar
      * configure.in: Sidestep autoconf's quoting of the second argument · 0ca2af7c
      Jim Blandy authored
      	of AC_DEFINE, so we can specify the value to put there.  It would
      	be nice if autoconf provided some way to specify computed values
      	for macros.
      0ca2af7c
    • Richard M. Stallman's avatar
      (buffer-menu): Don't save a window config. · 3ed788ec
      Richard M. Stallman authored
      (Buffer-menu-select): Don't call Buffer-menu-execute.
      Don't restore a window config.
      3ed788ec
    • Roland McGrath's avatar
      (byte-recompile-directory): If ARG is non-nil, set it to its prefix · 0dea0bbe
      Roland McGrath authored
      numeric value.  Test for ARG being zero with eq, not zerop.
      0dea0bbe
    • Jim Blandy's avatar
      * s/template.h: Explain the relative significance of the SIGIO and · 32de6484
      Jim Blandy authored
      	INTERRUPT_INPUT macros.
      32de6484
    • Jim Blandy's avatar
      * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't · 16f7413a
      Jim Blandy authored
      	used by any configuration right now, but he's trying to make it
      	work.
      	#include "sunos4-1.h" instead of "bsd4-2.h".
      	(O_NDELAY): Don't define this.
      	(SYSTEM_MALLOC): Don't define this, either.
      	(LD_SWITCH_SYSTEM): Remove the definition for this.
      16f7413a
    • Jim Blandy's avatar
      * xdisp.c (display_text_line): Apply faces to characters · 07e34cb0
      Jim Blandy authored
      	according to overlays and text properties; use
      	compute_char_face and compute_glyph_face to figure out what
      	face to use, and where a new face starts.
      	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
      	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
      	we're implementing the glyph table properly.  If we're not using
      	the default or mode line face, call intern_face to find a display
      	face for the frame face selected by the glyph code.  Implement
      	underlining.  Remove the `font' argument; we have to derive this
      	from the frame and face anyway.  Change all callers.
      	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
      
      	* xterm.c (x_destroy_window): Call free_frame_faces.
      07e34cb0
    • Jim Blandy's avatar
      * xfns.c (x_make_gc): After building the GC's for the frame, call · 9c7bb45f
      Jim Blandy authored
      	init_frame_faces to set up the first two faces.
      	* xfaces.c (init_frame_faces): Don't just try to copy the default
      	and mode line faces from some other random frame; instead, consult
      	the normal_gc and reverse_gc members of the frame, and build the
      	faces based on their parameters.
      9c7bb45f
    • Jim Blandy's avatar
      * xfaces.c (Fmake_face_internal): Do nothing for non-X frames. · cb637678
      Jim Blandy authored
      	* dispextern.h (struct face): Add cached_index member.
      	* xfaces.c (get_cached_face): Use it to avoid unnecessary
      	searches of face_vector.
      
      	* xfaces.c (intern_face): Renamed from get_display_face.
      
      	* xfns.c (x_make_gc): After building the GC's for the frame, call
      	init_frame_faces to set up the first two faces.
      	* xfaces.c (init_frame_faces): Don't just try to copy the default
      	and mode line faces from some other random frame; instead, consult
      	the normal_gc and reverse_gc members of the frame, and build the
      	faces based on their parameters.
      
      	Adjust the face computation functions to return frame face ID's,
      	not pointers to display faces; since we call these functions
      	during display construction, we don't want the display faces yet.
      	* xfaces.c (intern_frame_face): New function.
      	(compute_char_face, compute_glyph_face): Apply intern_frame_face
      	to the computed face, and return the frame face's ID, instead of
      	calling intern_face and returning a pointer to a display frame.
      
      	* xfaces.c: Describe the facial data structures.  It took me a
      	while to figure them out; perhaps this will save someone else the
      	trouble.
      
      	* xfaces.c (get_display_face): Use face_eql instead of writing it out.
      cb637678
    • Jim Blandy's avatar
      Arrange to tell redisplay about changes in overlays. · 31b24551
      Jim Blandy authored
      	* 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.
      
      	* xdisp.c (redisplay): If we're doing a thorough redisplay (all
      	windows on all frames involved), go ahead and flush the GC cache -
      	call clear_face_vector.
      
      	* xdisp.c (display_text_line): Apply faces to characters
      	according to overlays and text properties; use
      	compute_char_face and compute_glyph_face to figure out what
      	face to use, and where a new face starts.
      	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
      	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
      	we're implementing the glyph table properly.  If we're not using
      	the default or mode line face, call intern_face to find a display
      	face for the frame face selected by the glyph code.  Implement
      	underlining.  Remove the `font' argument; we have to derive this
      	from the frame and face anyway.  Change all callers.
      	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
      31b24551
    • Jim Blandy's avatar
      * config.h.in: Remove mention of GLYPH datatype; that shouldn't be · 703f2808
      Jim Blandy authored
      	a user option.
      	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
      703f2808
    • Jim Blandy's avatar
      * keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid · 2fc66973
      Jim Blandy authored
      	returning a non-ascii key sequence unless FIRSTONLY is the symbol
      	`non-ascii'.
      2fc66973
    • Jim Blandy's avatar
      * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is · ad163903
      Jim Blandy authored
      	defined everywhere this file is #included; merge the two
      	definitions for defined (SIGIO) and ! defined (SIGIO) into one,
      	which calls reinvoke_input_signal if interrupt_input_pending is
      	set.
      	* keyboard.c (reinvoke_input_signal): New function.
      
      	* keyboard.c (syms_of_keyboard): Doc fix for
      	extra-keyboard-modifiers.
      ad163903
    • Jim Blandy's avatar
      * xdisp.c (display_text_line): Apply faces to characters according · be269961
      Jim Blandy authored
      	to overlays and text properties; use compute_char_face to figure out
      	what face to use, and where a new face starts.
      	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
      	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
      	we're implementing the glyph table properly.  If we're not using
      	the default or mode line face, call intern_face to find a display
      	face for the frame face selected by the glyph code.  Implement
      	underlining.  Remove the `font' argument; we have to derive this
      	from the frame and face anyway.  Change all callers.
      	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
      be269961
    • Jim Blandy's avatar
      * dispextern.h (struct face): Add cached_index member. · 88fd275e
      Jim Blandy authored
      	* xfaces.c (get_cached_face): Use it to avoid unnecessary
      	searches of face_vector.
      88fd275e
    • Jim Blandy's avatar
      * config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER, · 783f85c7
      Jim Blandy authored
      	instead of AC_OUTPUT.
      
      	* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
      	a user option.
      	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
      783f85c7
    • Jim Blandy's avatar
      Arrange to tell redisplay about changes in overlays. · b61982dd
      Jim Blandy authored
      	* 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.
      b61982dd