unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier  <monnier@iro.umontreal.ca>
Cc: 3494@emacsbugs.donarmstrong.com, "Kees Bakker" <kees@altium.nl>,
	"Teemu Likonen" <tlikonen@iki.fi>, Bockgård <bojohan@gnu.org>
Subject: bug#3494: 23.0.94; line-move-visual: temporary goal column confused by hscrolling
Date: Sun, 12 Jul 2009 12:04:53 -0400	[thread overview]
Message-ID: <871volq44a.fsf@stupidchicken.com> (raw)
In-Reply-To: <871vombcu3.fsf@iki.fi> (Teemu Likonen's message of "Sun, 12 Jul 2009 10:05:40 +0300")

>  1. xrdb -remove; xterm -geometry 80x25
>  2. emacs -Q -nw -f toggle-truncate-lines -f column-number-mode
>  3. C-u 85 a RET
>     C-u 100 b RET
>  4. Press C-p two times to move the the beginning of "a" line.
>  5. Press C-e to get to the end of "a" line. (See screenshot 1.)
>  6. Press C-x C-n and "y" to set goal column.
>  7. Press C-n. The screen is scrolled horizontally and the cursor at the
>     column 94. (See screenshot 2.)

I see the problem.  It's not trivial to fix; maybe it's preferable for
`line-move' to call `line-move-1' instead of `line-move-visual' when the
window is hscrolled.

Stefan, WDYT?





  reply	other threads:[~2009-07-12 16:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2302.1247329057.2239.bug-gnu-emacs@gnu.org>
2009-07-11 16:44 ` bug#3494: 23.0.94; line-move-visual: temporary goal column confused by hscrolling Teemu Likonen
2009-07-11 17:25   ` Chong Yidong
2009-07-11 18:02     ` Teemu Likonen
2009-07-11 22:59       ` Chong Yidong
2009-07-12  7:05         ` Teemu Likonen
2009-07-12 16:04           ` Chong Yidong [this message]
2009-07-12 16:38             ` Lennart Borgman
2009-07-11 16:31 Chong Yidong
2009-07-11 16:56 ` Teemu Likonen
2009-07-11 17:23   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-07-11 16:03 Chong Yidong
2009-06-08  1:17 Johan =?UTF-8?Q?Bockg=C3=A5rd

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=871volq44a.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=3494@emacsbugs.donarmstrong.com \
    --cc=bojohan@gnu.org \
    --cc=kees@altium.nl \
    --cc=monnier@iro.umontreal.ca \
    --cc=tlikonen@iki.fi \
    /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).