delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/09/08:00:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
q=dns; s=default; b=aGJy7JEUxD2BO0fC9hzhU1JL+twyJJqtZKstJ96izxU
XsCu+mVNmYT4o657iZ/Do9bBJHs2NW3krfXOlfhYWmpnQVLiP8pDIYch8+ml4kUL
gI+HMscjNamspQmKfbqhBh4fUhc8n55IkwxQfARSITp9ewWQDQmiZkbAOREJBT64
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
s=default; bh=8cRe7HmvlujobRvBs6O/mEHM4uk=; b=d2fVlAI8Bfv/EzZuO
ruzPwxNXTpgWIKQNBav2anMIjazHcX93c6kos46ZOkKxLd98uOMeNkx9ajVCEd46
aRwZVUC/kMpKZwIHf2NTX7EVuXrvCCSLpwZQlkM1YYTzi9+reQHYktLPRMU1cADR
SZr1Gn0sy+NeGDULudkRj0mnxY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: kautler.net
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=O/ig1zRRHPTY/9wSTRfIDyT/oX6qZIxy+7sRxh0jpc0=; b=Cd1uYMmHpeVX0zOJJLFG7yXvkgYpEIaR9B8PYjhvItoxWnn9Qqkh/11vYj0lfiM7D8 5uKMlyNpYeCU9uag+fiLP2IJPlox3xLQcJ88eM+wvceJ/RWTS78GdP0JiRyb7e6G+Hf0 mYbkIhm5wCnu4lKQBK/gHv6+MyKIKtt2Fc7ZiSf2fuT9DOO9oQ9++43SIoMW06K1wm7Y iw22qfSaz4/6W21Xqabfi/7/usZFhGqLUqvK0042cVuwMfFpIOZ4U4ieiO3znmuc1YyI HC2ZvJl+MIIeaNpX1lo+EH4Nnuzj7HhFK5k/KJIlWNUpC8qVRXHgTp00rlC1pN46s9xK IGpA==
X-Received: by 10.49.51.66 with SMTP id i2mr32985498qeo.26.1386594008664; Mon, 09 Dec 2013 05:00:08 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <20131209125119.GJ2527@calimero.vinschen.de>
References: <52096B42 DOT 8010702 AT Kautler DOT net> <CAKChYSpP=AKMOc7yHL9NMJyQeKEvsswgKFTyJVKZZrg5vqbPsQ AT mail DOT gmail DOT com> <CAKChYSpBEmXquHxkC2LZSmgH60kXfTxriDVX_Ap6HC4GNMRWMg AT mail DOT gmail DOT com> <20131206171721 DOT GA7240 AT ednor DOT casa DOT cgf DOT cx> <CAKChYSqyXHXUh1GVNsOEZWPbS=RsObb_gOCLX5kycMFWej-mwQ AT mail DOT gmail DOT com> <20131206234833 DOT GC3154 AT phoenix> <CAKChYSrNhmza5TBZNQQnaAC2LKJz7G1MbJi-+1K97c=Z0h9CJQ AT mail DOT gmail DOT com> <CAKf2h5S8n+JX1LVbf+ZZDRUneJuiG0OQ9B9wTpr3WVj2gUkNSg AT mail DOT gmail DOT com> <CAKChYSrsuLrO=OxZqD7wSeti8-oGtZeYr5yy3rjxxQGU6zzuxg AT mail DOT gmail DOT com> <CAKf2h5S+b8kjuXm2bmuEwUGk9bLfJjq602-e_YYGhcptKd_XWQ AT mail DOT gmail DOT com> <20131209125119 DOT GJ2527 AT calimero DOT vinschen DOT de>
From: =?ISO-8859-1?Q?Bj=F6rn_Kautler?= <Bjoern AT Kautler DOT net>
Date: Mon, 9 Dec 2013 13:59:48 +0100
Message-ID: <CAKChYSq8RTRpH3OprWSHKqWbT9POjHGmcMGRESqb+KXmVmecCQ@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] Updated: vim-7.3.1152-1
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rB9D0bsU005614

Again, what I talk about is NOT an issue of vi vs. vim.
What I talk about is a breaking change in vim that was introduced
while doing a change for vi.
But it is NOT an issue of vi vs. vim.

Here again my original mail:

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

2013/12/9 Corinna Vinschen:
> On Dec  9 13:34, Frank Fesevur wrote:
>> 2013/12/9 Björn Kautler:
>> > I don't have a problem with being mean.
>> > Everyone makes mistakes.
>> > I just wonder that it gets broken silently without obvious (to me) reason
>> > and a question regarding it and with two proposed solutions just stays
>> > ignored while it would be very easy to fix.
>>
>> To me, the best way to fix these problems is simple: start using
>> alternatives again just like before vim-7.3.943-1. It makes everybody
>> happy. You don't need to know if just vim-minimal or the full vim is
>> installed. And whether you are used to typing "vi" or "vim", both
>> commands start the best available version of vim.
>>
>> I don't understand why it was removed anyway. I brought up the
>> question before and never got an answer.
>
> The new vim layout closely reflects the Fedora packaging.  It has a
> minimal vi in the vim-minimal package and a full-featured vim in the
> vim-enhanced package.  I'm using a vi -> vim alias on Fedora for ages.
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019