Gerd Moellmann [Mon, 4 Dec 2000 14:48:32 +0000 (14:48 +0000)]
(Fread_key_sequence): Don't start the busy cursor
timer after having read a key. It's not good for code reading
several keys in a loop, like an input method.
Kenichi Handa [Mon, 4 Dec 2000 06:26:38 +0000 (06:26 +0000)]
(struct font_name): New member registry_priority.
(split_font_name): Initialize the above member to zero.
(concat_font_list): New function.
(font_list): Include fonts of all alternative registries.
(FONT_POINT_SIZE_QUANTUM): New macro.
(better_font_p): Ignore point size difference less than
FONT_POINT_SIZE_QUANTUM. Use registry_prioprity as a last resort.
Kenichi Handa [Mon, 4 Dec 2000 01:20:30 +0000 (01:20 +0000)]
(x_produce_glyphs): If a font for a component of
a composition is not found, use 1 pixel dot ascent and 0 dot
descent value to avoid displaying terribly tall empty boxes.
Stefan Monnier [Sun, 3 Dec 2000 21:39:34 +0000 (21:39 +0000)]
(define-derived-mode): Revived, moved from easy-mmode.el.
(derived-mode-p): New function.
(derived-mode-make-docstring): Add `docstring' argument.
Use it if available and complete it if necessary.
Jason Rumney [Sat, 2 Dec 2000 21:05:01 +0000 (21:05 +0000)]
(x_estimate_mode_line_height): If `mode-line' face hasn't a font, use
that of the frame, as drawing glyphs does.
(note_mouse_highlight): Change the cursor shape on the vertical
border between windows [not enabled].
Jason Rumney [Sat, 2 Dec 2000 21:02:27 +0000 (21:02 +0000)]
(Fx_create_frame): Reintroduce the call to face-set-after-frame-defaults.
(Vx_window_horizontal_drag_shape): New variable.
(syms_of_xfns): DEFVAR_LISP it.
(x_set_mouse_color): Create frame's horizontal_drag_cursor [not enabled].
Eli Zaretskii [Sat, 2 Dec 2000 15:33:30 +0000 (15:33 +0000)]
(texinfo-open-quote, texinfo-close-quote):
New defcustoms.
(texinfo-insert-quote): Don't call tex-insert-quote, to avoid
autoloading tex-mode; instead, do the same manually. Use
texinfo-open-quote and texinfo-close-quote. Insert literal quote
with numeric argument. Docstring fix.
(toplevel): Require cl when compiling.
Jason Rumney [Sat, 2 Dec 2000 14:38:57 +0000 (14:38 +0000)]
(w32_bdf_per_char_metric): Dereference pointer correctly for single
byte character case.
(w32_per_char_metric): Do not try to make any assumptions about the
metrics of BDF fonts.
Gerd Moellmann [Fri, 1 Dec 2000 22:15:12 +0000 (22:15 +0000)]
(x_calc_absolute_position): Don't subtract menubar's
height for YNegative.
(x_calc_absolute_position) [USE_MOTIF]: Use the column widget's
height; also see comment there.
Gerd Moellmann [Fri, 1 Dec 2000 20:45:45 +0000 (20:45 +0000)]
(coordinates_in_window): Handle computations for
positions on the vertical bar and fringes differently for
window-system frames. Consider some pixels near the vertical bar
as on the bar if the frame doesn't have vertical scroll bars.
Associate positions between mode or header lines with the
right window, the left one.
Gerd Moellmann [Fri, 1 Dec 2000 19:32:27 +0000 (19:32 +0000)]
(struct saved_window): Add members orig_top and
orig_height.
(SAVED_WINDOW_VECTOR_SIZE): Increment to 16.
(save_window_save, Fset_window_configuration): Save/restore
window's orig_top and orig_height.
Miles Bader [Fri, 1 Dec 2000 04:37:30 +0000 (04:37 +0000)]
(image-file-name-regexp): Automatically add upper-case variants of each
filename extension in `image-file-name-extensions', since they seem to
be common.
Gerd Moellmann [Thu, 30 Nov 2000 21:57:27 +0000 (21:57 +0000)]
(echo_area_display): If cursor is in the echo area, make
sure that the next redisplay displays the minibuffer, so that
the cursor will be replaced with what the minibuffer wants.
Gerd Moellmann [Thu, 30 Nov 2000 19:52:51 +0000 (19:52 +0000)]
Test USE_TOOLKIT_SCROLL_BARS everywhere with #ifdef and
#ifndef instead of using #if.
(XTread_socket) [USE_MOTIF] <KeyPress>: Call XmIsScrollBar only if
USE_TOOLKIT_SCROLL_BARS is defined.