emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100369: Fix C-e when bidi reordering


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100369: Fix C-e when bidi reordering is in effect.
Date: Wed, 19 May 2010 20:16:07 +0300
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100369
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Wed 2010-05-19 20:16:07 +0300
message:
  Fix C-e when bidi reordering is in effect.
  
   simple.el (move-end-of-line): Make sure we are at line beginning
   before backing up to end of previous line.
modified:
  lisp/ChangeLog
  lisp/simple.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-05-19 12:52:27 +0000
+++ b/lisp/ChangeLog    2010-05-19 17:16:07 +0000
@@ -1,3 +1,8 @@
+2010-05-19  Eli Zaretskii  <address@hidden>
+
+       * simple.el (move-end-of-line): Make sure we are at line beginning
+       before backing up to end of previous line.
+
 2010-05-19  Michael Albinus  <address@hidden>
 
        * password-cache.el (password-cache-remove): Fix docstring.

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2010-05-17 19:27:26 +0000
+++ b/lisp/simple.el    2010-05-19 17:16:07 +0000
@@ -4539,6 +4539,9 @@
               (let ((goal-column 0)
                     (line-move-visual nil))
                 (and (line-move arg t)
+                     ;; With bidi reordering, we may not be at bol,
+                     ;; so make sure we are.
+                     (skip-chars-backward "^\n")
                      (not (bobp))
                      (progn
                        (while (and (not (bobp)) (invisible-p (1- (point))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]