Re: GNU Global + Pygments question

Shigio YAMAGUCHI <[email protected]> Thu, 25 Feb 2016 21:25:29 +0900
Newsgroups gmane.comp.gnu.global.general
Message-ID <CADJmJYr0aa9qinREFUrvuBbpNs1ccycceHgoBPhTOLp9BnpNiA@mail.gmail.com>
--===============6182393561367550811==
Content-Type: multipart/alternative; boundary=001a113fad7c341b80052c974700

--001a113fad7c341b80052c974700
Content-Type: text/plain; charset=UTF-8

Hi,
> And my question is: When pygments parser is used we can only
> do symbol searches, is that correct?

No.
Probably, the cause may be ctags's absence.
How about confirming the existence of ctags?

Regards,
Shigio


2016-02-25 17:56 GMT+09:00 Pavel Nedev <[email protected]>:

> Hello,
>
> I'm trying to figure out how global and pygments work together and I'm
> doing the following:
>
> 1) gtags -c --skip-unreadable --gtagsconf
> /usr/local/share/gtags/gtags.conf --gtagslabel=pygments
> 2) global -dx start
>         Nothing is found.
> 3) global -rx start
>         Nothing is found.
> 4) global -c start
>         Nothing is found.
> 5) global -sx start
>         Results:
>                 start           104 src/CmdEngine.cpp           unsigned r
> = engine->start();
>                 start           115 src/CmdEngine.cpp           unsigned
> CmdEngine::start()
>                 start             69 src/CmdEngine.h            unsigned
> start();
>
> And my question is: When pygments parser is used we can only do symbol
> searches, is that correct?
>
> My version of Global is 6.5.2.
>
> Thanks and Regards,
> Pavel
>
> _______________________________________________
> Help-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-global
>



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

--001a113fad7c341b80052c974700
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div>&gt; And my question is: When pygments =
parser is used we can only</div><div>&gt; do symbol searches, is that corre=
ct?</div><div><br></div><div>No.</div><div>Probably, the cause may be ctags=
&#39;s absence.</div><div>How about confirming the existence of ctags?</div=
><div><br></div><div>Regards,</div><div>Shigio</div><div><br></div></div><d=
iv class=3D"gmail_extra"><br><div class=3D"gmail_quote">2016-02-25 17:56 GM=
T+09:00 Pavel Nedev <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a>&gt;</span>:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">Hello,<br>
<br>
I&#39;m trying to figure out how global and pygments work together and I&#3=
9;m doing the following:<br>
<br>
1)=C2=A0gtags -c --skip-unreadable --gtagsconf /usr/local/share/gtags/gtags=
.conf --gtagslabel=3Dpygments<br>
2)=C2=A0global -dx start<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Nothing is found.<br>
3)=C2=A0global -rx start<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Nothing is found.<br>
4) global -c start<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Nothing is found.<br>
5) global -sx start<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Results:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 start=C2=A0 =C2=A0=
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0104 src/CmdEngine.cpp=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0unsigned r =3D engine-&gt;start();<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 start=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0115 src/CmdEngine.cpp=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0unsigned CmdEngine::start()<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 start=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A069 src/CmdEngine.h=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 unsigned start();<br>
<br>
And my question is: When pygments parser is used we can only do symbol sear=
ches, is that correct?<br>
<br>
My version of Global is 6.5.2.<br>
<br>
Thanks and Regards,<br>
Pavel<br>
<br>
_______________________________________________<br>
Help-global mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/help-global" rel=3D"noref=
errer" target=3D"_blank">https://lists.gnu.org/mailman/listinfo/help-global=
</a><br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature"><div dir=3D"ltr">Shigio YAMAGUCHI &lt;<a href=3D"mailt=
o:[email protected]" target=3D"_blank">[email protected]</a>&gt;<div>PGP fingerpr=
int: D1CB 0B89 B346 4AB6 5663 =C2=A0C4B6 3CA5 BBB3 57BE DDA3<br></div></div=
></div>
</div>

--001a113fad7c341b80052c974700--


--===============6182393561367550811==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global

--===============6182393561367550811==--