all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mario Lang <mlang@delysid.org>
Cc: 17497@debbugs.gnu.org
Subject: bug#17497: The text-mode menu looks very broken in emacs-24
Date: Sat, 21 Jun 2014 14:26:15 +0300	[thread overview]
Message-ID: <83k38atsfc.fsf@gnu.org> (raw)
In-Reply-To: <878uoqpo17.fsf@fx.delysid.org>

> From: Mario Lang <mlang@delysid.org>
> 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.





  reply	other threads:[~2014-06-21 11:26 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18  9:50 The text-mode menu looks very broken in emacs-24 Mario Lang
2014-06-18  9:57 ` Dmitry Antipov
2014-06-18 11:14   ` Mario Lang
     [not found]     ` <mailman.3892.1403102296.1147.bug-gnu-emacs@gnu.org>
2014-05-15 12:26       ` bug#17497: 24.4.50; TTY menu glitches Dmitry Antipov
2014-05-15 17:37         ` Eli Zaretskii
2014-05-16  6:36           ` Glenn Morris
2014-05-16  6:38             ` Glenn Morris
2014-05-16  6:53               ` Glenn Morris
2014-05-16  8:48                 ` Eli Zaretskii
2014-05-16 15:47                   ` Glenn Morris
2014-05-16 20:21                     ` Eli Zaretskii
2014-05-17  9:56                     ` Eli Zaretskii
2014-05-22  2:49                       ` Eli Zaretskii
2014-05-22  5:44                         ` Glenn Morris
2014-05-22  7:51                           ` Andreas Schwab
2014-05-22 15:58                             ` Glenn Morris
2014-05-22 17:19                               ` Andreas Schwab
2014-05-22 17:29                                 ` Glenn Morris
2014-05-22 17:53                                   ` Eli Zaretskii
2014-05-22 16:19                           ` Eli Zaretskii
2014-05-22 16:26                             ` Glenn Morris
2014-05-22 16:46                               ` Eli Zaretskii
2014-05-30  9:22                                 ` Eli Zaretskii
2014-05-31  2:22                                   ` Glenn Morris
2014-05-31  8:20                                     ` Eli Zaretskii
2014-05-31 17:35                                       ` Glenn Morris
2014-06-01 15:11                                       ` Eli Zaretskii
2014-06-03  4:51                                         ` Glenn Morris
2014-06-03  7:03                                           ` Eli Zaretskii
2014-05-22 16:43                             ` Eli Zaretskii
2014-05-22 16:54                               ` Glenn Morris
2014-05-22 17:07                                 ` Eli Zaretskii
2014-05-16  9:42                 ` Dmitry Antipov
2014-05-16 10:26                   ` Eli Zaretskii
2014-05-16 10:46                   ` Eli Zaretskii
2014-05-16 14:59                     ` Dmitry Antipov
2014-05-16 15:26                       ` Eli Zaretskii
2014-06-19 14:11         ` bug#17497: The text-mode menu looks very broken in emacs-24 Alan Mackenzie
2014-06-19 15:07           ` Eli Zaretskii
2014-06-19 16:33             ` Alan Mackenzie
2015-03-18 11:45         ` Martin Trojer
2015-03-18 16:40           ` Eli Zaretskii
2015-03-18 16:51             ` Martin Trojer
2015-03-18 17:11               ` Eli Zaretskii
2015-03-18 17:13                 ` Martin Trojer
2017-10-07  9:38                   ` Eli Zaretskii
2017-10-07 11:41                     ` Eli Zaretskii
2019-06-25 23:32                       ` Lars Ingebrigtsen
2019-06-26  2:40                         ` Eli Zaretskii
2014-06-18 14:37     ` Eli Zaretskii
2014-06-21 10:14       ` Mario Lang
2014-06-21 11:26         ` Eli Zaretskii [this message]
2014-06-18 14:33   ` Eli Zaretskii
2014-06-18 14:29 ` Eli Zaretskii
2014-06-18 18:29   ` Mario Lang
2014-06-18 18:44     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k38atsfc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17497@debbugs.gnu.org \
    --cc=mlang@delysid.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.