Dominique Pelle wrote:

> Using Vim-7.3.89, I see a discrepancy between between
> output of ":cscope help" and ":help cscope-find":
> 
>    :cscope help
>    ...snip...
>          t: Find assignments to
> 
> 
>    :help cscope-find
>    ...snip...
>                    4 or t: Find this text string
> 
> So should ":cs find t foo" find assignments to variable 'foo'
> or find lines containing string 'foo'?
> 
> Trying it using cscope 15.7a, ":cs find t foo" gives lines containing
> 'foo' (not assignments to foo). This is consistent with information
> on the official cscope page (http://cscope.sourceforge.net/). However,
> the following link suggests that ":cs find 4" or ":cs find t" should find
> assignments:
> 
> http://whiskypedia.valeriodistefano.com/Cygwin-Easy-2007.03.21/HTML/cygwin/usr/share/doc/mlcscope-14.1.8/html/cscope.html
> 
> I also found this:
> 
> http://stackoverflow.com/questions/3989375/strange-cscope-command-line-limitation
> 
> It's confusing.
> 
> I think we should change the message in vim/src/if_cscope.c as
> in attached patch to be consistent with latest cscope-15.7 and
> with Vim help file.

Thanks.  I don't know any better, I'll include it.

-- 
"I simultaneously try to keep my head in the clouds and my feet on the
ground.  Sometimes it's a stretch, though."              -- Larry Wall

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui