1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
Commit graph

11835 commits

Author SHA1 Message Date
Jason Rumney
212da13bef (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a null title.
(FONT_REGEXP): Remove unused macro, and its sub-components.
(syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts.
2000-07-15 11:56:03 +00:00
Jason Rumney
86fb1a7902 (w32_menu_show): Call free_menubar_widget_value_tree after menu is
finished with.
(add_menu_item): Only consider wv->title as a menu title.
(w32_menu_display_help): Add OBJECT and POS to show_help_echo.
2000-07-15 11:52:21 +00:00
Sam Steingold
178c5d9c65 check default_face before dereferencing 2000-07-14 20:29:04 +00:00
Gerd Moellmann
e5acf0cab8 *** empty log message *** 2000-07-14 18:03:02 +00:00
Gerd Moellmann
c87a7e0f2c (malloc) [emacs]: Define as xmalloc. 2000-07-14 18:00:36 +00:00
Dave Love
6fe533f653 *** empty log message *** 2000-07-14 17:55:09 +00:00
Dave Love
89a1d3feb1 (back_comment): Add null default in switch for pcc. 2000-07-14 17:49:13 +00:00
Gerd Moellmann
bd23a69269 *** empty log message *** 2000-07-14 15:19:14 +00:00
Gerd Moellmann
88a19a908e (Fx_show_tip): Adjust number of parameters
in prototype.
2000-07-14 15:18:45 +00:00
Gerd Moellmann
0634ce9859 (Fx_show_tip): If frame parameters contain a position,
use that instead of the mouse position.  Add parameters DX and DY.
2000-07-14 15:18:29 +00:00
Gerd Moellmann
9662da0b92 *** empty log message *** 2000-07-14 14:01:16 +00:00
Gerd Moellmann
276680c4a7 (FUNCTIONP): New macro.
(internal_condition_case_2, call_function): Add prototypes.
2000-07-14 13:57:22 +00:00
Gerd Moellmann
10b29d414e (internal_condition_case_2): New function. 2000-07-14 13:57:10 +00:00
Gerd Moellmann
0d8b31c0ff (eval_form): GCPRO argument sexpr.
(call_function): New function.
(handle_single_display_prop): Use call_function and FUNCTIONP
instead of checking whether if font_height is a symbol and
using eval_form.
2000-07-14 13:56:56 +00:00
Gerd Moellmann
66ed7d9a15 (menu_highlight_callback): Use
kbd_buffer_store_help_event instead of setting up and input_event
structure manually.
2000-07-14 13:56:26 +00:00
Gerd Moellmann
be01051469 (help_echo_object, help_echo_pos): New variables.
(note_mode_line_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.  Check both
`local-map' and `keymap' properties for changing the cursor
(note_mouse_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.
(note_tool_bar_highlight): Set help_echo_object to nil and
help_echo_pos to -1.
(XTread_socket): Use gen_help_event instead of filling
input_events manually.
(syms_of_xterm): Staticpro help_echo_object.
2000-07-14 13:56:09 +00:00
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