unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Adam Nielsen <a.nielsen@shikadi.net>
Cc: 15712-done@debbugs.gnu.org
Subject: bug#15712: 24.3; Point forgets what column it was in when vertical movement causes	horizontal scroll
Date: Fri, 25 Oct 2013 12:47:40 +0300	[thread overview]
Message-ID: <83sivphebn.fsf@gnu.org> (raw)
In-Reply-To: <20131025164203.30d3505d@teln.shikadi.net>

> Date: Fri, 25 Oct 2013 16:42:03 +1000
> From: Adam Nielsen <a.nielsen@shikadi.net>
> 
> Say you have a number of long lines, which are truncated because they
> are wider than Emacs can display.  There are blank lines in between
> them.  Like this: (the "..." should be expanded until the line is wider
> than the Emacs window)
> 
> long 1 longlonglong...2
> long 1 longlonglong...2
> 
> long 1 longlonglong...2
> long 1 longlonglong...2
> 
> If you place the point on the "1" and move down one line, the point will
> move to the "1" on the line below (i.e. it stays on the same column.)
> Moving down another line (to the blank line) the point changes column,
> but moving down a third time the point returns to the original column
> and is again on the "1".  This is normal and correct.
> 
> However if this process is repeated on the "2" instead, when the point
> is moved to the blank line Emacs will scroll horizontally to ensure the
> point remains visible.  This scrolling however, causes the point to
> forget what column it was on, so when moving down below the blank line,
> it does not return to the "2" and instead moves to the "l", as if the
> point had been commanded to return to the first column.
> 
> I believe this is a bug because the behaviour is not consistent, and
> changes depending on the width of the Emacs window - it only affects
> lines too long to display.

Fixed in trunk revision 114799.

Thanks.





      reply	other threads:[~2013-10-25  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25  6:42 bug#15712: 24.3; Point forgets what column it was in when vertical movement causes horizontal scroll Adam Nielsen
2013-10-25  9:47 ` 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=83sivphebn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15712-done@debbugs.gnu.org \
    --cc=a.nielsen@shikadi.net \
    /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).