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 13:26:59 +0300 Message-ID: <831tvuf28c.fsf@gnu.org> References: <5374B271.50803@yandex.ru> <83zjijlz83.fsf@gnu.org> <5375DD9E.9030608@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1400236106 3926 80.91.229.3 (16 May 2014 10:28:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 10:28:26 +0000 (UTC) Cc: 17497@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 16 12:28:18 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 1WlFNC-0006GF-F4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 12:28:18 +0200 Original-Received: from localhost ([::1]:34619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlFNC-0001ZE-2m for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 06:28:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlFN3-0001Yy-4G for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 06:28:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlFMx-00017x-AI for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 06:28:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlFMx-00017o-71 for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 06:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WlFMw-0003Ll-Fv for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 06:28: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 10:28: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.140023603012807 (code B ref 17497); Fri, 16 May 2014 10:28:02 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 16 May 2014 10:27:10 +0000 Original-Received: from localhost ([127.0.0.1]:36771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlFM5-0003KO-Ch for submit@debbugs.gnu.org; Fri, 16 May 2014 06:27:09 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46810) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlFM1-0003Jn-Jm for 17497@debbugs.gnu.org; Fri, 16 May 2014 06:27:06 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N5N00700WPOFW00@a-mtaout20.012.net.il> for 17497@debbugs.gnu.org; Fri, 16 May 2014 13:26:58 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5N007BAX0YGR00@a-mtaout20.012.net.il>; Fri, 16 May 2014 13:26:58 +0300 (IDT) In-reply-to: <5375DD9E.9030608@yandex.ru> 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:89155 Archived-At: > Date: Fri, 16 May 2014 13:42:54 +0400 > From: Dmitry Antipov > CC: 17497@debbugs.gnu.org > > Just for the record, TTY menus are even more broken with Eterm. How is this more broken? All I see is the same problem with artifacts left behind where they shouldn't be. Like in your original screenshots. The number of artifacts is not important; even one of them is a sign of some problem. Do you see in the termscript any commands to write these artifacts? E.g., the red-background "Close" was presumably the selected menu item at some previous time; do you see a command to overwrite that with the blue-background "Close" (or something else) in insert mode? Is there any difference in what you see if you do that in a buffer which is large enough to fill the entire window with text, like xdisp.c in its first portion, where there's a large commentary? IOW, do these problems depend on what was on the screen before the menu was dropped down? The TTY menus work by overwriting portions of the glyph matrix with the text derived from the menu. The screen is updated by the normal Emacs code, which was not touched at all. So I don't understand why these artifacts appear when menus are displayed, but not with normal buffer text display... Could this be a buffering issue? Maybe adding some fflush calls will make a difference? (Not that I understand how buffering could change the final result.)