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)
:tabe test2.tmp
:put =range(1,100)

Execute the following to generate internal error E315:

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


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


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

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 
For more options, visit

Raspunde prin e-mail lui