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: Sun, 20 Oct 2013 20:41:36 +0200 Message-ID: <526423E0.4060409@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> <52628FDA.6050502@gmx.at> <83vc0tl34r.fsf@gnu.org> <83txgdkz5y.fsf@gnu.org> <5262D122.3040709@gmx.at> <83ppr1kr6q.fsf@gnu.org> <5263AE6E.7010300@gmx.at> <83fvrvlwxz.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 1382294524 8017 80.91.229.3 (20 Oct 2013 18:42:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 18:42:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 20 20:42:07 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 1VXxx1-0008CA-AH for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 20:42:07 +0200 Original-Received: from localhost ([::1]:37168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxx0-0000Ku-O2 for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 14:42:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxwq-0000Kk-FC for emacs-devel@gnu.org; Sun, 20 Oct 2013 14:42:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXxwf-000821-6s for emacs-devel@gnu.org; Sun, 20 Oct 2013 14:41:56 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:52800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxwe-00081p-Rj for emacs-devel@gnu.org; Sun, 20 Oct 2013 14:41:45 -0400 Original-Received: from [62.47.52.154] ([62.47.52.154]) by mail.gmx.com (mrgmx101) with ESMTPA (Nemesis) id 0Mc9U3-1VGA4n2huR-00JWvw for ; Sun, 20 Oct 2013 20:41:42 +0200 In-Reply-To: <83fvrvlwxz.fsf@gnu.org> X-Provags-ID: V03:K0:tiykIV7Qur5GlMh1RgXV8hc0ESBBvoLZjxXWLfJhfgx/FEsoyeo MABng7HfwcpDLGlLUZRh+qut18jydBunrOnCvmUXriA3elK1Te3W77T34B9sAD6bsdrrWFl J1n09qQ0ByJz2eA5/9l2CEnrtZElRc13kvjK1VjMEQFra3q0zhU99EAWE1/iufey63CfANY b4qW3amapXoYB7fo953sQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 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:164396 Archived-At: > 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. (If you still think that I should compare the termscript files I'll obviously do so.) > 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. martin