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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 To: cygwin AT cygwin DOT 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 AT cygwin DOT com References: <1368733719 DOT 30936 DOT YahooMailClassic AT web162702 DOT mail DOT bf1 DOT yahoo DOT 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 AT thinkpad$ cygcheck -f /usr/bin/vim-nox.exe > vim-7.3.943-1 > > kens AT 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 AT thinkpad$ cygcheck -f /usr/bin/vim-nox.exe > vim-7.3.762-1 > > kens AT 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