Bram,
I see the following behaviour:

fun! Test()
  new
  call setline(1, range(1,100))
  call append('$', ['a', 'b', 'c', 'd'])
  call append('$', ['Z', 'Y', 'X', 'W'])
endfu

call vim like this:
vim -u NONE -N -S testfile.vim

Now check the :changes command:
:changes

This will show:
,----
| :changes
| change line  col text
|     1   105    0 Z
| >
| Press ENTER or type command to continue
`----

While I had expected 3 changes like this:
,----
| :changes
| change line  col text
|     3     2    0 2
|     2   101    0 a
|     1   105    0 Z
| >
| Press ENTER or type command to continue
`----


Best,
Christian
-- 
Man mochte über Adenauer denken, was man wollte. Man wußte jedenfalls
genau, woran man war.
                -- Willy Brandt

-- 
-- 
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.

Raspunde prin e-mail lui