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: Sat, 19 Oct 2013 20:36:07 +0200 [thread overview]
Message-ID: <5262D117.7040101@gmx.at> (raw)
In-Reply-To: <83vc0tl34r.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]
> But you reported that it didn't work, somehow. So it doesn't have the
> same effect as setting the variable manually, evidently. (And that
> change isn't installed, so only you have it in your sources.)
I lied. I don't have them any more.
>> > I suspect different
>> > cursor motion commands. If you want to analyze these more precisely,
>> > produce 3 termscripts where the keyboard commands were exactly the
>> > same, then using Diff might show the differences.
>>
>> Too difficult :-(
>
> Why is that? You just need to count down- and up-arrow keystrokes.
I have to count _and_ hit a key at the same time.
> Or am I missing something?
Obviously not.
> Anyway, I'm out of ideas, so please try that, and maybe we will have a
> lead.
I attach two termscript files. The first one (ts-base) is standard, the
second (ts-rmwnil) has `resize-mini-windows' set to nil (you can see it
in the final window). I did F10, hit the down key 10 times and then F10
again. In the ts-base case I had the "--" artefact and the sticky
highlighting as in one of the caps.
Please tell me if the differences you see have any significance. I
can't interpret them and diffing without newlines is a pain. I can then
continue doing anything you suggest (as long as we keep the number of
keystrokes reasonably low).
> Which reminds me: if you increase the height of that terminal window,
> such that the longest menu fits in its entirety without reaching the
> mode line, does the problem still happen?
Looks like your crystal ball knows no weekend ;-) In this case there's
no problem.
One more strange thing I noted: If I invoke
script some FILE
in the terminal just before calling emacs (to avoid calling
`open-termscript' there) the bug does not happen either.
martin
[-- Attachment #2: ts-base.txt --]
[-- Type: text/plain, Size: 4496 bytes --]
^[[K^[[1;33H^[[?25l^[[7mLisp-Interaction Help^[[0m^[[39;49m^[[27m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[H^[[?25l^[[1m^[[33m^[[41m File > ^[[0m^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[2d^[[1m^[[33m^[[41m Visit New File... C-x C-f ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Open File... ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Open Directory... C-x d ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Insert File... C-x i ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Close ^[[0m^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[37m^[[44m Save C-x C-s ^[[39;49m
^[[1m^[[33m^[[44m Save As... C-x C-w ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Revert Buffer ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Recover Crashed Session ^[[0m^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Print Buffer ^[[0m^[[39;49m
^[[37m^[[44m Print Region ^[[39;49m
^[[1m^[[33m^[[44m PostScript Print Buffer ^[[0m^[[39;49m
^[[37m^[[44m PostScript Print Region ^[[39;49m
^[[1m^[[33m^[[44m PostScript Print Buffer (B+W) ^[[0m^[[39;49m
^[[37m^[[44m PostScript Print Region (B+W) ^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[1m^[[33m^[[44m New Window Below C-x 2 ^[[0m^[[39;49m
^[[1m^[[33m^[[44m New Window on Right C-x 3 ^[[0m^[[39;49m
^[[37m^[[44m Remove Other Windows C-x 1 ^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dSpecify a new file's name, to edit the file^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[2d^[[1m^[[33m^[[44m Visit New File... C-x C-f ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Open File... ^[[0m^[[39;49m
^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dRead an existing file into an Emacs buffer^[[K^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[3d^[[1m^[[33m^[[44m Open File... ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Open Directory... C-x d ^[[0m^[[39;49m
^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;7H directory, to operate on its files^[[K^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[4d^[[1m^[[33m^[[44m Open Directory... C-x d ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Insert File... C-x i ^[[0m^[[39;49m
^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dInsert another file into current buffer^[[K^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[A^[[1m^[[33m^[[44m Insert File... C-x i ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Close ^[[0m^[[39;49m\r^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dDiscard (kill)^[[10P^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[1m^[[33m^[[44m Close ^[[0m^[[39;49m
^[[1m^[[33m^[[41m -- ^[[0m^[[39;49m\r^[[A^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24d^[[K^[[6d^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[37m^[[41m Save C-x C-s ^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dSave current buffer to its file^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[37m^[[44m Save C-x C-s ^[[39;49m
^[[1m^[[33m^[[41m Save As... C-x C-w ^[[0m^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dWrite current buffer to another file^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m Save As... C-x C-w ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Revert Buffer ^[[0m^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24dRe-read current buffer from its^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m Revert Buffer ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Recover Crashed Session ^[[0m^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;3Hcover edits from a crashed session^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[11d^[[1m^[[33m^[[44m Recover Crashed Session ^[[0m^[[39;49m
^[[1m^[[33m^[[41m -- ^[[0m^[[39;49m^[[6;1H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24d^[[K^[[6d^[[?12l^[[?25h^[[?12;25h^[[?25l^[[?12l^[[?25h^[[?12;25h^[[H^[[?25l^[[7mFile Edi^[[0m^[[39;49m^[[27m
^[[31m;; This buffer is for notes you don't wa^[[39;49m
^[[31m;; If you want to create a file, visit t^[[39;49m
^[[31m;; then enter the text in that file's ow^[[39;49m
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[7m-UUU:----F1 ^[[0m^[[39;49m^[[27m^[[7m^[[1m*scratch* ^[[0m^[[39;49m^[[27m^[[7m All L5 (^[[0m^[[39;49m^[[27m^[[6;1H^[[?12l^[[?25h^[[?12;25h
[-- Attachment #3: ts-rmwnil.txt --]
[-- Type: text/plain, Size: 4600 bytes --]
^[[K^[[1;33H^[[?25l^[[7mLisp-Interaction Help^[[0m^[[39;49m^[[27m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[H^[[?25l^[[1m^[[33m^[[41m File > ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[H
^[[1m^[[33m^[[41m Visit New File... C-x C-f ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Open File... ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Open Directory... C-x d ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Insert File... C-x i ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Close ^[[0m^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[37m^[[44m Save C-x C-s ^[[39;49m
^[[1m^[[33m^[[44m Save As... C-x C-w ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Revert Buffer ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Recover Crashed Session ^[[0m^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[1m^[[33m^[[44m Print Buffer ^[[0m^[[39;49m
^[[37m^[[44m Print Region ^[[39;49m
^[[1m^[[33m^[[44m PostScript Print Buffer ^[[0m^[[39;49m
^[[37m^[[44m PostScript Print Region ^[[39;49m
^[[1m^[[33m^[[44m PostScript Print Buffer (B+W) ^[[0m^[[39;49m
^[[37m^[[44m PostScript Print Region (B+W) ^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[1m^[[33m^[[44m New Window Below C-x 2 ^[[0m^[[39;49m
^[[1m^[[33m^[[44m New Window on Right C-x 3 ^[[0m^[[39;49m
^[[37m^[[44m Remove Other Windows C-x 1 ^[[39;49m
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HSpecify a new file's name, to edit the file^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[H
^[[1m^[[33m^[[44m Visit New File... C-x C-f ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Open File... ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HRead an existing file into an Emacs buffer^[[K^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[H
^[[1m^[[33m^[[44m Open File... ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Open Directory... C-x d ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;7H directory, to operate on its files^[[K^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[4;1H^[[1m^[[33m^[[44m Open Directory... C-x d ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Insert File... C-x i ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HInsert another file into current buffer^[[K^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l\r^[[A^[[1m^[[33m^[[44m Insert File... C-x i ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Close ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HDiscard (kill)^[[10P^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l\r^[[1m^[[33m^[[44m Close ^[[0m^[[39;49m
^[[1m^[[33m^[[41m -- ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1H^[[K^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m -- ^[[0m^[[39;49m
^[[37m^[[41m Save C-x C-s ^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HSave current buffer to its file^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[37m^[[44m Save C-x C-s ^[[39;49m
^[[1m^[[33m^[[41m Save As... C-x C-w ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HWrite current buffer to another file^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m Save As... C-x C-w ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Revert Buffer ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1HRe-read current buffer from its^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m Revert Buffer ^[[0m^[[39;49m
^[[1m^[[33m^[[41m Recover Crashed Session ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;3Hcover edits from a crashed session^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l
^[[1m^[[33m^[[44m Recover Crashed Session ^[[0m^[[39;49m
^[[1m^[[33m^[[41m -- ^[[0m^[[39;49m^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[24;1H^[[K^[[6;31H^[[?12l^[[?25h^[[?12;25h^[[?25l^[[?12l^[[?25h^[[?12;25h^[[H^[[?25l^[[7mFile Edi^[[0m^[[39;49m^[[27m
^[[31m;; This buffer is for notes you don't wa^[[39;49m
^[[31m;; If you want to create a file, visit t^[[39;49m
^[[31m;; then enter the text in that file's ow^[[39;49m
^[[K
(setq resize-mini-windows nil)^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[7m-UUU:**--F1 ^[[0m^[[39;49m^[[27m^[[7m^[[1m*scratch* ^[[0m^[[39;49m^[[27m^[[7m All L5 (^[[0m^[[39;49m^[[27m^[[6;31H^[[?12l^[[?25h^[[?12;25h
next prev parent reply other threads:[~2013-10-19 18:36 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
2013-10-19 18:36 ` martin rudalics [this message]
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=5262D117.7040101@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.