emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menus with more items than the TTY can display


From: martin rudalics
Subject: Re: Menus with more items than the TTY can display
Date: Sat, 19 Oct 2013 20:36:07 +0200

> 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
[?25lLisp-Interaction 
Help[?12l[?25h[?12;25h[?25l File > 
[?12l[?25h[?12;25h[?25l Visit New 
File...              C-x C-f 
 Open File...                           
 Open Directory...              C-x d   
 Insert File...                 C-x i   
 Close                                  
 --                                     
 Save                           C-x C-s 
 Save As...                     C-x C-w 
 Revert Buffer                          
 Recover Crashed Session                
 --                                     
 Print Buffer                           
 Print Region                           
 PostScript Print Buffer                
 PostScript Print Region                
 PostScript Print Buffer (B+W)          
 PostScript Print Region (B+W)          
 --                                     
 New Window Below               C-x 2   
 New Window on Right            C-x 3   
 Remove Other Windows           C-x 1   
 --                                     
[?12l[?25h[?12;25h[?25lSpecify a new file's name, to 
edit the file[?12l[?25h[?12;25h[?25l Visit New 
File...              C-x C-f 
 Open File...                           


[?12l[?25h[?12;25h[?25lRead an existing file into an Emacs 
buffer[?12l[?25h[?12;25h[?25l Open File...       
                    
 Open Directory...              C-x d   

[?12l[?25h[?12;25h[?25l directory, to operate on its 
files[?12l[?25h[?12;25h[?25l Open Directory...   
           C-x d   
 Insert File...                 C-x i   
[?12l[?25h[?12;25h[?25lInsert another file into current 
buffer[?12l[?25h[?12;25h[?25l Insert File...      
           C-x i   
 Close                                  
[?12l[?25h[?12;25h[?25lDiscard 
(kill)[?12l[?25h[?12;25h[?25l Close                
                  
 --                                     
[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25l
 --                                     
 Save                           C-x C-s 
[?12l[?25h[?12;25h[?25lSave current buffer to its 
file[?12l[?25h[?12;25h[?25l

 Save                           C-x C-s 
 Save As...                     C-x C-w 
[?12l[?25h[?12;25h[?25lWrite current buffer to 
another file[?12l[?25h[?12;25h[?25l


 Save As...                     C-x C-w 
 Revert Buffer                          
[?12l[?25h[?12;25h[?25lRe-read current buffer from 
its[?12l[?25h[?12;25h[?25l



 Revert Buffer                          
 Recover Crashed Session                
[?12l[?25h[?12;25h[?25lcover edits from a crashed 
session[?12l[?25h[?12;25h[?25l Recover Crashed 
Session                
 --                                     
[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25lFile
 Edi
;; This buffer is for notes you don't wa
;; If you want to create a file, visit t
;; then enter the text in that file's ow


















-UUU:----F1  *scratch*      
All L5     ([?12l[?25h[?12;25h
[?25lLisp-Interaction 
Help[?12l[?25h[?12;25h[?25l File > 
[?12l[?25h[?12;25h[?25l
 Visit New File...              C-x C-f 
 Open File...                           
 Open Directory...              C-x d   
 Insert File...                 C-x i   
 Close                                  
 --                                     
 Save                           C-x C-s 
 Save As...                     C-x C-w 
 Revert Buffer                          
 Recover Crashed Session                
 --                                     
 Print Buffer                           
 Print Region                           
 PostScript Print Buffer                
 PostScript Print Region                
 PostScript Print Buffer (B+W)          
 PostScript Print Region (B+W)          
 --                                     
 New Window Below               C-x 2   
 New Window on Right            C-x 3   
 Remove Other Windows           C-x 1   
 --                                     
[?12l[?25h[?12;25h[?25lSpecify a new file's name, 
to edit the file[?12l[?25h[?12;25h[?25l
 Visit New File...              C-x C-f 
 Open File...                           
[?12l[?25h[?12;25h[?25lRead an existing file into 
an Emacs buffer[?12l[?25h[?12;25h[?25l

 Open File...                           
 Open Directory...              C-x d   
[?12l[?25h[?12;25h[?25l directory, to operate on 
its files[?12l[?25h[?12;25h[?25l Open 
Directory...              C-x d   
 Insert File...                 C-x i   
[?12l[?25h[?12;25h[?25lInsert another file into 
current buffer[?12l[?25h[?12;25h[?25l
 Insert File...                 C-x i   
 Close                                  
[?12l[?25h[?12;25h[?25lDiscard 
(kill)[?12l[?25h[?12;25h[?25l
 Close                                  
 --                                     
[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25l
 --                                     
 Save                           C-x C-s 
[?12l[?25h[?12;25h[?25lSave current buffer to its 
file[?12l[?25h[?12;25h[?25l

 Save                           C-x C-s 
 Save As...                     C-x C-w 
[?12l[?25h[?12;25h[?25lWrite current buffer to 
another file[?12l[?25h[?12;25h[?25l


 Save As...                     C-x C-w 
 Revert Buffer                          
[?12l[?25h[?12;25h[?25lRe-read current buffer 
from its[?12l[?25h[?12;25h[?25l



 Revert Buffer                          
 Recover Crashed Session                
[?12l[?25h[?12;25h[?25lcover edits from a crashed 
session[?12l[?25h[?12;25h[?25l




 Recover Crashed Session                
 --                                     
[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25lFile
 Edi
;; This buffer is for notes you don't wa
;; If you want to create a file, visit t
;; then enter the text in that file's ow

(setq resize-mini-windows nil)
















-UUU:**--F1  *scratch*      
All L5     ([?12l[?25h[?12;25h

reply via email to

[Prev in Thread] Current Thread [Next in Thread]