GNU bug report logs - #17346
24.4.50; Why is the goal column limited to C-n and C-p ?

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 25 Apr 2014 11:30:03 UTC

Severity: minor

Tags: moreinfo

Found in version 24.4.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 17346 <at> debbugs.gnu.org
Subject: bug#17346: 24.4.50; Why is the goal column limited to C-n and C-p ?
Date: Thu, 09 Oct 2014 11:44:16 -0400
>> Another issue related to the one reported originally: 'C-l'
>> (recenter-top-bottom) resets the goal column.
>> Steps to reproduce, from "emacs -Q":
>> C-p C-p C-f C-n C-p
>> Note that the goal column (column 1) is honored by now.  Then do:
>> C-n C-l C-p
>> Note that the goal column has been (incorrectly) forgotten after typing 'C-l'.

I think it would be fine to make C-l preserve `temporary-goal-column'.
Currently, only next-line and previous-line do that, and this is
hardcoded in `line-move' and `line-move-visual'.

We could change that hardcoded list by replacing it with a symbol
property `preserve-temporary-goal-column' and then add that property to
recenter-top-bottom.


        Stefan




This bug report was last modified 2 years and 347 days ago.

Previous Next


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