Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2001 18:18:43 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Joel Dinel <dinjo@touchtunes.com>
Cc:        obrien@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: vim5-5.8.6
Message-ID:  <20010709181843.C1019@ringworld.oblivion.bg>
In-Reply-To: <3B49A376.F724B309@touchtunes.com>; from dinjo@touchtunes.com on Mon, Jul 09, 2001 at 08:28:38AM -0400
References:  <3B49A376.F724B309@touchtunes.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Jul 09, 2001 at 08:28:38AM -0400, Joel Dinel wrote:
> Greetings,
> 
> when I use Vim5 to edit .gtkrc files, the following happens
> 
> ".gtkrc" 1049L, 21863C
> Error detected while processing
> /usr/local/share/vim/vim58/syntax/gtkrc.vim:
> line   94:
> Command already exists: use ! to redefine
> Press RETURN or enter command to continue
> 
> Is there a quick fix for this, or should I just wait for the next
> version?
> 
> I'm using a current ports tree updated daily, on FreeBSD 4.3-RELEASE.

Can you try applying the attached patch to the gtkrc.vim file specified
in the error message?  You can do it by running:

patch /usr/local/share/vim/vim58/syntax/gtkrc.vim < gtkrc.patch

Let me know if this fixes the problem for you - it certainly does for me.

G'luck,
Peter

-- 
I am the meaning of this sentence.

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gtkrc.patch"

diff -urN vim-5.8/runtime/syntax/gtkrc.vim vim-5.8/runtime/syntax/gtkrc.vim
--- vim-5.8/runtime/syntax/gtkrc.vim	Sun May 13 21:38:52 2001
+++ vim-5.8/runtime/syntax/gtkrc.vim	Mon Jul  9 18:13:27 2001
@@ -132,6 +132,8 @@
   HiLink gtkrcBraceError     gtkrcError
   HiLink gtkrcBracketError   gtkrcError
   HiLink gtkrcError          Error
+
+  delcommand HiLink
 endif
 " }}}
 let b:current_syntax = "gtkrc"

--rwEMma7ioTxnRzrJ--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010709181843.C1019>