This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: vim-7.3.1152-1
- From: Björn Kautler <Bjoern at Kautler dot net>
- To: yselkowitz at users dot sourceforge dot net
- Cc: cygwin at cygwin dot com
- Date: Mon, 16 Sep 2013 18:41:20 +0200
- Subject: Re: [ANNOUNCEMENT] Updated: vim-7.3.1152-1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 51B65778 dot 8020200 at users dot sourceforge dot net> <52096B42 dot 8010702 at Kautler dot net>
Hi Yaakov,
is this fixed in the new Vim release?
Regards
2013/8/13 Björn Kautler <Bjoern@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