From: Eli Zaretskii Date: Sat, 23 Jul 2011 10:46:21 +0000 (+0300) Subject: Fix pos-visible-in-window-p under bidi redisplay. X-Git-Tag: emacs-pretest-24.0.90~104^2~173 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9269c187774dea6e939066a79901f23ae79641f;p=emacs.git Fix pos-visible-in-window-p under bidi redisplay. src/xdisp.c (move_it_in_display_line_to): Record the best matching position for TO_CHARPOS while scanning the line, and restore it on exit if none of the characters scanned was an exact match. Fixes vertical-motion and pos-visible-in-window-p under bidi redisplay when exact match is impossible due to invisible text, and the lines are truncated. --- a9269c187774dea6e939066a79901f23ae79641f diff --cc src/ChangeLog index 9b66b8f34ff,dd5a1fba871..ad207884753 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,7 -1,10 +1,16 @@@ + 2011-07-23 Eli Zaretskii + + * xdisp.c (move_it_in_display_line_to): Record the best matching + position for TO_CHARPOS while scanning the line, and restore it on + exit if none of the characters scanned was an exact match. Fixes - vertical-motion and pos-visible-in-window-p when exact match is - impossible due to invisible text, and the lines are truncated. ++ vertical-motion and pos-visible-in-window-p under bidi redisplay ++ when exact match is impossible due to invisible text, and the ++ lines are truncated. ++ +2011-07-23 Jan Djärv + + * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask + for OSX >= 10.7. 2011-07-22 Eli Zaretskii