emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105451: Another part of fixing bug #


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105451: Another part of fixing bug #9296 with vertical cursor motion.
Date: Mon, 15 Aug 2011 09:44:48 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105451
fixes bug(s): http://debbugs.gnu.org/9296
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2011-08-15 09:44:48 +0300
message:
  Another part of fixing bug #9296 with vertical cursor motion.
  
   src/xdisp.c (move_it_in_display_line_to): Don't reset pixel
   coordinates of the iterator when restoring from ppos_it.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-08-14 17:51:08 +0000
+++ b/src/ChangeLog     2011-08-15 06:44:48 +0000
@@ -1,3 +1,9 @@
+2011-08-15  Eli Zaretskii  <address@hidden>
+
+       * xdisp.c (move_it_in_display_line_to): Don't reset pixel
+       coordinates of the iterator when restoring from ppos_it.
+       (Bug#9296)
+
 2011-08-14  Kenichi Handa  <address@hidden>
 
        * process.c (create_process): Call setup_process_coding_systems

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-08-14 11:10:19 +0000
+++ b/src/xdisp.c       2011-08-15 06:44:48 +0000
@@ -8093,7 +8093,8 @@
                {
                  if (!at_eob_p && IT_CHARPOS (ppos_it) < ZV)
                    RESTORE_IT (it, &ppos_it, ppos_data);
-                 goto buffer_pos_reached;
+                 result = MOVE_POS_MATCH_OR_ZV;
+                 break;
                }
              if (ITERATOR_AT_END_OF_LINE_P (it))
                {
@@ -8107,7 +8108,8 @@
            {
              if (IT_CHARPOS (ppos_it) < ZV)
                RESTORE_IT (it, &ppos_it, ppos_data);
-             goto buffer_pos_reached;
+             result = MOVE_POS_MATCH_OR_ZV;
+             break;
            }
          result = MOVE_LINE_TRUNCATED;
          break;


reply via email to

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