From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Menus with more items than the TTY can display Date: Sat, 19 Oct 2013 15:57:46 +0200 Message-ID: <52628FDA.6050502@gmx.at> References: <83a9igrqq1.fsf@gnu.org> <5257E3B3.4070508@yandex.ru> <834n8nswas.fsf@gnu.org> <831u3nrhf9.fsf@gnu.org> <525D8938.6080208@gmx.at> <83hacipd88.fsf@gnu.org> <525E43D8.6060109@gmx.at> <83bo2pp7kd.fsf@gnu.org> <525ED0CE.9010001@gmx.at> <834n8hozdu.fsf@gnu.org> <525EDC1A.9070201@gmx.at> <83y55tnii4.fsf@gnu.org> <525FADCF.5010700@gmx.at> <83ob6nonry.fsf@gnu.org> <52601ACA.9070603@gmx.at> <83iowvokoj.fsf@gnu.org> <526025E8.20009@gmx.at> <83fvrzoe6o.fsf@gnu.org> <83eh7joda2.fsf@gnu.org> <5260E981.6020604@gmx.at> <8361suorfj.fsf@gnu.org> <52614739.9040901@gmx.at> <83ob6mmw9j.fsf@gnu.org> <83k3hamlr5.fsf@gnu.org> <5262613C.1020207@gmx.at> <83zjq5lbmu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382191087 4228 80.91.229.3 (19 Oct 2013 13:58:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2013 13:58:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 19 15:58:11 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VXX2f-0003O7-Ho for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2013 15:58:09 +0200 Original-Received: from localhost ([::1]:33389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXX2f-0005v2-8u for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2013 09:58:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXX2U-0005uq-JK for emacs-devel@gnu.org; Sat, 19 Oct 2013 09:58:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXX2N-0002tE-92 for emacs-devel@gnu.org; Sat, 19 Oct 2013 09:57:58 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:61041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXX2M-0002t5-W5 for emacs-devel@gnu.org; Sat, 19 Oct 2013 09:57:51 -0400 Original-Received: from [62.47.49.211] ([62.47.49.211]) by mail.gmx.com (mrgmx103) with ESMTPA (Nemesis) id 0MZU7V-1VJYv236Lt-00LI0r for ; Sat, 19 Oct 2013 15:57:49 +0200 In-Reply-To: <83zjq5lbmu.fsf@gnu.org> X-Provags-ID: V03:K0:WK6MnGgcOMDsKrvFfBXgf2VjQK5B8WeRjeWnaYz8SQpmXYPzuhk Sdv4mG6Y/S/JXjFT6bDKooM/jpu2VK11yozsN4gZnIoV9/NfxJxx7ZbYT2fWvx3PorDz+He K4ReJhtKH6NAYPUVG9lJsiSr/y36spDywIGDWgSWIeUxki2e0IIbMMs1oF2Z/TV644ZjBWm 9PhO03lN42GfP2yZHYK9Q== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164359 Archived-At: >> The behavior differs when I set `resize-mini-windows' to nil or t or >> when I set `max-mini-window-height' to 1. The terminal emulator does >> not know about these. How does that fit in here? > > We write different stuff in each case, obviously. We? Why? In term.c you've bound `resize-mini-windows' to nil. > 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 :-( >> No. The display is correct. So can we be sure that this is a timing >> issue? > > Most probably, yes. If you play with the sleeping period, do you see > any differences? Down to 0.01, no differences. But couldn't, in the original scenario, Emacs redisplay (which BTW seems to redraw the modeline too) garble the display (and termscript doesn't see that)? Or is that a silly question? > Can you try without removing the menu bar produced by the terminal > itself, and see if the same problems are present then? I do so for quite some time as my caps should have shown. BTW `window-height' and `window-screen-lines' give the same values (22 and 21.0) as for the w/o terminal menubar case. martin