On 2007-05-22, Natesh Kedlaya <[EMAIL PROTECTED]> wrote:

> From: Gary Johnson <[EMAIL PROTECTED]>
> Sent: Monday, May 21, 2007 5:30:52 PM

> > On 2007-05-21, Natesh Kedlaya <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >  I am using Vim6.3
> > >  My cscope db was built on a source directory structure 'src1' which was
> > >  mounted on /dir1. If I use this cscope db in my vim, my cscope query 
> > > would
> > >  yeild following results.
> > [...]
> > >   Any pointers appreciated.
> > 
> > You asked this question before on May 3 and May 7 and I replied with 
> > a suggestion.  Did you try that?

> Hi Gray,
>    Yes, I have tried it. But, no luck.

No luck in that cscope commands still tried opening the /dir1 files?  
No luck in that cscope commands didn't work at all?

Vim has no way that I know of of altering the names it gets from 
cscope, so I think the only alternatives are:

1.  correct the cscope database (e.g., apply a sed command to change 
    /dir1 to /dir2 when copying the database),
2.  insert a filter between cscope and vim (e.g., with a wrapper 
    script around cscope),
3.  execute cscope as a quickfix command (instead of using the :cs 
    commands) and filter its output before being read by vim.

If you would like help in getting any of those to work, we're going 
to have to know exactly what you tried and exactly what happened 
when it didn't work.

It will also help to keep the conversation on the list (I cc'd 
vim@vim.org) so that others can follow the discussion and 
contribute.

Regards,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Mobile Broadband Division
                             | Spokane, Washington, USA

Reply via email to