From: Stefan Monnier Date: Fri, 11 Apr 2003 23:44:43 +0000 (+0000) Subject: (head_table): Use switch-frame as event_kind for select-window. X-Git-Tag: ttn-vms-21-2-B4~10539 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6901b111fe763ea2519a383cbc29877b3c4f24b8;p=emacs.git (head_table): Use switch-frame as event_kind for select-window. --- diff --git a/src/ChangeLog b/src/ChangeLog index aa5ff38f12e..e7d6321152f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,17 @@ +2003-04-11 Stefan Monnier + + * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT + specially, so that they can't hide an implicit switch-frame event. + (make_lispy_event): Handle SELECT_WINDOW_EVENT. + (head_table): Use switch-frame as event_kind for select-window. + (keys_of_keyboard): Don't bind [select-window] in special-event-map. + + * editfns.c (Fformat): Lisp_Object/int mixup. + (format2): Remove unused var numargs. + 2003-04-11 Kenichi Handa - * fileio.c (Vafter_insert_file_adjust_coding_function): Delete - this variable. + * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. (Qafter_insert_file_set_coding): New variable. (syms_of_fileio): Initialize and staticpro it. Delete declaration for after-insert-file-adjust-coding-function. @@ -17,11 +27,10 @@ 2003-04-10 Kenichi Handa - * fileio.c (Vafter_insert_file_adjust_coding_function): New - variable. + * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. (syms_of_fileio): Declare it as a lisp variable. - (Finsert_file_contents): Call - Vafter_insert_file_adjust_coding_function before calling + (Finsert_file_contents): + Call Vafter_insert_file_adjust_coding_function before calling decode-format. 2003-04-09 Jan Dj,Ad(Brv @@ -37,14 +46,12 @@ * xfaces.c (Vface_font_rescale_alist): New variable. (struct font_name): New member rescale_ratio. (font_rescale_ratio): New function. - (split_font_name): If NUMERIC_P is nonzero, set - font->rescale_ratio. + (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. (better_font_p): On comparing point sized, pay attention to recale_ratio member of fonts. (build_scalable_font_name): Reflect font->rescale_ratio in the font name. - (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp - variable. + (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. * lread.c (read1): Before calling index, check if the 2nd arguemnt is in ASCII range. @@ -60,7 +67,7 @@ (syms_of_fileio) : Doc fix. 2003-04-08 Ivan Zakharyaschev (tiny change) - + * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. 2003-04-08 Steven Tamm @@ -70,8 +77,8 @@ 2003-04-08 Kenichi Handa - * coding.c (code_convert_region_unwind): Set - Vlast_coding_system_used to the argument. + * coding.c (code_convert_region_unwind): + Set Vlast_coding_system_used to the argument. (code_convert_region): If post-read-conversion function changed the value of last-coding-sytem, keep the new value in coding->symbol so that it won't be overridden. @@ -164,8 +171,8 @@ (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) (x_default_parameter, Fx_parse_geometry): Functions for generic access to frame parameters. - (x_figure_window_size): Generic calculation of frame size. Fixed - to add space needed for tool bar. Also setup size_hint_flags. + (x_figure_window_size): Generic calculation of frame size. + Fixed to add space needed for tool bar. Also setup size_hint_flags. (syms_of_frame): Intern and staticpro frame parameter variables. Defvar_lisp Vx_resource_class and Vx_resource_name here. Defsubr Sx_get_resource and Sx_parse_geometry. diff --git a/src/keyboard.c b/src/keyboard.c index 28d93be2678..009184add07 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -10604,7 +10604,9 @@ struct event_head head_table[] = { {&Qdelete_frame, "delete-frame", &Qdelete_frame}, {&Qiconify_frame, "iconify-frame", &Qiconify_frame}, {&Qmake_frame_visible, "make-frame-visible", &Qmake_frame_visible}, - {&Qselect_window, "select-window", &Qselect_window} + /* `select-window' should be handled just like `switch-frame' + in read_key_sequence. */ + {&Qselect_window, "select-window", &Qswitch_frame} }; void