Hi Yaakov, is this fixed in the new Vim release?
Regards 2013/8/13 Björn Kautler <bjo...@kautler.net>: > Hi Yaakov, > > I'm wondering that noone mentioned it before, but maybe everyone is using > ~/.vimrc or they were not as puzzled as me and tried to find out what went > wrong. > > After updating to your latest vim build 1152, vim started to behave really > unexpected, no syntax coloring, only one undo step and doing undo again did a > redo, ... > > In the meantime I found out that your 7.3-virc.patch is the culprit, it > replaces > > # define SYS_VIMRC_FILE "$VIM/vimrc" > > by > > # ifdef FEAT_NORMAL > # define SYS_VIMRC_FILE "/etc/vimrc" > # else > # define SYS_VIMRC_FILE "/etc/virc" > # endif > > which changes system vimrc file from /etc/vim/vimrc to /etc/vimrc for normal > vim usage. > This way no options are set and vim starts its strange behaviour. > > I guess the new block of code should probably more likely be > > # ifdef FEAT_NORMAL > # define SYS_VIMRC_FILE "$VIM/vimrc" > # else > # define SYS_VIMRC_FILE "$VIM/virc" > # endif > > or at most > > # ifdef FEAT_NORMAL > # define SYS_VIMRC_FILE "$VIM/vimrc" > # else > # define SYS_VIMRC_FILE "/etc/virc" > # endif > > Regards > Björn > > > > Am 11.06.2013 00:47, schrieb Yaakov (Cygwin/X): >> The following packages have been updated for the Cygwin distribution: >> >> *** vim-7.3.1152-1 >> *** vim-common-7.3.1152-1 >> *** vim-minimal-7.3.1152-1 >> *** xxd-7.3.1152-1 >> *** gvim-7.3.1152-1 >> >> Vim is an advanced text editor that seeks to provide the power of the >> de-facto Unix editor 'Vi', with a more complete feature set and a choice >> of terminal and GTK+ interfaces. >> >> This is an update to last week's upstream patchset, with the following >> packaging changes: >> >> * The 'vi' binary now uses ~/.virc and /etc/virc instead of vimrc to avoid >> errors with configuration options not supported by 'vi'. >> >> * gvim on x86_64 uses the GTK+ interface. >> > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple