Commit Graph

679 Commits

Author SHA1 Message Date
Richard M. Stallman
301d4a3f34 (read_char_minibuf_menu_prompt): Don't list equivalent key bindings here. 2002-05-20 14:50:25 +00:00
Ken Raeburn
c60a57d71c * keyboard.c (echo_char, record_char, parse_modifiers_uncached)
(parse_modifiers, apply_modifiers, Fevent_convert_list)
(parse_solitary_modifier, Fexecute_extended_command): Use
SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
2002-05-20 08:05:55 +00:00
Juanma Barranquero
4052e7bb0c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. 2002-05-16 11:53:41 +00:00
Stefan Monnier
fa11334196 (read_char_x_menu_prompt): Use an equivalent but more meaningful test.
(read_char_minibuf_menu_prompt): Fix typo.
2002-05-15 22:34:57 +00:00
Jason Rumney
406b073da1 (make_lispy_event) <mouse-wheel>: Set count to 1
for event-click-count.
2002-05-04 22:13:53 +00:00
Andrew Choi
e0f712ba55 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Richard M. Stallman
e1204d39fc (command_loop_1): Don't call start_hourglass
or cancel_hourglass when executing a macro.
2002-04-13 17:48:10 +00:00
Gerd Moellmann
7d60ad8af0 (Qleft_margin, Qright_margin): Declare.
(make_lispy_event): Deal with mouse events in margins.
2002-04-12 09:35:34 +00:00
Stefan Monnier
781347899e (gen_help_event): int/Lisp_Object confusion. 2002-04-12 05:55:04 +00:00
Stefan Monnier
2e1a49ad09 (command_loop_1): Turn off transient-mark-mode rather
than deactivating the mark if tmm is set to `lambda'.
(gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event):
Use a single event for HELP_EVENT.
(Fexecute_extended_command): Save last_point_position.
2002-04-12 05:50:15 +00:00
Pavel Janík
0b9a1d3dce Fix comment. 2002-04-03 08:36:56 +00:00
Stefan Monnier
4c8bc89479 (make_lispy_event): Handle unknown keysyms together
with system-specific keysyms.  Use it also for unknown function keys.
2002-04-03 04:50:28 +00:00
Eli Zaretskii
5d12f14d6c (read_char): If the event was Qselect_window,
restore timer_idleness_start_time to its previous value.
2002-04-02 15:53:38 +00:00
Pavel Janík
a697f886b4 (Qselect_window): New symbol.
(head_table): Use it.
(keys_of_keyboard): Bound select-window event to handle-select-window.
(kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
2002-04-01 13:42:32 +00:00
Pavel Janík
27fd22dc72 Fix typos. 2002-03-24 20:29:38 +00:00
Kim F. Storm
fd6463412b (menu_bar_items): Mostly undo 2002-02-20 patch, so
menu-bar bindings in keymap and local-map properties _are_ used.
But try keymap property first in accordance with 2002-01-03 patch.
Added comment describing why this is not always reliable.
(tool_bar_items): Ditto for tool-bar.
2002-03-21 21:33:31 +00:00
Jan Djärv
4ebc27a5e3 Added Emacs event save_session_event. 2002-03-10 16:16:38 +00:00
Gerd Moellmann
0d121f7c6a (echo_char): Make sure to add a separator between
keys even if echo_dash hasn't been called.
2002-03-08 11:34:25 +00:00
Gerd Moellmann
678e9d18b9 (echo_prompt, echo_char, echo_dash, echo_now)
(cancel_echoing, echo_length, echo_truncate): Changed to
work with new kboard definition.
(echo_now): Use message3_nolog instead of message2_nolog.
2002-03-06 15:55:11 +00:00
Stefan Monnier
31ade731e6 Change defvar_int def and vars to use EMACS_INT instead of just int. 2002-03-04 23:41:00 +00:00
Kim F. Storm
a34cb674af (command_loop_1): Use Fremap_command for command remapping;
now try command remapping for all symbols.
2002-02-23 22:03:17 +00:00
Kim F. Storm
15fdc2e38b (kbd_buffer_get_event) [WINDOWSNT]: Corrected
composing of language-change event.
2002-02-20 23:01:48 +00:00
Kim F. Storm
9de461813d (menu_bar_items): Don't include keymap or local-map
bindings at PT when building menu (the menu is not updated often
enough for this to work reliable).
(tool_bar_items): Likewise.
(current_active_maps): Removed unused (and faulty) function.
2002-02-20 14:52:54 +00:00
Pavel Janík
6bf4d74d03 Do not include "systime.h" twice. 2002-02-16 09:51:31 +00:00
Richard M. Stallman
9250165248 (Fthis_command_keys, Fthis_command_keys_vector)
(Fthis_single_command_keys, Fthis_single_command_raw_keys)
(Fclear_this_command_keys): Doc fixes.
2002-02-13 16:23:08 +00:00
Kim F. Storm
8b9940e66c (Vthis_original_command): New variable.
(syms_of_keyboard): DEFVAR_LISP it.
(command_loop_1): Set it, and perform command remapping.
2002-02-06 22:59:56 +00:00
Pavel Janík
d8e2d5ba90 (recursive_edit_1): Call cancel_hourglass unconditionally. 2002-02-06 22:41:43 +00:00
Pavel Janík
4fbcc9b1eb (command_loop_1) [HAVE_X_WINDOWS]: Call cancel_hourglass unconditionally. 2002-02-02 10:11:45 +00:00
Pavel Janík
f95c4fe5fa Fix typo. 2002-01-31 06:57:08 +00:00
Pavel Janík
a534ddab16 (parse_tool_bar_item): Remove duplicated prototypes. 2002-01-26 17:06:55 +00:00
Eli Zaretskii
a978004d1f (record_char): Fix a typo in a comment. 2002-01-24 17:18:35 +00:00
Pavel Janík
5cb6905db7 (read_key_sequence): Remove unused variable `extra_maps'.
Fix typo.
2002-01-13 10:16:17 +00:00
Kim F. Storm
7d1c48661d (read_key_sequence): Fixed cast of submaps arg to bcopy. 2002-01-03 11:30:57 +00:00
Richard M. Stallman
4cbedc160b (read_key_sequence): Handle the keymap property before minor mode maps. 2002-01-02 21:54:11 +00:00
Kim F. Storm
090c68b9a4 (record_char): Ignore duplicate help-echo events only
separated by mouse-movement.  When tracking mouse, only record
first and last mouse-movement event in same window.
Don't record mouse-movement events in keyboard macros.
2001-12-25 23:38:23 +00:00
Pavel Janík
7406e9889e (head_table): Add missing braces around initializer. 2001-12-18 06:25:27 +00:00
Richard M. Stallman
1ca6a9c4cc (syms_of_keyboard) <double-click-fuzz>: Doc fix. 2001-12-16 03:53:05 +00:00
Stefan Monnier
7189cad8a1 (kbd_buffer_store_event): Fix interrupt_signal prototype.
Pass a dummy argument when calling interrupt_signal.
(parse_menu_item): Mark disabled items before checking for empty def.
(read_char_minibuf_menu_prompt): Make safety more visible.
(read_key_sequence): Add a `first_unbound' variable.
Use it to detect C-c ESC ESC ESC ESC ... cases and drop the
unbound prefix as soon as we can detect it.
2001-12-05 02:51:12 +00:00
Stefan Monnier
7a6a97d7b9 (make_lispy_event): Check integerness and fix Lisp_Object/int mixup. 2001-11-06 15:07:31 +00:00
Richard M. Stallman
d31053f96f (read_char): Use Fcar and Fcdr, not Fnth.
(record_char): Likewise.

(make_lispy_event): Don't insist a drag event must move to a different
buffer position.  Instead, check for moving at least double_click_fuzz.
2001-11-05 04:20:14 +00:00
Richard M. Stallman
cf24f894b0 (echo-area-clear-hook): Undo Oct 29 change. 2001-11-05 03:40:14 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Pavel Janík
fa1361cbef (lucid-menu-bar-dirty-flag): Doc fix.
(last-input-char): Revert doc-string to be the same as the doc-string of
`last-input-event'.
2001-10-31 10:57:06 +00:00
Richard M. Stallman
a064684d01 (Finput_pending_p): Doc fix. 2001-10-30 18:34:21 +00:00
Pavel Janík
74e79967f5 (Finput_pending_p): Fix typo in doc-string.
(echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it.
2001-10-29 17:53:18 +00:00
Pavel Janík
4707d2d079 Change doc-string comments to new style' [w/doc:' keyword].
Fix typos in comments.
2001-10-28 18:50:45 +00:00
Miles Bader
38623e24a8 (Ftrack_mouse): Add usage: string to doc string. 2001-10-21 15:23:58 +00:00
Ken Raeburn
f3fbd15535 Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
2001-10-16 09:09:51 +00:00
Pavel Janík
a87414f993 (Fcommand_execute): Remove unnecessary prototype (it is already prototyped
in included lisp.h).
2001-10-14 16:03:03 +00:00
Stefan Monnier
bdb7aa47e4 (map_prompt): Remove.
(read_char_x_menu_prompt, read_char_minibuf_menu_prompt): Use Fkeymap_prompt.
2001-10-08 11:13:04 +00:00