From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17497: 24.4.50; TTY menu glitches Date: Wed, 04 Jun 2014 12:38:04 +0300 Message-ID: <838upd816r.fsf@gnu.org> References: <20140531200947.GA779@aerie.jexium-island.net> <83lhtgbrd6.fsf@gnu.org> <20140601152657.GA15078@aerie.jexium-island.net> <838upgbnra.fsf@gnu.org> <20140601171244.GA9362@aerie.jexium-island.net> <20140601171817.GB9362@aerie.jexium-island.net> <20140603184749.GA3646@aerie.jexium-island.net> <20140604083102.GA4928@aerie.jexium-island.net> <20140604091017.GB4928@aerie.jexium-island.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401874774 30777 80.91.229.3 (4 Jun 2014 09:39:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2014 09:39:34 +0000 (UTC) Cc: 17497@debbugs.gnu.org To: Thomas Dickey , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 11:39:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Ws7fF-0004sj-Tb for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jun 2014 11:39:22 +0200 Original-Received: from localhost ([::1]:59129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws7fF-0000VM-7L for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jun 2014 05:39:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws7f3-0000LZ-Ua for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 05:39:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws7ew-0000EW-FE for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 05:39:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws7ew-0000EQ-89 for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 05:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ws7ev-0003Um-NS for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 05:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jun 2014 09:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17497-submit@debbugs.gnu.org id=B17497.140187470413378 (code B ref 17497); Wed, 04 Jun 2014 09:39:01 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 4 Jun 2014 09:38:24 +0000 Original-Received: from localhost ([127.0.0.1]:43096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ws7eF-0003TY-HS for submit@debbugs.gnu.org; Wed, 04 Jun 2014 05:38:24 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:61289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ws7eC-0003TB-99 for 17497@debbugs.gnu.org; Wed, 04 Jun 2014 05:38:17 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N6N009000UE5K00@a-mtaout23.012.net.il> for 17497@debbugs.gnu.org; Wed, 04 Jun 2014 12:38:09 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6N0082P1FKXUE0@a-mtaout23.012.net.il>; Wed, 04 Jun 2014 12:38:09 +0300 (IDT) In-reply-to: <20140604091017.GB4928@aerie.jexium-island.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89968 Archived-At: On the hunch that the problems discussed here are caused by excess movement of the cursor, I've made changes in revision 117203 on the emacs-24 branch to avoid some of them. Please try that. If the problems are still there, one last idea I have is to ifdef away the code in tty_menu_activate that invokes the help-echo display: /* Display the help-echo message for the currently-selected menu item. */ if ((menu_help_message || prev_menu_help_message) && menu_help_message != prev_menu_help_message) { help_callback (menu_help_message, menu_help_paneno, menu_help_itemno); /* Move the cursor to the beginning of the current menu item, so that screen readers and other accessibility aids know where the active region is. */ cursor_to (sf, row, col); prev_menu_help_message = menu_help_message; } This code invokes another update of the frame, in addition to the one we already did when we called tty_menu_display immediately before that. It also moves the cursor (which is positioned by the frame update to where point is in the selected window). Maybe avoiding that will avoid the problems. If even that doesn't help, then try to ifdef away the calls to tty_hide_cursor made by tty_menu_activate. These two last ideas are the only differences I know of between a "normal" redisplay and redisplay due to update of a menu. If even they don't make any difference, I guess this bug will have to remain open until someone debugs it on a system where the problem can be reproduced.