delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/16/05:48:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 16 Jun 2008 11:48:16 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with tags in vim 7.1
Message-ID: <20080616094816.GF731@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4856209F DOT 60307 AT ptc DOT com>
MIME-Version: 1.0
In-Reply-To: <4856209F.60307@ptc.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jun 16 01:13, Alex Shturm wrote:
> Hello,
>
> I'm having a strange problem with tags in vim 7.1 that I've just installed.
> My Cygwin version is 1.5.25-14.
> [...]
> *** Case (1)
> tagfile:
> ------------------------
> my_function    $TESTDIR/test.c    /^int my_function (int aaa)$/
> ------------------------
> [...]
> E434: Can't find tag pattern
> *** Case (2)
> tagfile:
> ------------------------
> my_function    c:/temp/test.c    /^int my_function (int aaa)$/
> ------------------------
> Command "vim -t my_function" CRASHES vim (segmentation fault) ....
> *** Case (3)
> tagfile:
> ------------------------
> my_function    /cygdrive/c/temp/test.c    /^int my_function (int aaa)$/
> ------------------------
> Only here the command "vim -t my_function" correctly loads test.c and finds 
> the tag.

I never heard about vim being able to use variables in tags files.
As for case 2, use POSIX paths.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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