[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug report of gtags
From: |
Shigio YAMAGUCHI |
Subject: |
Re: bug report of gtags |
Date: |
Sat, 14 Jan 2012 01:52:22 +0900 |
> >> It's easy to reappearance the second problem.
> > Could you make a reappearance environment compact by removing
> > unrelated elements? (Linux is required?)
> >
> >> address@hidden:~$ cd /home/widon/linux/linux-2.6.30.4
> >> address@hidden:~/linux/linux-2.6.30.4$ vim
> >> vim command:
> >> :cs add GTAGS
> >> :grep main .
> >> use CTRL-C to terminate
> >> now will jump into the first result
> >> the first main symbol is in crypto/md5.c
> >> now use GTAGS to find the first macro definition MD5_DIGEST_SIZE in line 25
> >> :cs f s MD5_DIGEST_SIZE
> >> you will find
> >> E262: error reading cscope connection 0
> >> E259: no matches found for cscope query s of MD5_DIGEST_SIZE
> >>
> >> but if I use :cs reset now everything will be fine, but I hope this
> >> problem will be fixed
> >>
> >> I put my vimrc in attach.
> >>
> >> address@hidden:~/.vim$ ls plugin/
> >> autoload_cscope.vim fuf.vim lookupfile.vim session.vim
> >> a.vim genutils.vim NERD_commenter.vim SingleCompile.vim
> >> conqueterm_2.2.vmb gtags.vim NERD_tree.vim taglist.vim
> >> conque_term.vim l9.vim SearchComplete.vim vimcdoc.vim
> > --
> > Shigio YAMAGUCHI <address@hidden>
> > PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
> >
> I know why E262: error reading cscope connection 0 happen
>
> :grep main .
> use CTRL-C to terminate
>
> I use grep to search in vim command
> if I use CTRL-C to terminate the search
> E262 error will occur
> If I wait the search complete everything will be fine
>
> If I use cscope instead of gtags The same thing happens too.
Indeed. This seems to be a problem in the cscope interface and
the implementation of vim.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3