Bram,
a bug has been reported at stackoverflow:
http://stackoverflow.com/questions/26927016/vim-change-list-behaviour

This happens, because the lnum variable should be decremented before 
changed_bytes in do_put() (it was incremented in the loop before).

This patch fixes it.

Best,
Christian
-- 
Beidl, der
  Jemand, den  man nicht zu  einer Feier einladen möchte, aber leider
  einzuladen verpflichtet ist.
                -- Douglas Adams, John Lloyd, Sven Böttcher ("Der tiefere Sinn 
des Labenz")

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/ops.c b/src/ops.c
--- a/src/ops.c
+++ b/src/ops.c
@@ -3835,7 +3835,7 @@ do_put(regname, dir, count, flags)
 	    /* For "CTRL-O p" in Insert mode, put cursor after last char */
 	    if (totlen && (restart_edit != 0 || (flags & PUT_CURSEND)))
 		++curwin->w_cursor.col;
-	    changed_bytes(lnum, col);
+	    changed_bytes(--lnum, col);
 	}
 	else
 	{

Raspunde prin e-mail lui