Friday, October 14, 2016

Re: Repeated symbols with Cscope

On Thu, Oct 13, 2016 at 10:03:29AM -0700, Hugo Gagnon wrote:
> Hello,
>
> For some reason when I do a symbol search with Cscope in Vim I get repeated symbols, e.g.:
>
> :cs find s setID
> e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
> e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
> e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
> e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
>
> I noticed that the symbols always gets repeated exactly 4 times.
>
> I have the following Cscope related settings in my .vimrc:
>
> if has("cscope") && filereadable("cscope.out")
> cscope kill -1
> set nocscopeverbose
> cscope add cscope.out
> set cscopeverbose
> endif
>
> Anybody has any idea what is going on?

Given the lack of replies on the mailing list it would appear that
no one has any ideas. Perhaps if you can share some more information
we can help you find your solution.

Which versions of Vim and Cscope are you running?

How are you generating your cscope.out?

Are you able to share the source code and cscope.out you are working
on in your example? I could at least find out whether the problem is
unique to your computer.

--
Erik Falor
Registered Linux User #445632 http://unnovative.net

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: