GNU bug report logs - #3494
23.0.94; line-move-visual: temporary goal column confused by hscrolling

Previous Next

Package: emacs;

Reported by: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)

Date: Mon, 8 Jun 2009 01:25:04 UTC

Severity: normal

Tags: fixed

Merged with 3805

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Teemu Likonen <tlikonen <at> iki.fi>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 3494 <at> debbugs.gnu.org,
        Johan Bockgård
 <bojohan <at> gnu.org>,
        Kees Bakker <kees <at> altium.nl>
Subject: bug#3494: 23.0.94; line-move-visual: temporary goal column confused by hscrolling
Date: Sat, 11 Jul 2009 19:44:28 +0300
On 2009-07-11 12:03 (-0400), Chong Yidong wrote:

> Does the following patch fix the problem?
>
> diff -c /home/cyd/emacs/lisp/simple.el.\~1.988.\~ /home/cyd/emacs/lisp/simple.el
> *** emacs/lisp/simple.el.~1.988.~	2009-06-21 00:37:46.000000000 -0400
> --- emacs/lisp/simple.el	2009-07-11 11:58:55.000000000 -0400

Not quite, I'm afraid. Setting goal column still messes it up badly. To
reproduce:

 1. emacs -Q -f toggle-truncate-lines

 2. Don't change the size of the window. Create test buffer with
    commands:

        C-u 85 a RET
        C-u 100 b RET

 3. Move the cursor to the end of the first (the line with a's).

 4. Enable goal column: C-x C-n

 5. Repeat C-n and C-p. The column changes quite wildly.

The problem goes away if I set line-move-visual to nil.



This bug report was last modified 13 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.