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
Andrew Innes
193fba8770
*** empty log message ***
2001-02-05 16:59:20 +00:00
Andrew Innes
0533c860f2
($(EMACS)): Use $(THISDIR) instead of . in
...
invocation of temacs, to work with Windows 2000.
(bootstrap-emacs): Ditto.
2001-02-05 16:57:21 +00:00
Gerd Moellmann
7a58ab59f4
(x_display_and_set_cursor): Check for the focus
...
frame's selected window instead of selected_window.
2001-02-05 15:48:00 +00:00
Gerd Moellmann
e89aaabdcb
(try_scrolling): If point is in the line below the
...
window, make sure to move the iterator at least a canonical
char height down.
2001-02-05 13:02:51 +00:00
Gerd Moellmann
e16f52ce8f
*** empty log message ***
2001-02-05 12:24:27 +00:00
Gerd Moellmann
f53df7de16
(Fmove_to_window_line): Don't add 1 if window is
...
vscrolled.
2001-02-05 12:24:00 +00:00
Kenichi Handa
3116502899
(CCL_WRITE_CHAR): Check if CH is valid or not. If
...
invalid, execute CCL_INVALID_CMD.
(ccl_driver): If the CCL program is terminated because of
CCL_STAT_INVALID_CMD, copy the remaining source data to the
destination instead of throwing them away.
2001-02-05 01:20:55 +00:00
Kenichi Handa
789ce87553
*** empty log message ***
2001-02-05 01:20:37 +00:00
Stefan Monnier
85eb236c0a
*** empty log message ***
2001-02-02 18:21:56 +00:00
Gerd Moellmann
79fb38c035
*** empty log message ***
2001-02-02 15:28:28 +00:00
Gerd Moellmann
1d09060524
(x_set_font): If font hasn't changed, avoid recomputing
...
faces and other things.
2001-02-02 15:27:55 +00:00
Gerd Moellmann
20b28f82e4
*** empty log message ***
2001-02-02 12:32:16 +00:00
Gerd Moellmann
7eee47cc5e
(get_next_display_element): Fix case of empty
...
display table entry.
2001-02-02 11:51:06 +00:00
Eli Zaretskii
eb24d0bfe7
(Fconstrain_to_field): Doc fix.
2001-02-02 07:54:48 +00:00
Eli Zaretskii
6a3f48c7ea
(Fclear_face_cache): Rename the `thorougly' argument
...
into `thoroughly', to make it consistent with the doc string.
2001-02-02 07:50:18 +00:00
Eli Zaretskii
5a72551e18
(Fenlarge_window, Fshrink_window): Doc fix.
2001-02-02 07:42:05 +00:00
Gerd Moellmann
0353b28fe4
(search_buffer): Call set_search_regs with a byte
...
position, not a character position.
2001-02-01 19:21:52 +00:00
Gerd Moellmann
01acdb05c3
*** empty log message ***
2001-02-01 15:37:03 +00:00
Gerd Moellmann
e870b7bad6
(x_set_tool_bar_lines): Do nothing If frame is
...
minibuffer-only,
2001-02-01 15:01:11 +00:00
Eli Zaretskii
e86b51338d
(Fmodify_frame_parameters): Doc fix.
2001-02-01 14:09:49 +00:00