all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Menus with more items than the TTY can display
Date: Thu, 17 Oct 2013 19:13:46 +0200	[thread overview]
Message-ID: <52601ACA.9070603@gmx.at> (raw)
In-Reply-To: <83ob6nonry.fsf@gnu.org>

 >> Now from the time I hit F10 until I hit it again
 >> the breakpoint is _not_ reached.
 >
 > So something else seems to be at work here.

But who else can resize the echo area?

 > If you don't set resize-mini-windows to nil, but instead set
 > max-mini-window-height to 1, does the problem also go away?

Yes - this makes the problem go away too.

 > Another idea would be to ifdef away this fragment from term.c:
 >
 >       if ((menu_help_message || prev_menu_help_message)
 > 	  && menu_help_message != prev_menu_help_message)
 > 	{
 > 	  help_callback (menu_help_message,
 > 			 menu_help_paneno, menu_help_itemno);
 > 	  tty_hide_cursor (tty);
 > 	  fflush (tty->output);
 > 	  prev_menu_help_message = menu_help_message;
 > 	}
 >
 > which disables help-echo in the menu, and see if the problem is gone
 > even without customizing resize-mini-windows.  If it is, then stepping
 > into the help_callback call might tell who causes the problem.

Doing this has the following effects:

(1) The echo area remains unchanged in contents and size.

(2) The amount of "artefacts" in the right half of the frame increases.
     (You have to look at my screenshot to understand what I mean with
     artefacts - these are essentially copies of menu lines, sometimes
     displayed in their highlighted form.)  Also, the number of
     highlighted menu lines increases.

 > If disabling help-echo does not make the problem go away, there's
 > something else that causes resizing, and perhaps you will be able to
 > spot that without help-echo getting in your way and obscuring the echo
 > area.
 >
 > Btw, this all is in "emacs -Q", right?  There are no customizations
 > involved, right?

Always emacs -Q -nw, no customizations.

martin



  reply	other threads:[~2013-10-17 17:13 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11 11:28 Menus with more items than the TTY can display Eli Zaretskii
2013-10-11 11:40 ` Dmitry Antipov
2013-10-11 14:43   ` Eli Zaretskii
2013-10-11 17:06     ` chad
2013-10-11 17:48       ` Eli Zaretskii
2013-10-14 15:38     ` Eli Zaretskii
2013-10-15 18:28       ` martin rudalics
2013-10-15 19:04         ` Eli Zaretskii
2013-10-16  7:44           ` martin rudalics
2013-10-16 15:19             ` Eli Zaretskii
2013-10-16 17:45               ` martin rudalics
2013-10-16 18:15                 ` Eli Zaretskii
2013-10-16 18:34                   ` martin rudalics
2013-10-16 18:59                     ` Eli Zaretskii
2013-10-17  9:27                       ` martin rudalics
2013-10-17 16:21                         ` Eli Zaretskii
2013-10-17 17:11                           ` martin rudalics
2013-10-17 17:41                             ` Eli Zaretskii
2013-10-17 18:01                               ` martin rudalics
2013-10-17 18:08                                 ` chad
2013-10-18  7:54                                   ` martin rudalics
2013-10-17 20:04                                 ` Eli Zaretskii
2013-10-18  7:54                               ` martin rudalics
2013-10-17 22:52                             ` Xue Fuqiao
2013-10-18  7:02                               ` Eli Zaretskii
2013-10-18  7:59                                 ` martin rudalics
2013-10-18 22:59                                 ` Xue Fuqiao
2013-10-19  7:43                                   ` Eli Zaretskii
2013-10-19 22:51                                     ` Xue Fuqiao
2013-10-20  2:44                                       ` Eli Zaretskii
2013-10-18  7:56                               ` martin rudalics
2013-10-18  9:51                                 ` Eli Zaretskii
2013-10-16 19:05                     ` Eli Zaretskii
2013-10-17  9:28                       ` martin rudalics
2013-10-17 16:38                         ` Eli Zaretskii
2013-10-17 17:13                           ` martin rudalics [this message]
2013-10-17 17:45                             ` Eli Zaretskii
2013-10-17 18:01                               ` martin rudalics
2013-10-17 20:06                                 ` Eli Zaretskii
2013-10-17 20:25                                   ` Eli Zaretskii
2013-10-18  7:55                                     ` martin rudalics
2013-10-18  9:32                                       ` Eli Zaretskii
2013-10-18 14:35                                         ` martin rudalics
2013-10-18 15:30                                           ` Eli Zaretskii
2013-10-18 19:17                                             ` Eli Zaretskii
2013-10-19 10:38                                               ` martin rudalics
2013-10-19 11:54                                                 ` Eli Zaretskii
2013-10-19 13:57                                                   ` martin rudalics
2013-10-19 14:57                                                     ` Eli Zaretskii
2013-10-19 16:23                                                       ` Eli Zaretskii
2013-10-19 18:36                                                         ` martin rudalics
2013-10-19 19:15                                                           ` Eli Zaretskii
2013-10-20 10:20                                                             ` martin rudalics
2013-10-20 16:38                                                               ` Eli Zaretskii
2013-10-20 18:41                                                                 ` martin rudalics
2013-10-20 19:16                                                                   ` Eli Zaretskii
2013-10-19 18:36                                                       ` martin rudalics
2013-10-19 19:14                                                         ` Eli Zaretskii
2013-10-20 10:19                                                           ` martin rudalics
2013-10-20 16:19                                                             ` Eli Zaretskii
2013-10-20 18:41                                                               ` martin rudalics
2013-10-20 19:27                                                                 ` Eli Zaretskii
2013-10-21  7:19                                                                   ` martin rudalics
2013-10-21 16:42                                                                     ` Eli Zaretskii
2013-10-21 17:34                                                                       ` martin rudalics
2013-10-21 18:17                                                                         ` Eli Zaretskii
2013-10-18  7:55                                   ` martin rudalics
2013-10-18  9:50                                     ` Eli Zaretskii
2013-10-18 14:36                                       ` martin rudalics
2013-10-18  8:36                             ` Eli Zaretskii
2013-10-18 14:35                               ` martin rudalics
2013-10-11 11:41 ` Dani Moncayo
2013-10-11 12:07   ` Dmitry Antipov
2013-10-11 14:44     ` Eli Zaretskii
2013-10-11 17:49     ` Stefan Monnier
2013-10-11 18:00       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52601ACA.9070603@gmx.at \
    --to=rudalics@gmx.at \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.