1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

11819 Commits

Author SHA1 Message Date
Gerd Moellmann
35ff954adb (gen_help_event, kbd_buffer_store_help_event):
Add prototypes.
2000-07-14 13:55:38 +00:00
Gerd Moellmann
8dfd92c9a6 (show_help_echo): Add parameters OBJECT and POS.
if HELP is a function, call it with OBJECT and POS as parameters
to get the help to display.
(gen_help_event, kbd_buffer_store_help_event): New functions.
(kbd_buffer_get_event): Construct the Lisp help-event differently.
(read_char): Call show_help_echo with new parameters.
2000-07-14 13:55:25 +00:00
Kenichi Handa
fc8c47972e (realize_x_face): Make fontset using the base of the
default'face's fontset, not using the default fontset.
2000-07-14 12:19:02 +00:00
Kenichi Handa
0693904a97 *** empty log message *** 2000-07-14 12:07:29 +00:00
Kenichi Handa
dd7b81cf87 *** empty log message *** 2000-07-14 02:08:34 +00:00
Kenichi Handa
74383408f3 (inhibit_iso_escape_detection): New variable.
(syms_of_coding): Make it a Lisp variable.
(detect_coding_iso2022): If inhibit_iso_escape_detection is
nonzero, ignore ISO2022's escape sequence.
2000-07-14 01:56:14 +00:00
Gerd Moellmann
d5aa31d88c *** empty log message *** 2000-07-13 23:56:44 +00:00
Gerd Moellmann
71e5b1b87f (eval_form): Make it externally visible. 2000-07-13 23:45:21 +00:00
Gerd Moellmann
954f97acf6 (eval_form): Add prototype. 2000-07-13 23:44:57 +00:00
Gerd Moellmann
d4e68eea30 (show_help_echo): Use eval_form. Add comment. 2000-07-13 23:44:43 +00:00
Gerd Moellmann
7e8895100b (construct_mouse_click, construct_mouse_wheel)
(construct_drag_n_drop, x_scroll_bar_handle_click)
(w32_read_socket): Always set `arg' member of input_events.
2000-07-13 23:44:20 +00:00
Gerd Moellmann
0b7f07ad9b (dos_rawgetc): Always set `arg' member of input_events. 2000-07-13 23:43:58 +00:00
Gerd Moellmann
0f8aabe948 (construct_mouse_click, x_scroll_bar_to_input_event)
(x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket):
Always set `arg' member of input_events.
(construct_menu_click): Unused function removed.
2000-07-13 23:43:30 +00:00
Stefan Monnier
d7d0dac095 *** empty log message *** 2000-07-13 19:13:53 +00:00
Gerd Moellmann
0f1a9b2356 (x_handle_tool_bar_click): Store the frame in the
frame_or_window slot of TOOL_BAR_EVENT input events instead of
consing.  For prefix events, store the frame in the `arg' slot of
the event, otherwise store the key there.
(XTread_socket): Instead of consing, use the frame_or_window slot
of HELP_EVENTs for the frame, and the `arg' slot for the help
string.
2000-07-13 14:09:50 +00:00
Gerd Moellmann
9979315d68 (menu_highlight_callback): Store help string in the
`arg' member of the input event; don't cons.
(menubar_selection_callback): Use the `arg' slot of input events
to queue additional information, instead of consing.
2000-07-13 14:08:48 +00:00
Gerd Moellmann
9d94022598 (dos_rawgetc): Adapt to change of HELP_EVENTs. 2000-07-13 14:08:34 +00:00
Gerd Moellmann
c8b33aa655 (w32_handle_tool_bar_click): Adapt to changes in
TOOL_BAR_EVENTs.
(w32_read_socket): Adapt to changes in HELP_EVENTs.
2000-07-13 14:08:18 +00:00
Gerd Moellmann
205012787b (menubar_selection_callback): Use the `arg' slot of
input events to queue additional information, instead of consing.
2000-07-13 14:07:57 +00:00
Gerd Moellmann
da8f73681d (kbd_buffer_gcpro): Renamed from
kbd_buffer_frame_or_window.  Now used for all Lisp objects
referenced from the input queue.
(kbd_buffer_store_event): Always use structure assignment for
copying input events.  Record all Lisp objects referenced from
events in kbd_buffer_gcpro.
(kbd_buffer_get_event): Construct Lisp `help-echo' events
differently from input events.  Test for prefix menu_bar_events
and TOOL_BAR_EVENTs differently.  Reset all slots used by an input
event in kbd_buffer_gcpro to nil.
(make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose
frame_or_window is equal to its arg member as prefix events.
(stuff_buffered_input): Reset all slots in kbd_buffer_gcpro
used by an input event to nil.
(init_keyboard): Use two times the size of the input queue
for kbd_buffer_gcpro.
(syms_of_keyboard): Likewise.
2000-07-13 14:07:45 +00:00
Gerd Moellmann
5b50dae19c (handle_USR2_signal, handle_USR1_signal): Use
USER_SIGNAL_EVENT.
2000-07-13 14:07:19 +00:00
Gerd Moellmann
4d92e48d0b (struct input_event): Add member `arg'.
(MENU_BAR_EVENT): Renamed from menu_bar_event.
(USER_SIGNAL_EVENT): Renamed from user_signal.
2000-07-13 14:07:07 +00:00
Gerd Moellmann
0b63625620 (ASET): Remove definition. 2000-07-13 14:06:56 +00:00
Gerd Moellmann
c9f6631ca3 (AREF, ASET, ASIZE): New macros. 2000-07-13 14:06:39 +00:00
Gerd Moellmann
90d36cb174 (AREF, ASIZE): Remove definitions. 2000-07-13 14:06:27 +00:00
Gerd Moellmann
2b6e5b1e14 (AREF): Remove definition. 2000-07-13 14:06:15 +00:00
Gerd Moellmann
d8ee78037a (redraw_overlapped_rows): Add missing local.
(scrolling_window): Remove debug code.
2000-07-12 16:00:36 +00:00
Gerd Moellmann
712eaef29d (struct redisplay_interface): Add parameter
MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function.
(clear_mouse_face): New function pointer member.
2000-07-12 15:11:40 +00:00
Gerd Moellmann
e876ff42b9 (make_current): Preserve the mouse_face_p flag of the
current glyph row.
(update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P.  Set
it when any row is written to that contains glyphs highlighted in
mouse-face.
(update_window): Call the window update end hook with new
parameter MOUSE_FACE_OVERWRITTEN_P.
(direct_output_for_insert): Give up if row contains mouse-face.
2000-07-12 15:10:30 +00:00
Gerd Moellmann
71b8321ed9 (x_update_window_end): Add parameter
MOUSE_FACE_OVERWRITTEN_P.  If set, arrange for a mouse-highlight
redisplay in XTframe_up_to_date.
(x_clear_mouse_face): New function.
(x_redisplay_interface): Add pointer to x_clear_mouse_face.
2000-07-12 15:09:53 +00:00
Gerd Moellmann
64d1e7d383 (try_window_reusing_current_matrix, try_window_id):
Before scrolling, turn off a mouse-highlight in the window
being scrolled.
2000-07-12 15:09:01 +00:00
Stefan Monnier
02010917df (back_comment): Use one switch rather than a few `if's.
Obey open_paren_in_column_0_is_defun_start.
When reverting to the `slow' method, try to nicely handle the case
of nested comments by checking that the comment-starter we found
does indeed match the comment-ender.
(scan_sexps_forward, scan_sexps_forward):
Ignore excessive opening parenthesis rather than throwing an error.
2000-07-12 01:08:46 +00:00
Gerd Moellmann
d76c03ea6b *** empty log message *** 2000-07-11 20:02:36 +00:00
Gerd Moellmann
11f9d6e1a3 (Fsubstitute_command_keys): Handle case that a GC
in Fwhere_is_internal or get_keymap_1 relocates string contents.
2000-07-11 19:59:06 +00:00
Gerd Moellmann
64f26cf542 (x_update_window_begin): No need to turn off the mouse
highlight here.
(show_mouse_face): Set the mouse_face_p flag of glyph rows
depending on whether they contain glyphs highlighted in
mouse-face.
2000-07-11 19:58:43 +00:00
Gerd Moellmann
e4e0bee93c (direct_output_forward_char): Give up if currently
displaying a message instead of the minibuffer contents.

(row_equal_p): Add parameter MOUSE_FACE_P.  If set,
compare the mouse_face_p flags of both rows.
2000-07-11 19:57:54 +00:00
Gerd Moellmann
48b509fe70 (struct glyph_row): Add flag mouse_face_p. 2000-07-11 19:57:18 +00:00
Eli Zaretskii
d55ead189f *** empty log message *** 2000-07-11 07:38:54 +00:00
Eli Zaretskii
16898a5656 (w32_menu_display_help): Call show_help_echo with
non-zero ok_to_overwrite_keystroke_echo argument.
2000-07-11 07:36:21 +00:00
Eli Zaretskii
fcdf3b4749 (menu_help_callback): Call show_help_echo with non-zero
ok_to_overwrite_keystroke_echo argument.
2000-07-11 07:35:39 +00:00
Eli Zaretskii
4cc8ea4a65 (show_help_echo): Update prototype of show_help_echo. 2000-07-11 07:34:51 +00:00
Eli Zaretskii
adc84f484d (show_help_echo): Accept additional parameter
ok_to_overwrite_keystroke_echo.
(read_char): Call show_help_echo with a zero
ok_to_overwrite_keystroke_echo argument.
2000-07-11 07:33:06 +00:00
Gerd Moellmann
4b92c49a81 *** empty log message *** 2000-07-10 20:38:23 +00:00
Gerd Moellmann
209f68d91b (x_fill_stretch_glyph_string): Consume runs of stretch
glyphs instead of a single one.
(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
with new argument list.
(x_set_glyph_string_gc): Make sure the face's GC is valid.
2000-07-10 20:32:14 +00:00
Gerd Moellmann
ef12165928 (try_window_id): If changes are all below what is
displayed in the window, and point is in the window, we still
might have to find point on the display.
2000-07-10 20:31:22 +00:00
Gerd Moellmann
df75b1a379 (get_keymap_1): Add comment that this function can GC.
(where_is_internal_2, where_is_internal_1): Add GCPROs, add
comment that functions can GC.
(Fset_keymap_parent): GCPRO arg KEYMAP.
2000-07-10 14:14:35 +00:00
Eli Zaretskii
4314cf3ec9 (XMenuActivate): After exiting the menu, restore the
echo area message and erase it.
2000-07-10 13:46:32 +00:00
Kenichi Handa
ab49ce154c *** empty log message *** 2000-07-10 04:02:14 +00:00
Kenichi Handa
a921395d87 (Ffontset_info): Make the return value more compatible
with that of Emacs 20.
2000-07-10 04:01:01 +00:00
Stefan Monnier
4cf8d9d5b2 *** empty log message *** 2000-07-09 00:49:34 +00:00