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: Wed, 18 Mar 2015 18:40:02 +0200 Message-ID: <83a8zaxnrx.fsf@gnu.org> References: <5374B271.50803@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426696904 30640 80.91.229.3 (18 Mar 2015 16:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2015 16:41:44 +0000 (UTC) Cc: 17497@debbugs.gnu.org To: Martin Trojer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 18 17:41:31 2015 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 1YYH29-00078G-IU for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2015 17:41:29 +0100 Original-Received: from localhost ([::1]:34793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYH29-0007Qv-1U for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2015 12:41:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYH1p-00077X-72 for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2015 12:41:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYH1i-0006AN-Jg for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2015 12:41:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYH1i-0006AB-G1 for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2015 12:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YYH1h-0006Qt-Lp for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2015 12:41: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: Wed, 18 Mar 2015 16:41: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.142669681524662 (code B ref 17497); Wed, 18 Mar 2015 16:41:01 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 18 Mar 2015 16:40:15 +0000 Original-Received: from localhost ([127.0.0.1]:51818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YYH0w-0006Ph-GK for submit@debbugs.gnu.org; Wed, 18 Mar 2015 12:40:14 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37547) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YYH0t-0006PX-PC for 17497@debbugs.gnu.org; Wed, 18 Mar 2015 12:40:13 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NLF00F00250QZ00@a-mtaout22.012.net.il> for 17497@debbugs.gnu.org; Wed, 18 Mar 2015 18:40:09 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLF00FN52AXFW70@a-mtaout22.012.net.il>; Wed, 18 Mar 2015 18:40:09 +0200 (IST) 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:100619 Archived-At: > Date: Wed, 18 Mar 2015 11:45:17 +0000 > From: Martin Trojer > > > 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. > > Hi Eli, > I just applied this patch trying to solve a different but related issue (https://www.virtualbox.org/ticket/13687). > I am happy to report that applying this patch completely solved the redrawing issues I was experiencing! You don't quote the person who wrote the above, so I need to ask you who wrote the code. We need to know to whom to attribute it. Also, I'd be happier if someone could explain why this is the the right thing to do in that place. Thanks.