From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: Menus with more items than the TTY can display
Date: Sun, 20 Oct 2013 22:16:36 +0300 [thread overview]
Message-ID: <83d2mzlpm3.fsf@gnu.org> (raw)
In-Reply-To: <526423E0.4060409@gmx.at>
> Date: Sun, 20 Oct 2013 20:41:36 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: emacs-devel@gnu.org
>
> > The next request might sound silly, but please humor me. Please
> > repeat the experiment with setting resize-mini-windows to nil, and
> > with the original 22/21.0 frame size, but this time set
> > resize-mini-windows via M-:, and make sure the cursor is in the same
> > position as when you enter Emacs. Please do the same 10 presses on
> > the down arrow key as you did before, so that I could compare the
> > termscripts again. I expect the termscripts to be identical in this
> > case.
>
> I didn't even care to check: Typing at least one character into the
> *scratch* window makes the problem disappear. It's only when I type
> nothing into the window that the problem persists. What a silly red
> herring I dished up here.
Don't feel bad, you couldn't possibly know. It's not before I saw in
the script that Emacs insists on returning the cursor to column 31
after each operation, that I figured out what was going on.
> (If you still think that I should compare the termscript files I'll
> obviously do so.)
No need, this issue is clear.
> > Note that I half expect the magical resize-mini-windows effect to
> > disappear, when you do the above, i.e. I expect you to see the problem
> > even with resize-mini-windows nil. If this is indeed so, it is a Good
> > Thing, because I cannot imagine any relation between that variable and
> > what you see.
>
> OK. Then we have at least one good thing now.
>
> > Finally, after you do all that, please comment out the line marked
> > below at the end of tty_menu_display, recompile, and see if the
> > problem persists.
> >
> > display_tty_menu_item (menu->text[j], max_width, face, x, y + i,
> > menu->submenu[j] != NULL);
> > }
> > update_frame_with_menu (sf);
> > cursor_to (sf, row, col); <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> > }
>
> Unfortunately the problem persists with this line commented out.
Too bad, although it was a stab in the dark.
next prev parent reply other threads:[~2013-10-20 19:16 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
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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83d2mzlpm3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).