unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ivan Andrus <darthandrus@gmail.com>
Cc: 9324-done@debbugs.gnu.org, antoine.levitt@gmail.com
Subject: bug#9324: 24.0.50; Movement past end of screen causes weird jump
Date: Fri, 26 Aug 2011 13:20:17 +0300	[thread overview]
Message-ID: <83vctkfp9a.fsf@gnu.org> (raw)
In-Reply-To: <59F6F8C9-0263-47D2-A6CF-0C52A89AD927@gmail.com>

> From: Ivan Andrus <darthandrus@gmail.com>
> Date: Thu, 25 Aug 2011 22:11:37 +0200
> Cc: antoine.levitt@gmail.com,
>  9324@debbugs.gnu.org
> 
> Indeed and that is very important to reproducing this bug.  What is your frame size?  Actually when building with athena I couldn't get the frame big enough, so I changed the test case a little.  At the end of the day what seems important is that the first line showing be a continuation line.  Then executing the (forward-sexp) gives the buggy behavior.

I've managed to reproduce this.  Please note that most of the `progn'
in bug-example-3.el is just clutter and is not needed to see the
problem (that clutter is part of the reason why it took so long to see
the problem).  Frame dimensions, mode-line face, exactly how you
scroll and recenter -- all these are irrelevant.  All you need is
this:

  emacs -Q -l highlight-parentheses.el -l hl-sexp.el bug-example-3.el
  C-u 1 C-v
  M-x goto-line RET 24 RET
  M-x hl-sexp-mode RET
  M-x highlight-parentheses-mode RET
  C-M-f

After this, Emacs moves point to be centered in the window, instead of
scrolling the window to show point at the end of the buffer, after the
sexp it was supposed to move across as result of C-M-f.

I fixed this in revision 105577 on the trunk.





      parent reply	other threads:[~2011-08-26 10:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18 20:48 bug#9324: 24.0.50; Movement past end of screen causes weird jump Ivan Andrus
2011-08-18 21:11 ` Antoine Levitt
2011-08-19  8:25   ` Eli Zaretskii
2011-08-19  9:54     ` Ivan Andrus
2011-08-19 10:02     ` Ivan Andrus
2011-08-19 10:41       ` Eli Zaretskii
2011-08-19 16:19         ` Ivan Andrus
2011-08-19 16:51           ` Antoine Levitt
2011-08-19 17:15           ` Eli Zaretskii
2011-08-19 18:38             ` Ivan Andrus
2011-08-19 19:06               ` Eli Zaretskii
2011-08-20  7:33                 ` Ivan Andrus
2011-08-20 11:29                   ` Eli Zaretskii
     [not found]                     ` <0760243C-31D8-492E-99BE-86D87D7601F6@gmail.com>
2011-08-20 14:37                       ` Eli Zaretskii
2011-08-25 20:11                     ` Ivan Andrus
2011-08-25 20:59                       ` Antoine Levitt
2011-08-26 10:32                         ` Eli Zaretskii
2011-08-26 10:20                       ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83vctkfp9a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9324-done@debbugs.gnu.org \
    --cc=antoine.levitt@gmail.com \
    --cc=darthandrus@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).