delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/12/19:10:20

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:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=nTYUKH2MfTcOeZMl
4b6m8yfws/3/HKBMcHJRflULpRrGBtF4EKqa1VlENaTmjFlR6sHeJVQf4wFrqEHX
CW/ThLouNIJex3P2EopGztgnRpvjr9gLjEnO097P7rDJPFIfdIToUQs9hOOtNJWt
ft4jNGYJ8Yahu7V1yYwHrmweM3I=
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:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=kazn9eZk0ymS40TFqa0fGh
clnu0=; b=nZRkI5cMwqO2xM60RIOlkEYTCqEPYO8XWmP4YIn6DUa82TdilGTfuz
LjSMnB+1Fal0MuBWiKdO/RLCeEXu6ePUx6j9AJnh/+Kyru77c9FP8Td7Mx2O6iMb
kPbE4WqGmxbcuUd9eW7u1GmfBmHESr9UUH97PZtM5uHeH3pcDZ64s=
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
X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=jbGy/Ti4demXBtXD9XfjuEK9uafxWrsS5MurRjlCrLI=; b=S5EfTrMCZH9ZeT+WrmDo+sxtD5kwvNPMxCE0tWKNk8+uk99i881645xcIn3KNtjSdp XvqgvZYwhOQbJCa7mrsCCkAk3jGlWosLIlhHfFlY50iVZFzgqMmQP/9K5mtRT5I2aQye BNSq6TVwagw2epB/3yE3k0jB8V6rqnAdbAMsUTKGRYE3vLmH4l3h8CwbVob1S60umc5U mThWn6MUoEDVg461yorF58KjS6a9HZagWAm0ZtZ04v8FpQLR5pfxqDsDotpbgBPHRkKE hdECyeJV+O61C4Uren41ICdmSLlQc0hdDvXJBwGx4ekSpkaQEPl9/vnkCIZzZgLqk7zf wSQg==
X-Received: by 10.14.101.13 with SMTP id a13mr17866eeg.86.1376348998097; Mon, 12 Aug 2013 16:09:58 -0700 (PDT)
Message-ID: <52096B42.8010702@Kautler.net>
Date: Tue, 13 Aug 2013 01:09:54 +0200
From: =?UTF-8?B?QmrDtnJuIEthdXRsZXI=?= <Bjoern AT Kautler DOT net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8
MIME-Version: 1.0
To: yselkowitz AT users DOT sourceforge DOT net
CC: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: vim-7.3.1152-1
References: <announce DOT 51B65778 DOT 8020200 AT users DOT sourceforge DOT net>
In-Reply-To: <announce.51B65778.8020200@users.sourceforge.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

- Raw text -


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