aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (ECHOBUFSIZE): Removed.Gerd Moellmann2002-03-061-8/+3
| | | | | (struct kboard): Member echoptr removed, member echobuf renamed to echo_string.
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-1/+1
|
* Fix typos.Pavel Janík2002-02-131-3/+3
|
* (clear_waiting_for_input): Remove duplicated prototype.Pavel Janík2001-11-161-1/+0
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-0/+1
| | | | with lisp system changes.
* (map_prompt): Remove.Stefan Monnier2001-10-081-2/+0
|
* More commentary about the role of kbd_macro_end.Eli Zaretskii2001-09-071-1/+4
|
* * lisp.h (KEYMAPP): New macro.Stefan Monnier2000-10-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (quit_throw_to_read_char): Declare NO_RETURN.Gerd Moellmann2000-09-251-1/+1
|
* (gen_help_event): Change prototype.Gerd Moellmann2000-08-211-1/+1
|
* (kbd_buffer_events_waiting): Add prototype.Eli Zaretskii2000-08-091-0/+1
|
* (menu_item_eval_property): Declare.Ken Raeburn2000-08-081-0/+1
|
* (show_help_echo, gen_help_event): Change prototypes.Gerd Moellmann2000-07-181-2/+3
|
* (gen_help_event, kbd_buffer_store_help_event):Gerd Moellmann2000-07-141-1/+4
| | | | Add prototypes.
* (show_help_echo): Update prototype of show_help_echo.Eli Zaretskii2000-07-111-1/+1
|
* (show_help_echo): Declare.Stefan Monnier2000-07-051-0/+1
|
* (poll_for_input_1): Declare.Dave Love2000-06-201-0/+3
|
* (polling_for_input): Removed.Gerd Moellmann2000-01-251-3/+0
|
* Use XCAR and XCDR.Ken Raeburn1999-09-111-7/+7
|
* ChangeGerd Moellmann1999-09-051-1/+1
| | | | | `top-line' and `top_line' to `header-line' and `header_line'. Likewise for similar spellings.
* (POSN_STRING): New.Gerd Moellmann1999-07-211-1/+6
|
* (parse_modifiers): Declare prototype.Geoff Voelker1998-12-021-0/+1
|
* (struct kboard): New elts Vreal_last_command and Vlast_prefix_arg.Richard M. Stallman1998-06-071-0/+7
|
* Add more prototypes.Andreas Schwab1998-04-141-1/+1
|
* (item_properties): New variable.Richard M. Stallman1998-03-271-0/+33
| | | | (ITEM_PROPERTY_...): New macros.
* Add prototypes and more function declarations.Andreas Schwab1997-11-211-5/+36
|
* (num_input_events, num_nonmacro_input_events):Richard M. Stallman1997-05-191-2/+2
| | | | Renamed from ..._input_chars.
* Removed support for !MULTI_FRAME.Karl Heuer1996-09-011-3/+0
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (struct kboard): Add Voverriding_terminal_local_map.Karl Heuer1995-06-161-0/+7
|
* (struct kboard): New member system_key_syms.Karl Heuer1995-06-091-0/+3
|
* (struct kboard): New member Vlast_command.Karl Heuer1995-06-091-0/+4
|
* (Vlucid_menu_bar_dirty_flag): Declare this variable.Karl Heuer1995-06-091-0/+3
| | | | (Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.
* (struct kboard): member Vprefix_arg restored, replacingKarl Heuer1995-06-071-13/+2
| | | | prefix_factor, prefix_value, prefix_sign, and prefix_partial.
* (struct kboard): New member Vdefault_minibuffer_frame.Karl Heuer1995-05-091-0/+3
|
* (struct kboard): New member Vsystem_key_alist.Karl Heuer1995-04-241-0/+3
|
* Comment changes.Karl Heuer1995-04-111-1/+11
|
* (single_kboard): Renamed from kboard_locked. All refs renamed.Richard M. Stallman1995-04-101-0/+133
| | | | | | | | (struct kboard): Renamed from struct KBOARD. Move flag fields to the end, and make them chars. Delete the `unused' field. (KBOARD, etc): Moved from lisp.h.
* (EVENT_HAS_PARAMETERS): Use type test macros.Karl Heuer1994-09-271-2/+1
|
* (polling_for_input): Declared.Richard M. Stallman1994-08-281-0/+3
|
* (map_prompt): Declared.Richard M. Stallman1994-04-161-0/+1
|
* * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): NewJim Blandy1993-07-051-0/+4
| | | | accessors.
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * keyboard.h (internal_last_event_frame): This should be extern,Jim Blandy1993-03-141-1/+1
| | | | dummy.
* Use the term `scroll bar', instead of `scrollbar'.Jim Blandy1993-03-021-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed. Don't generate switch-frame events by checking Vlast_event_frame; use a separate variable for that bookkeeping. In order to generate them properly, we may need to fiddle with it. * keyboard.c (internal_last_event_frame): New variable. (command_loop_1): Check internal_last_event_frame, not Vlast_event_frame. (read_char, kbd_buffer_store_event): Set both Vlast_event_frame and internal_last_event_frame. (kbd_buffer_get_event): Check internal_last_event_frame to decide whether to generate a switch-frame event. Set Vlast_event_frame after each event. (init_keyboard): Initialize both Vlast_event_frame and internal_last_event_frame. * keyboard.h (internal_last_event_frame): Add extern declaration for this. * frame.c (Vlast_event_frame): Remove external declaration for this. (Fselect_frame): Set internal_last_event_frame to Qnil to force a switch-frame event, not Vlast_event_frame; the latter is supposed to convey information to the user.
* JimB's changes since January 18thJim Blandy1993-01-261-2/+1
|
* * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar,Jim Blandy1992-12-241-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qabove_handle, Qhandle, Qbelow_handle): New symbols. (make_lispy_event): New code to build scrollbar clicks. (make_lispy_movement): New code to handle scrollbar movement. (head_table): Include Qscrollbar_movement in the event heads. (syms_of_keyboard): Init and staticpro Qvertical_scrollbar, Qabove_handle, Qhandle, and Qbelow_handle. * keyboard.h (Qscrollbar_movement): Declare this along with the other event types. * lisp.h (Qvertical_scrollbar): Declare this. * window.c (window_from_scrollbar): New function. * xterm.h (struct x_display): Delete v_scrollbar, v_thumbup, v_thumbdown, v_slider, h_scrollbar, h_thumbup, h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height fields. * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part, Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete interface. (head_table): Removed from here as well. (syms_of_keyboard): And here. * keyboard.h: And here. (POSN_SCROLLBAR_BUTTON): Removed. * xscrollbar.h: File removed - no longer necessary. * xfns.c: Don't #include it any more. (Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted. (syms_of_xfns): Don't initialize or staticpro them. (gray_bits): Salvaged from xscrollbar.h. (x_window_to_scrollbar): Deleted. (x_set_horizontal_scrollbar): Deleted. (enum x_frame_parm, x_frame_parms): Remove references to x_set_horizontal_scrollbar. (x_set_foreground_color, x_set_background_color, x_set_border_pixel): Remove special code to support scrollbars. (Fx_create_frame): Remove old scrollbar setup code. (install_vertical_scrollbar, install_horizontal_scrollbar, adjust_scrollbars, x_resize_scrollbars): Deleted. * xterm.c (construct_mouse_click): This doesn't need to take care of scrollbar clicks anymore. (XTread_socket): Remove old code to support scrollbars. Call new functions instead for events which occur in scrollbar windows. (XTupdate_end): Remove call to adjust_scrollbars; the main redisplay code takes care of that now. (enum window_type): Deleted. * ymakefile: Note that xfns.o no longer depends on xscrollbar.h.
* * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,Jim Blandy1992-10-311-0/+5
| | | | Fmouse_click_p, read_char): Add external declarations for these.
* * keyboard.h (this_command_keys): Extern declaration changed. Doc fix.Jim Blandy1992-10-191-3/+6
|