From: Eli Zaretskii Date: Sat, 29 May 2010 12:51:01 +0000 (+0300) Subject: Fix cursor motion in bidi-reordered continued lines. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~176 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06fa4a23522821fc3a4e93c7ca505bae4d4733de;p=emacs.git Fix cursor motion in bidi-reordered continued lines. xdisp.c (try_cursor_movement): Backup to non-continuation line only after finding point's row. Fix the logic. Rewrite the loop over continuation lines in bidi-reordered buffers. Return CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row, rather than CURSOR_MOVEMENT_CANNOT_BE_USED. --- 06fa4a23522821fc3a4e93c7ca505bae4d4733de diff --cc src/ChangeLog index 18e0aab2a6d,814b30bbdad..718f2b385d8 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,6 -1,14 +1,15 @@@ + 2010-05-29 Eli Zaretskii + - * xdisp.c (try_cursor_movement): Fix the logic. Rewrite the loop ++ Fix cursor motion in bidi-reordered continued lines. ++ * xdisp.c (try_cursor_movement): Backup to non-continuation line ++ only after finding point's row. Fix the logic. Rewrite the loop + over continuation lines in bidi-reordered buffers. Return + CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row, + rather than CURSOR_MOVEMENT_CANNOT_BE_USED. + -2010-05-28 Eli Zaretskii +2010-05-28 Michael Albinus - * xdisp.c (try_cursor_movement): Backup to non-continuation line - only after finding point's row. + * fileio.c (Fdelete_file): Pass TRASH arg to handler call. 2010-05-28 Kenichi Handa