]> git.eshelyaron.com Git - emacs.git/commit
Fix line-move-visual's following of column in R2L lines.
authorEli Zaretskii <eliz@gnu.org>
Thu, 8 Jan 2015 14:04:46 +0000 (16:04 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 8 Jan 2015 14:04:46 +0000 (16:04 +0200)
commit5fbd17e369ca30a47ab8a2eda0b2f2ea9b690bb4
tree253a55de82ec0ae74ed1d05004be77439da0231b
parentad83cdacb6808377e2ef4f96e60ffb68dbf01cd9
Fix line-move-visual's following of column in R2L lines.

 src/simple.el (line-move-visual): When converting X pixel coordinate
 to temporary-goal-column, adjust the value for right-to-left
 screen lines.  This fixes vertical-motion, next/prev-line, etc.

 src/dispnew.c (buffer_posn_from_coords): Fix the value of the column
 returned for right-to-left screen lines.  (Before the change on
 2014-12-30, the incorrectly-computed X pixel coordinate concealed
 this bug.)
lisp/ChangeLog
lisp/simple.el
src/ChangeLog
src/dispnew.c