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: The text-mode menu looks very broken in emacs-24 Date: Sat, 21 Jun 2014 14:26:15 +0300 Message-ID: <83k38atsfc.fsf@gnu.org> References: <87a99amtqk.fsf@fx.delysid.org> <53A16299.2020307@yandex.ru> <871tumjwpg.fsf@fx.delysid.org> <83zjhathbc.fsf@gnu.org> <878uoqpo17.fsf@fx.delysid.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1403350044 18811 80.91.229.3 (21 Jun 2014 11:27:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2014 11:27:24 +0000 (UTC) Cc: 17497@debbugs.gnu.org To: Mario Lang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 21 13:27:17 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 1WyJRz-00081H-QK for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2014 13:27:15 +0200 Original-Received: from localhost ([::1]:44511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyJRz-0005n3-9Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2014 07:27:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyJRr-0005lh-Qv for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2014 07:27:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyJRm-000277-No for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2014 07:27:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyJRm-000273-KZ for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2014 07:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WyJRm-000553-83 for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2014 07:27: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: Sat, 21 Jun 2014 11:27: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.140334999419496 (code B ref 17497); Sat, 21 Jun 2014 11:27:02 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 21 Jun 2014 11:26:34 +0000 Original-Received: from localhost ([127.0.0.1]:55447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WyJRK-00054N-B6 for submit@debbugs.gnu.org; Sat, 21 Jun 2014 07:26:34 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64348) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WyJRI-000549-3s for 17497@debbugs.gnu.org; Sat, 21 Jun 2014 07:26:33 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N7I00E00N80UQ00@a-mtaout22.012.net.il> for 17497@debbugs.gnu.org; Sat, 21 Jun 2014 14:26:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7I00EFANS1VL10@a-mtaout22.012.net.il>; Sat, 21 Jun 2014 14:26:25 +0300 (IDT) In-reply-to: <878uoqpo17.fsf@fx.delysid.org> 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:90629 Archived-At: > From: Mario Lang > Cc: 17497@debbugs.gnu.org > Date: Sat, 21 Jun 2014 12:14:44 +0200 > > I am running in GNU/Screen on GNU/Linux (kernel 3.14). Thanks. Which brand of GNU/Linux is that? > This bug only happens when scrolling down anything else than the first > toplevel entry, because the first toplevel menu is already > left-justified... And it does not happen all the time. In fact, > while it is reproducible, it doesnt reproduce the same way everytime I > try it. Sometimes I need to go down 10 or 15 elements until one gets} > drawn in the wrong position, and sometimes I just go down two or three > items. I am not sure, but it *feels* like the issue is easier to > reproduce if I hit down-arrow rapidly in succession. > > This *feels* like memory corruption, as if the x coordinate is randomly > set to 0 in some situations. I don't think it's memory corruption. I suspect the problem is related to the different ways cmgoto chooses to get to the specified screen coordinates. If someone on the affected systems could tweak cmgoto such that only the direct move is used, i.e. this code: p = (dcm == tty->Wcm->cm_habs ? tgoto (dcm, row, col) : tgoto (dcm, col, row)); emacs_tputs (tty, p, 1, cmputc); curY (tty) = row, curX (tty) = col; then perhaps we could see if my suspicions are in the right direction. Thanks.