1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00
Commit graph

13529 commits

Author SHA1 Message Date
Gerd Moellmann
f3f053f31f *** empty log message *** 2001-02-16 15:55:20 +00:00
Gerd Moellmann
1c686c993f (set_window_buffer): Fix last change. 2001-02-16 15:50:33 +00:00
Gerd Moellmann
25237df59e *** empty log message *** 2001-02-16 15:16:50 +00:00
Gerd Moellmann
bc41dd5a0a (set_window_buffer): Set window's vscroll to 0. 2001-02-16 15:12:14 +00:00
Gerd Moellmann
dad7558892 (coordinates_in_window): Increase width of area
where the vertical line can be dragged.
2001-02-16 14:57:10 +00:00
Gerd Moellmann
c220b7538e *** empty log message *** 2001-02-16 13:21:43 +00:00
Gerd Moellmann
c56b1c1bc9 *** empty log message *** 2001-02-16 13:17:38 +00:00
Gerd Moellmann
eb79f5cc4d (x_set_glyph_string_background_width): Extend the
background face to the end of the drawing area in the text
area, only.
2001-02-16 12:44:32 +00:00
Gerd Moellmann
bf0ab8a291 (x_insert_glyphs): Call window_box_left to obtain
the left x-coordinate of the area to shift.
2001-02-16 12:36:34 +00:00
Gerd Moellmann
7728f17b18 (direct_output_for_insert): Recognize more cases where
glyphs can be written instead of being inserted.
2001-02-16 12:36:03 +00:00
Gerd Moellmann
e187cf7170 (handle_single_display_prop): Set iterator's position
to where the `display' property starts, like for images.
(dump_glyph): New function.
(dump_glyph_row): Use it.  Dump info about marginal areas.
2001-02-16 12:35:09 +00:00
Gerd Moellmann
76846b315d (directory_files_internal): Set result list to nil
before retrying.
2001-02-16 09:55:39 +00:00
Kenichi Handa
0fc71a7725 (ccl_driver) [CCL_ReadMultibyteChar2]: If SRC points an
invalid mulitbyte sequence, treat *SRC as a character of
eight-bit-graphic.
2001-02-15 13:10:38 +00:00
Eli Zaretskii
25078b542c (Fset_text_properties): Doc fix. 2001-02-15 12:36:44 +00:00
Gerd Moellmann
8399f8a0cd (update_text_area): Undo change of 2001-01-12. 2001-02-15 12:30:16 +00:00
Dave Love
9a2a6f7352 *** empty log message *** 2001-02-15 10:12:44 +00:00
Dave Love
5549605438 Comment fixes. 2001-02-14 23:51:03 +00:00
Dave Love
8ca3766acc Doc and message fixes. 2001-02-14 23:50:05 +00:00
Dave Love
41a9839149 Fix problems confusing authors.el. 2001-02-14 20:23:45 +00:00
Andrew Innes
bf853fee22 (w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
Emacs frame above the screen size.
2001-02-14 13:01:09 +00:00
Gerd Moellmann
78c663d858 (reseat_1): Set iterator's end_charpos to ZV. 2001-02-14 11:39:05 +00:00
Gerd Moellmann
0a41199524 (del_range_1, del_range_byte, del_range_both): Handle
case that TO ends up beyond ZV after running before-change-functions.
2001-02-13 16:29:20 +00:00
Gerd Moellmann
5ddc1b75c6 (window_loop) <GET_BUFFER_WINDOW>: Prefer to return
the selected window if it is showing the buffer in question.
2001-02-13 15:44:58 +00:00
Gerd Moellmann
2e6621ca8c (best_matching_font): New parameter width_ratio.
Multiply avgwidth by width_ratio.
(choose_face_font): Call best_matching_font with width_ratio
calculated from the column width of C.
2001-02-13 15:23:17 +00:00
Gerd Moellmann
7cc9f69fd9 (directory_files_internal): Initialize errno.
(toplevel): Include errno.h.
2001-02-13 15:14:22 +00:00
Andrew Innes
60222d69c6 (x_produce_image_glyph): Pay attention to the case that
face->box_line_width is negative.
(x_produce_stretch_glyph): Likewise.
(x_produce_glyphs): Likewise.
(x_estimate_mode_line_height): Likewise.
(x_draw_glyph_string_background): Likewise.
(x_draw_glyph_string_foreground): Likewise.
(x_draw_composite_glyph_string_foreground): Likewise.
(x_draw_glyph_string_box): Likewise.
(x_draw_image_foreground): Likewise.
(x_draw_image_relief): Likewise.
(x_draw_image_foreground_1): Likewise.
(x_draw_image_glyph_string): Likewise.
2001-02-12 14:50:08 +00:00
Kenichi Handa
9804b84670 *** empty log message *** 2001-02-09 12:35:22 +00:00
Kenichi Handa
08f9976fd4 (struct face): Add comment for how to handle a negative value in
box_line_width.
2001-02-09 12:35:06 +00:00
Kenichi Handa
89624b8b7c (Finternal_set_lisp_face_attribute): The value of :box
and :line-width can be negative.
(realize_x_face): The value of attrs[LFACE_BOX_INDEX] can be
negative.
2001-02-09 12:34:17 +00:00
Kenichi Handa
ea2ba0d40e (x_produce_image_glyph): Pay attention to the case that
face->box_line_width is negative.
(x_produce_stretch_glyph): Likewise.
(x_produce_glyphs): Likewise.
(x_estimate_mode_line_height): Likewise.
(x_draw_glyph_string_background): Likewise.
(x_draw_glyph_string_foreground): Likewise.
(x_draw_composite_glyph_string_foreground): Likewise.
(x_draw_glyph_string_box): Likewise.
(x_draw_image_foreground): Likewise.
(x_draw_image_relief): Likewise.
(x_draw_image_foreground_1): Likewise.
(x_draw_image_glyph_string): Likewise.
2001-02-09 12:33:58 +00:00
Jason Rumney
49be9f70fb (w32_encode_char): Treat eight bit graphic and control
characters the same as ASCII and latin-1.
(x_display_and_set_cursor): Check for the focus	frame's selected
window instead of selected_window.
(x_after_update_window_line): Don't clear if frame's internal
border width is zero.
(x_new_font): Don't change a tooltip's size.
(w32_initialize): Set char_ins_del_ok to 1.
2001-02-09 10:03:42 +00:00
Jason Rumney
aca583b261 (init-environment): Duplicate local string before putenv. 2001-02-09 09:57:04 +00:00
Jason Rumney
dc2202434b (Fx_show_tip): Fix calls to make_number.
(x_set_font): If font hasn't changed, avoid recomputing
	faces and other things.
	(x_set_tool_bar_lines): Do nothing if frame is
	minibuffer-only,
	(Fx_create_frame): Add the tool bar height to the frame
	height.
	(x_create_tip_frame): Prevent changing the tooltip's
	background color by specifying a color for the default font
	in .Xdefaults.
	(Qcancel_timer): New variable.
	(syms_of_w32fns): Initialize and staticpro it.
	(Fx_hide_tip, Fx_show_tip): Use it.
	(Fx_show_tip): Make sure to set tip_timer to nil when canceling
	the timer.
	(toplevel): Lisp code for generating parts of syms_of_w32fns removed.
(Fx_show_tip): Fix calls to make_number.
	(x_set_font): If font hasn't changed, avoid recomputing
	faces and other things.
	(x_set_tool_bar_lines): Do nothing if frame is
	minibuffer-only,
	(Fx_create_frame): Add the tool bar height to the frame
	height.
	(x_create_tip_frame): Prevent changing the tooltip's
	background color by specifying a color for the default font
	in .Xdefaults.
	(Qcancel_timer): New variable.
	(syms_of_w32fns): Initialize and staticpro it.
	(Fx_hide_tip, Fx_show_tip): Use it.
	(Fx_show_tip): Make sure to set tip_timer to nil when canceling
	the timer.
	(toplevel): Lisp code for generating parts of syms_of_w32fns removed.
2001-02-09 09:55:43 +00:00
ShengHuo ZHU
555e35d2da 2001-02-09 ShengHuo ZHU <zsh@cs.rochester.edu>
* charset.c (Fstring): A typo.
2001-02-09 06:13:57 +00:00
Kenichi Handa
603a8d59d2 (Fchar_to_string): If CHARACTER is less than 256,
return a unibyte string.
2001-02-09 05:32:46 +00:00
Kenichi Handa
5729c92fb2 (Fstring): If all arguments are less than 256, return a unibyte
string.
2001-02-09 05:32:24 +00:00
Kenichi Handa
e47a1c3370 *** empty log message *** 2001-02-09 05:29:17 +00:00
Kenichi Handa
d280ccb69e (code_convert_region): After detecting a coding, if
nothing found, set coding->composing to COMPOSITION_NO.
(decode_coding_string): Likewise.
2001-02-08 23:29:44 +00:00
Kenichi Handa
19c92c9426 *** empty log message *** 2001-02-08 23:29:18 +00:00
Stefan Monnier
d8e675f595 (w32_set_scroll_bar_thumb): Use double' for range' to avoid overflow. 2001-02-08 15:07:23 +00:00
Kenichi Handa
740f080d09 (parse_str_to_multibyte): New function. 2001-02-07 04:24:49 +00:00
Kenichi Handa
347abaf721 (parse_str_to_multibyte): Extern it. 2001-02-07 04:24:28 +00:00
Kenichi Handa
a76ef35dce (print_string): If we are going to print a unibyte
string into a multibyte buffer, convert the string to multibyte by
str_to_multibyte.
2001-02-07 04:24:14 +00:00
Kenichi Handa
bd503487d8 *** empty log message *** 2001-02-07 04:23:59 +00:00
Andrew Innes
a8370d728c (select_palette): Do nothing if palette hasn't yet
been created.  It seems we can get sent window messages such as
WM_ERASEBKGND before we properly update a frame.
2001-02-06 22:20:12 +00:00
Gerd Moellmann
c363a1d6fd (update_frame_line): Rename parameter FRAME to F.
Avoid some unnecessary cursor positioning.
2001-02-06 13:58:18 +00:00
Gerd Moellmann
a08332c0e5 (split_font_name): Compute numeric value of
XLFD_AVGWIDTH.
(LFACE_AVGWIDTH): New macro.
(LFACEP): Use AREF.
(check_lface_attrs): Check LFACE_AVGWIDTH.
(lface_fully_specified_p): Don't check LFACE_AVGWIDTH.
(set_lface_from_font_name): Set LFACE_AVGWIDTH.
(merge_face_vectors): Check LFACE_AVGWIDTH.
(Finternal_make_lisp_face): Use AREF.
(xm_set_menu_resources_from_menu_face)
(xl_set_menu_resources_from_menu_face): Check LFACE_AVGWIDTH.
(Finternal_lisp_face_empty_p): Use AREF.
(lface_same_font_attributes_p): Compare LFACE_AVGWIDTH.
(better_font_p, exact_face_match_p): Add parameter AVGWIDTH.
Compare average widths..
(best_matching_font): Arrange for comparing average widths.
2001-02-05 20:01:01 +00:00
Gerd Moellmann
670019ba28 (enum lface_attribute_index): Add
LFACE_AVGWIDTH_INDEX (invisible from Lisp).
2001-02-05 19:58:32 +00:00
Dave Love
5cb3c8d44c *** empty log message *** 2001-02-05 17:47:32 +00:00
Dave Love
d665e35445 Revert last change following loadup.el change. 2001-02-05 17:41:40 +00:00