From Bugzilla Helper: User-Agent: Mozilla/4.7 [en] (Win98; U) Description of problem: This system vimrc has a subtle bug. It has to do with this line: " When editing a file, always jump to the last cursor position autocmd BufReadPost * if line("'\"") | exe "'\"" | endif It should be: " When editing a file, always jump to the last cursor position autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif The original will give seemingly random error messages. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: step 1 - vim a (where 'a' is a new file) - make it look like this: 1 2 3 - :3 - :wq step 2 - gvim a - :3normal dd - :w - :bd (note, *don't* exit this gvim) step 3 - vim a (shows error) Actual Results: An error from vim. Expected Results: No error. Additional info:
I forgot to specify. This is with the following packages installed (from ftp.rawhide.com): vim-enhanced-6.0-2 vim-common-6.0-2 vim-minimal-6.0-2 vim-X11-6.0-2
Thanks, changed. (6.0-3)