bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dani Moncayo
Subject: bug#17346: 24.4.50; Why is the goal column limited to C-n and C-p ?
Date: Thu, 9 Oct 2014 18:30:32 +0200

>> 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.
>
> Sounds right to me.
>
> Note also that, as I said before in this thread, any command intended
> for _vertical_ motion of the cursor (scroll-up-command,
> scroll-down-command, scroll-bar-toolkit-scroll, mwheel-scroll, ...)
> should try to preserve the goal column (whether semi-permanet or
> temporary).

Therefore, `preserve-goal-column' would be a better name for the
property, since it would refer to both types of goal columns.

-- 
Dani Moncayo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]