]> git.eshelyaron.com Git - emacs.git/commit
Fix C-n/C-p inside bidirectional text
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Aug 2022 13:24:34 +0000 (16:24 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Aug 2022 13:24:34 +0000 (16:24 +0300)
commit55c25e73d46685e4b4423b13b0d3287fee170386
tree2927e3f370a25ea5f21e587ba473de63a269a761
parentd8abff398bc45a791783c5c463838ba6fa3f030e
Fix C-n/C-p inside bidirectional text

* src/xdisp.c (move_it_by_lines, try_cursor_movement): Handle
glyph rows whose direction of increasing buffer positions is
reverse of the normal: going down in the window makes buffer
positions higher.
* src/indent.c (Fvertical_motion): When looking for the last glyph
row occupied by point, take into account the bidi iteration
direction.
src/indent.c
src/xdisp.c