[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Menus with more items than the TTY can display
From: |
Eli Zaretskii |
Subject: |
Re: Menus with more items than the TTY can display |
Date: |
Wed, 16 Oct 2013 18:19:14 +0300 |
> Date: Wed, 16 Oct 2013 09:44:24 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden, address@hidden
>
> > We must prevent the echo
> > area from growing, and I thought we already did.
>
> FWIW, setting `resize-mini-windows' to nil avoids the problem.
So does the patch below fix the problem?
=== modified file 'src/term.c'
--- src/term.c 2013-10-14 15:37:12 +0000
+++ src/term.c 2013-10-16 15:17:24 +0000
@@ -2807,7 +2807,7 @@ static Lisp_Object Qtty_menu_navigation_
static Lisp_Object Qtty_menu_prev_item, Qtty_menu_next_item;
static Lisp_Object Qtty_menu_next_menu, Qtty_menu_prev_menu;
static Lisp_Object Qtty_menu_select, Qtty_menu_ignore;
-static Lisp_Object Qtty_menu_mouse_movement;
+static Lisp_Object Qtty_menu_mouse_movement, Qresize_mini_windows;
typedef struct tty_menu_struct
{
@@ -3780,6 +3780,7 @@ tty_menu_show (struct frame *f, int x, i
specbind (Qoverriding_terminal_local_map,
Fsymbol_value (Qtty_menu_navigation_map));
+ specbind (Qresize_mini_windows, Qnil);
status = tty_menu_activate (menu, &pane, &selidx, x, y, &datap,
tty_menu_help_callback, kbd_navigation);
entry = pane_prefix = Qnil;
@@ -4612,4 +4613,5 @@ bigger, or it may make it blink, or it m
DEFSYM (Qtty_menu_exit, "tty-menu-exit");
DEFSYM (Qtty_menu_mouse_movement, "tty-menu-mouse-movement");
DEFSYM (Qtty_menu_navigation_map, "tty-menu-navigation-map");
+ DEFSYM (Qresize_mini_windows, "resize-mini-windows");
}
- Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/11
- Re: Menus with more items than the TTY can display, Dmitry Antipov, 2013/10/11
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/11
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/14
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/15
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/15
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/16
- Re: Menus with more items than the TTY can display,
Eli Zaretskii <=
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/16
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/16
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/16
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/16
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/17
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/17
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/17
- Re: Menus with more items than the TTY can display, Eli Zaretskii, 2013/10/17
- Re: Menus with more items than the TTY can display, martin rudalics, 2013/10/17
- Re: Menus with more items than the TTY can display, chad, 2013/10/17