Reconcile with changes in line movement behavior for long text lines
authorKen Manheimer <ken.manheimer@gmail.com>
Tue, 4 Jan 2011 19:44:10 +0000 (14:44 -0500)
committerKen Manheimer <ken.manheimer@gmail.com>
Tue, 4 Jan 2011 19:44:10 +0000 (14:44 -0500)
commit82b392a452796d5fce78a84544415519c6b032e6
tree7372750fff4f3d94d2a9f59fbab2d6e6f6f3825a
parent3f1b6eb290b0631885a40ed034839d3dbc04b121
Reconcile with changes in line movement behavior for long text lines
that cross more than a single physical window line, ie when truncate-lines
is nil.

(allout-next-visible-heading): Provide for change in line-move behavior on
long lines when truncate-lines is nil.  In that case, line-move can wind up
on the same textual line when it moves to the next window line, and moving
to the bullet position after the move yields zero advancement.  Add logic
to detect and compensate for the lack of progress.

(allout-current-topic-collapsed-p): move-end-of-line respect for field
boundaries is different when operating with body lines shorter than window
width versus ones greater than window width, which can yield false
negatives in this function.  Avoid difference by applying move-end-of-line
while field-text-motion is inhibited.
lisp/allout.el