Red Hat Bugzilla – Bug 456992
vim documentation of init sequence does not correspond to reality
Last modified: 2009-12-21 23:59:20 EST
Description of problem:
'man vim' says:
System wide Vim initializations.
~/.vimrc Your personal Vim initializations.
System wide initializations are actually read from /etc/vimrc
and ~/.vimrc is simply ignored, as it is easy to see by running
strace, even if other places in documentation and examples like
/usr/share/vim/vim71/vimrc_example.vim claim otherwise.
With strace one can find that there are attempts to read various
files in ~/.vim/ but what could be differences between those is
Version-Release number of selected component (if applicable):
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
The described problem equally affects vim-enhanced-7.2.148-1.fc11 from the current rawhide, and vim-enhanced-7.2.148-1.fc10, so you can add f10, f11
and rawhide to a breakage list.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
I tried that with vim-7.2.245-3.fc12. There is some improvement because vim now indeed tries to read ~/.vimrc as it is claimed in a documentation that it would. But it searches for many files not mentioned at all (assorted files in various
subdirectories of ~/.vim/, and ~/_vimrc, and ~/.exrc).
Also manpage still says:
System wide Vim initializations.
System wide gvim initializations.
but nothing like that exists and /etc/vimrc is read instead. gvim attempts to look at /etc/gvimrc, which does not exist either, but luckily it checks with /etc/vimrc too.
In conclusion it seems to me that calling that ERRATA is wildly too optimistic.
please wait for 7.2-314 or newer, I'm fixing bugs and close the bugzillas while doing that.
vim-7.2.315-1.fc12 has been submitted as an update for Fedora 12.
vim-7.2.315-1.fc11 has been submitted as an update for Fedora 11.
vim-7.2.315-1.fc10 has been submitted as an update for Fedora 10.
vim-7.2.315-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
vim-7.2.315-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.