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

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

bug#971: 23.0.60; next-line, previous-line and goal-column


From: Eli Zaretskii
Subject: bug#971: 23.0.60; next-line, previous-line and goal-column
Date: Fri, 16 Sep 2011 16:38:45 +0300

> Date: Fri, 16 Sep 2011 12:38:35 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> An easy way of solving this is dropping support for goal-column when
> line-move-visual is non-nil.  If that's unacceptable, Someoneā„¢ will
> have to come up with a specification for what Emacs should do in this
> use case, because I cannot think of any reasonable behavior.

Actually, I can think of one reasonable behavior: if goal-column is
set to a non-nil value, ignore the value of line-move-visual and
always move by logical lines.  This will do the same as it does today
when lines are not wrapped, and do the only reasonable thing
otherwise.

Technically, this means that line-mode should call line-move-1 if
goal-column is set, even if line-move-visual is non-nil.

Thoughts?






reply via email to

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