From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Menus with more items than the TTY can display Date: Sun, 20 Oct 2013 22:27:49 +0300 Message-ID: <83bo2jlp3e.fsf@gnu.org> 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> <5262D117.7040101@gmx.at> <83r4bhkr9h.fsf@gnu.org> <5263AE36.5070906@gmx.at> <83hacblxti.fsf@gnu.org> <526423E7.5000409@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1382297276 3289 80.91.229.3 (20 Oct 2013 19:27:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 19:27:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 20 21:28:00 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 1VXyfL-0004Xc-7s for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 21:27:55 +0200 Original-Received: from localhost ([::1]:37275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXyfK-0006Pi-OQ for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 15:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXyfD-0006PX-TA for emacs-devel@gnu.org; Sun, 20 Oct 2013 15:27:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXyf8-00037Z-On for emacs-devel@gnu.org; Sun, 20 Oct 2013 15:27:47 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:39690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXyf8-00037U-GL for emacs-devel@gnu.org; Sun, 20 Oct 2013 15:27:42 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MUZ00H00F9OT500@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sun, 20 Oct 2013 22:27:41 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUZ00HL7FE2TA00@a-mtaout23.012.net.il>; Sun, 20 Oct 2013 22:27:39 +0300 (IDT) In-reply-to: <526423E7.5000409@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:164400 Archived-At: > Date: Sun, 20 Oct 2013 20:41:43 +0200 > From: martin rudalics > CC: emacs-devel@gnu.org > > > Interesting. Does anything change in the 22.21.0 frame case if you > > customize tty-menu-enabled-face to not have the bold attribute, and/or > > use the same color as the tty-menu-disabled-face? > > The problem persists without bold attributes and when using the same > faces for enabled and disabled items. Thanks. So, to summarize what we discovered until now: . The problem seems to happen because, for some reason, the cursor does not keep its horizontal coordinate, and Emacs is not aware of that. If cursor motion commands emitted by Emacs explicitly specify an x-coordinate, the problem disappears. . This seems to happen only when output is delivered at high rate to the screen, and seems to disappear when output is slowed down, e.g. by hitting GDB breakpoints, even if their commands immediately continue the debuggee. . Enlarging the frame by merely 2 lines, to 26 lines overall, makes the problem disappear. . Faces used to display the menus don't have any effect on the problem. Anything else?