unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>, 3494@emacsbugs.donarmstrong.com
Cc: "Kees Bakker" <kees@altium.nl>, "Teemu Likonen" <tlikonen@iki.fi>,
	"Johan 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 18:38:36 +0200	[thread overview]
Message-ID: <e01d8a50907120938x3b391b4fo94ccf54d8c915b2@mail.gmail.com> (raw)
In-Reply-To: <871volq44a.fsf@stupidchicken.com>

On Sun, Jul 12, 2009 at 6:04 PM, Chong Yidong<cyd@stupidchicken.com> wrote:
>>  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.

I don't understand what is wrong here, but is this perhaps related to
the problem with posn-at-point that I reported for example here:

http://www.opensubscriber.com/message/emacs-devel@gnu.org/10283709.html





  reply	other threads:[~2009-07-12 16:38 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
2009-07-12 16:38             ` Lennart Borgman [this message]
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=e01d8a50907120938x3b391b4fo94ccf54d8c915b2@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=3494@emacsbugs.donarmstrong.com \
    --cc=bojohan@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=kees@altium.nl \
    --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).