Vim 8 deploys $VIMRUNTIME/defaults.vim which includes an autocmd
to "jump to the last known cursor position".
That can generate E315.

Execute the following to create two files and exit.
At exit, the cursor is on the last line of each file.

gvim -N -u NONE
:tabe test1.tmp
:put =range(1,90)
:w
:tabe test2.tmp
:put =range(1,100)
:xa

Execute the following to generate internal error E315:

gvim -N -u NONE
:source $VIMRUNTIME/defaults.vim
:tabe test2.tmp
:vert diffs test1.tmp

Result:

"test1.tmp" 91L, 353C
E315: ml_get: invalid lnum: 92
Press ENTER or type command to continue

John

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui