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: Fri, 16 May 2014 11:48:42 +0300 Message-ID: <8361l6m7md.fsf@gnu.org> References: <5374B271.50803@yandex.ru> <83zjijlz83.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1400230167 14060 80.91.229.3 (16 May 2014 08:49:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 08:49:27 +0000 (UTC) Cc: dmantipov@yandex.ru, 17497@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 16 10:49:19 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 1WlDpP-0006Sw-Am for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 10:49:19 +0200 Original-Received: from localhost ([::1]:34155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlDpO-0002N9-Vw for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 04:49:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlDpG-0002MZ-SM for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 04:49:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlDp9-0001ZG-CY for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 04:49:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlDp9-0001Z7-9j for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 04:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WlDp8-0000FL-HG for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 04:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 May 2014 08:49:02 +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.1400230132921 (code B ref 17497); Fri, 16 May 2014 08:49:02 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 16 May 2014 08:48:52 +0000 Original-Received: from localhost ([127.0.0.1]:36705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlDox-0000Ek-J9 for submit@debbugs.gnu.org; Fri, 16 May 2014 04:48:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58027) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlDov-0000EV-B9 for 17497@debbugs.gnu.org; Fri, 16 May 2014 04:48:50 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N5N00700S6VRZ00@a-mtaout22.012.net.il> for 17497@debbugs.gnu.org; Fri, 16 May 2014 11:48:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5N007M2SH57CB0@a-mtaout22.012.net.il>; Fri, 16 May 2014 11:48:41 +0300 (IDT) In-reply-to: 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:89152 Archived-At: > From: Glenn Morris > Cc: Dmitry Antipov , 17497@debbugs.gnu.org > Date: Fri, 16 May 2014 02:53:59 -0400 > > And with the same strategy under "XTerm(303)", I quickly got the attached. > I don't normally use xterm, though, and it must be misconfigured > somehow, because pressing "M-x" produces LATIN SMALL LETTER O WITH > STROKE... :) I have no idea what causes this. I cannot reproduce this, neither on Windows, nor when running Emacs on GNU/Linux via PuTTY (which emulates xterm). Does this problem go away if you enlarge the terminal window such that the entire File and Tools menus can be displayed without overlaying the mode line? If the problems disappear then, perhaps we could solve them by limiting the number of displayed menu items some more. If enlarging the window doesn't help, then I don't know what to do, unless someone shows me a recipe I can use to reproduce the problem on some machine where I can debug them. Failing that, perhaps some terminfo expert could analyze the termscript and show what we do wrongly. Last time I looked at termscript produced in a similar case, it looked entirely legitimate, i.e. at no time did Emacs send a terminal command to write to the portions of display where a screenshot showed incorrectly displayed text, and every time a red-background menu item was incorrectly left behind, there was a clear command in the termscript that told the terminal to redraw that very item with the normal (blue) background. IOW, it looked like for some reason the terminal was not obeying the commands it was sent. Doers anyone know why would this happen? It could also be some timing problem, specific to X, in which case someone will have to explain how to avoid that, because I have no idea. Does this happen if you use the menu "reasonably", i.e. without leaning on arrow keys? Does it happen if you use C-p instead of the down arrow? I'm at a loss here...