X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=mium
	hmJfwLh7HnB52VAQbKI3V5aYPD8VgAmPIGZx9tzpEjupmXKvXBSzfRwbCgutzYJb
	7xxdFXcEVWgK4tTmhCZhb0Rn9hmbIt2u4uSLu/Kk87g2wZxgUSTWM2Cojwde8sIB
	BWwn9jUHz2NCEVZ/hZxP2JIA00vJXhVMTFf82SM=
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:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=Gxh/cvhqkp
	dX4VYNtFiztx3Iy6M=; b=MFVdGoBo8TGN6gWBWXssUBAukIM4OowNDJmRtpyJA+
	m2niMm0t+IFE8+0hajEItwBk9u058wxGY6PW48ct3g2Wp4mJJ51pLfE0JmEHfvwP
	xmgB58H3A3meQ0cIfgAbuPqlN0J22OrxRwe6267TLklaAI1yT5IlJ0WemHLiN01l
	c=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD,SPF_PASS,TW_YG autolearn=ham version=3.3.1
Date: Fri, 17 May 2013 00:06:20 -0700
From: Gary Johnson <garyjohn@spocom.com>
To: cygwin@cygwin.com
Subject: Re: vim-7.3.943-1 missing command 'let g:colors_name = "elflord"' found in vim-common-7.3.943-1
Message-ID: <20130517070620.GD22373@phoenix>
Mail-Followup-To: cygwin@cygwin.com
References: <1368733719.30936.YahooMailClassic@web162702.mail.bf1.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1368733719.30936.YahooMailClassic@web162702.mail.bf1.yahoo.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

On 2013-05-16, Kenneth Salerno wrote:
> Where: vim-7.3.943-1
> 
> Issue: vim-common-7.3.943-1 contains
> /usr/share/vim/vim73/colors/elflord.vim which utilizes the command
> "let g:colors_name = "elflord", this command is not found in
> /usr/bin/vim-nox from package vim-7.3.943-1
> 
> Fix: downgrade to vim-7.3.762-1
> 
> Details:
> 
> kens@thinkpad$ cygcheck -f /usr/bin/vim-nox.exe 
> vim-7.3.943-1
> 
> kens@thinkpad$ vi
> Error detected while processing /home/kens/.exrc:
> line    1:
> E319: Sorry, the command is not available in this version: :syntax on
> Error detected while processing /usr/share/vim/vim73/colors/elflord.vim:
> line   12:
> E319: Sorry, the command is not available in this version: let g:colors_name = "elflord"
> Press ENTER or type command to continue
> 
> [DOWNGRADE TO VIM-7.3.762-1]
> kens@thinkpad$ cygcheck -f /usr/bin/vim-nox.exe 
> vim-7.3.762-1
> 
> kens@thinkpad$ vi
> ~
> ~
> :colorscheme
> elflord

This is not a bug.  See Yaakov's announcement in the list on May 12,
"[ANNOUNCEMENT] Updated: vim-7.3.943-1".  He explains that the
packaging scheme has been changed and that /usr/bin/vi is now Vim
compiled with the "small" feature set.  The "small" feature set does
not include the +syntax or +eval feature and does not support either
the :syntax or :let command.

If you want to use those commands, run vim and not vi, or alias vi
to vim.  If you want to use the "small" vi, you'll have to adjust
your ~/.vimrc to avoid using commands that are not supported.  See

    :help no-eval-feature

Regards,
Gary


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

