1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-25 19:11:56 +00:00
Commit Graph

12665 Commits

Author SHA1 Message Date
Gerd Moellmann
26dcb81b52 *** empty log message *** 2000-10-31 16:59:46 +00:00
Gerd Moellmann
5b7bc0da05 (read_char) <wrong_kboard>: Make sure that we
process idle timers while waiting for another event.
2000-10-31 16:31:04 +00:00
Gerd Moellmann
0a894bad85 (update_frame_line): Handle case where spaces in
the default face are colored.
2000-10-31 13:32:29 +00:00
Gerd Moellmann
e85ee976fe (redisplay_tool_bar): Don't set fonts_changed_p if
window height hasn't changed.
2000-10-31 12:53:56 +00:00
Jason Rumney
01b220b61a (x_produce_glyphs): Handle composite characters.
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground): Restore old font.
2000-10-31 12:42:51 +00:00
Miles Bader
4e6b720485 (read_minibuf): Reset the undo history just before starting the recursive-edit. 2000-10-31 06:37:58 +00:00
Stefan Monnier
cf9b4b0b2c (x_load_resources): Use the class name in the defaults. 2000-10-30 21:56:17 +00:00
Gerd Moellmann
563f68f11b (menu_face_change_count): New variable.
(Finternal_set_lisp_face_attribute): Increment it for changes
of the `menu' face.
(realize_basic_faces): Reflect changes in the `menu' faces
in menu bars.
2000-10-30 20:46:02 +00:00
Gerd Moellmann
82e274d1d4 (try_scrolling) <PT >= scroll_margin_pos>: Add 1 to the
dy obtained from the iterator's y-position after moving from
scroll_margin_pos to PT; see comment there.
2000-10-30 16:25:15 +00:00
Gerd Moellmann
0dbf9fd270 (safe_eval_handler): Call add_to_log. 2000-10-30 15:43:27 +00:00
Gerd Moellmann
906b3b1495 (resolve_face_name): Handle case that FACE_NAME
is not a symbol or string.
2000-10-30 15:36:36 +00:00
Gerd Moellmann
d4358b37be (echo_area_display): Don't perform a display update from
inside redisplay.  The update will happen anyway at the end of
redisplay, and it can confuse redisplay (GC messages while
redisplaying, for instance.)
2000-10-30 15:26:46 +00:00
Stefan Monnier
70c825df44 *** empty log message *** 2000-10-30 15:21:36 +00:00
Stefan Monnier
0cdd06f849 (re_iswctype, re_wctype_to_bit): Fix braino.
(regex_compile): Catch bogus \(\1\).
2000-10-30 15:20:17 +00:00
Gerd Moellmann
cae71efec1 (x_alloc_nearest_color): Fix last change to compare
RGB values.
2000-10-30 15:17:11 +00:00
Gerd Moellmann
35efe0a116 (x_alloc_nearest_color): If allocation succeeds, and
we have a color cache, check that the cached color equals the
allocated color.  If not, clear the color cache.
2000-10-30 15:13:58 +00:00
Gerd Moellmann
1d3baf7487 *** empty log message *** 2000-10-30 12:51:38 +00:00
Gerd Moellmann
ad4a9a79d2 (displayed_window_lines): Change buffers if necessary.
Fix computation of displayed lines.
2000-10-30 12:51:17 +00:00
Gerd Moellmann
a1d34b1eee (syms_of_keyboard): Change DEFVAR_LISP of
update_menu_bindings to DEFVAR_BOOL.
2000-10-30 12:21:45 +00:00
Kenichi Handa
e62371e929 (Fset_match_data): Be sure to make search_regs always sane. 2000-10-30 04:10:22 +00:00
Kenichi Handa
8040607089 *** empty log message *** 2000-10-30 04:10:07 +00:00
Kenichi Handa
fa0cb51dd0 *** empty log message *** 2000-10-30 01:33:12 +00:00
Kenichi Handa
70737ea907 *** empty log message *** 2000-10-30 01:30:50 +00:00
Kenichi Handa
f076c9a78c (BASE_PURESIZE): Increase to 680000. 2000-10-30 01:16:02 +00:00
Kenichi Handa
4a8009a045 (Foptimize_char_table): Fix arg for CHARSET_DIMENSION. 2000-10-30 01:14:06 +00:00
Jason Rumney
0e4c08e8c8 (bdffont): Add nchars. 2000-10-29 21:02:58 +00:00
Jason Rumney
691a3cb77b (set_bdf_font_info): Set it.
(w32_BDF_TextOut): Swap byte order of double byte characters.
(w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
2000-10-29 21:00:37 +00:00
Jason Rumney
00c9699523 (w32_bdf_per_char_metric): Negate descent.
(w32_cache_char_metrics): Handle possibility that 'x' does not
exist in a BDF font.
(W32_TEXTOUT): w32_BDF_TextOut wants number of bytes not chars.
2000-10-29 20:59:47 +00:00
Jason Rumney
905dfb8ebd (FONT_DESCENT): Negate descent for BDF fonts 2000-10-29 20:57:31 +00:00
Eli Zaretskii
45b84006f3 *** empty log message *** 2000-10-28 17:25:46 +00:00
Eli Zaretskii
25ffac29dc (reassert_line_highlight): Reverse the inverse-video effect
if inverse_video is non-zero.
2000-10-28 17:10:10 +00:00
Eli Zaretskii
70de9f065a (Fframe_parameters): Fix the change from 2000-10-16:
don't override the colors in frame's param_alist, unless they are
unspecified.
2000-10-28 17:07:51 +00:00
Ken Raeburn
ae0b9b4690 * undo.c (record_delete): Check that last_undo_buffer is really a buffer before
applying XBUFFER to it.

* keymap.c (where_is_internal): Pass lisp object, not integer, to Faref.
2000-10-27 23:01:20 +00:00
Ken Raeburn
caf9deeeed * window.h (Fwindow_live_p): Declare. 2000-10-27 22:59:52 +00:00
Stefan Monnier
020676925c * lisp.h (KEYMAPP): New macro.
(get_keymap): Remove.
(get_keymap_1): Rename get_keymap.
* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
* xterm.c (note_mode_line_highlight): Use KEYMAPP.
* xmenu.c (single_submenu): Use KEYMAPP.
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
* w32term.c (note_mode_line_highlight): Use KEYMAPP.
* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
(single_submenu): Use KEYMAPP.
(w32_menu_show, w32_dialog_show): Use TRUE.
* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
* keymap.c (KEYMAPP): Remove (moved to lisp.h).
(Fkeymapp): Use KEYMAPP.
(get_keymap): Rename from get_keymap_1.  Remove old def.
Return t when autoload=0 and error=0 and the keymap needs autoloading.
(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
(Fminor_mode_key_binding): Don't raise an error if the binding
is not a keymap.
(Fuse_global_map, Fuse_local_map): Allow autoloading.
(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
* keyboard.c (read_char): get_keymap_1 -> get_keymap.
Allow Vspecial_event_map to be autoloaded.
(menu_bar_items): Fetch the keymap rather than using keymapp.
(menu_bar_one_keymap): No need to follow func-indirect any more.
(parse_menu_item): get_keymap_1 -> get_keymap.
(tool_bar_items): Fetch the keymap rather than using keymapp.
(read_key_sequence): Use KEYMAPP.
* intervals.c (get_local_map): Use get_keymap rather than following
function-indirections explicitly.
* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
2000-10-27 22:20:19 +00:00
Jason Rumney
f9d80af3ec *** empty log message *** 2000-10-27 19:19:59 +00:00
Jason Rumney
842c80a36f (syms_of_fontset) [WINDOWSNT]: Make default fontsize on w32 10
point, as Windows has oversized fonts.
2000-10-27 18:57:17 +00:00
Jason Rumney
e39649be48 (Fx_create_frame): Make default fontsize on w32 10 point, as Windows
has oversized fonts.
2000-10-27 18:52:35 +00:00
Gerd Moellmann
a3ba27daef Add code from mcheck.c of glibc-1.09.1.
(freehook, reallochook): Handle null pointer arguments.
(__malloc_initialize) [GC_MCHECK]: Call mcheck.
2000-10-27 18:43:39 +00:00
Stefan Monnier
aa3b80cc3f *** empty log message *** 2000-10-27 13:36:15 +00:00
Stefan Monnier
6dcf2d0e0c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
(re_match_2_internal, re_match_2_internal, re_match_2_internal):
Giving in to popular pressure to shut up the compiler with casts.
2000-10-27 13:29:36 +00:00
Gerd Moellmann
e24e84cc9f (x_draw_glyph_string): Treat XA_UNDERLINE_POSITION as a
signed value, and use a default value computed from the font's
maximum descent.
2000-10-27 10:59:20 +00:00
Miles Bader
05ea7ef21a *** empty log message *** 2000-10-27 01:47:24 +00:00
Miles Bader
a66d76d290 (x_draw_glyph_string): Add a workaround so that fonts that specify a
negative underline position can still use underlines.
2000-10-27 01:22:21 +00:00
Miles Bader
f28b75a9b9 (Fpos_visible_in_window_p):
Make POS default to WINDOW's point, not the current buffer's point.
2000-10-27 01:16:47 +00:00
Dave Love
0b95284b91 *** empty log message *** 2000-10-26 22:08:47 +00:00
Dave Love
dfcd7ccfe9 Don't define SYSTEM_MALLOC so that we can find out
when it's necessary.
2000-10-26 22:08:28 +00:00
Gerd Moellmann
8b6d9dc974 (size_window): Compute size difference from sum of old
child window sizes instead of from parent's size.
2000-10-26 20:38:06 +00:00
Gerd Moellmann
6bc92b2e8b *** empty log message *** 2000-10-26 12:46:12 +00:00
Gerd Moellmann
fcab195473 (pos_visible_p): Change current buffer if necessary.
Handle obscured lines at the top of the window.
2000-10-26 12:44:20 +00:00