Am 2014-03-07 01:13, schrieb Yuri Vic:
Every once in a while, and for many months/years, I sometimes see this
message when I open a new file with ":new some-file".
Error detected while processing BufRead Auto commands for "*":
E19: Mark has invalid line number
Press ENTER or type command to continue
Pressing ENTER proceeds to the file being opened. Repeating the
operation doesn't usually produce an error, until this happens again
after a while. So this is an intermittent error.
This is a minor issue, but I saw it so many times over a very long
period of time, that I decided to ask it here. I only use vim on
FreeBSD, so it could well be a FreeBSD-specific issue.
vim-7.4.182 on FreeBSD 9.2
Looks like you are trying to access a mark, that is invalid. It sounds a
little
bit, like you are using some variation of the old-position-jump (:h
old-position-jump)
which doesn't guard against marks becoming invalid.
So you need to check your BufRead(Post) autocommands for anything that
tries to access a
mark. If you are using vimrc_example.vim then also check in there, it
enables the
last-position-jump.
You could also try to set verbose to a little higher value, so that
you'll be able to see
which function causes this error. Perhaps this gives a clue.
Best,
Christian
--
--
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.