Hi

I can reproduce internal error E315 with Vim-7.2.411 on Linux:

$ yes | head > foo.txt
$ chmod a-w foo.txt
$ vim -u NONE -c 'au FileChangedRO * :%d' -c 'norm 3GD' foo.txt

Error detected while processing command line:W10: Warning: Changing a
readonly file
E315: ml_get: invalid lnum: 3

I realize that we're not meant to change the file in the
FileChangedRO autocommand (and Vim warns about it: W10).
However, I don't think it should cause an internal error.

-- Dominique

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

Raspunde prin e-mail lui