emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105745: Fix bug #2496 with column co


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105745: Fix bug #2496 with column counting in presence of display tables.
Date: Mon, 12 Sep 2011 07:51:27 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105745
fixes bug(s): http://debbugs.gnu.org/2496
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2011-09-12 07:51:27 -0400
message:
  Fix bug #2496 with column counting in presence of display tables.
  
   src/indent.c (compute_motion): Process display vector front to back
   rather than the other way around.
modified:
  src/ChangeLog
  src/indent.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-12 02:22:22 +0000
+++ b/src/ChangeLog     2011-09-12 11:51:27 +0000
@@ -1,3 +1,8 @@
+2011-09-12  Eli Zaretskii  <address@hidden>
+
+       * indent.c (compute_motion): Process display vector front to back
+       rather than the other way around.  (Bug#2496)
+
 2011-09-12  Stefan Monnier  <address@hidden>
 
        * fileio.c (Finsert_file_contents): Don't assume beg_offset is 0.

=== modified file 'src/indent.c'
--- a/src/indent.c      2011-09-04 17:24:12 +0000
+++ b/src/indent.c      2011-09-12 11:51:27 +0000
@@ -1543,7 +1543,7 @@
              n = 1;
            }
 
-         for (i = n - 1; i >= 0; --i)
+         for (i = 0; i < n; ++i)
            {
              if (VECTORP (charvec))
                {


reply via email to

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