[Geany-devel] R Tags

Lex Trotman elextr at xxxxx
Tue Nov 9 06:45:14 UTC 2010


On 9 November 2010 16:59, Liviu Andronic <landronimirc at gmail.com> wrote:
> Hello
>
> On Tue, Nov 9, 2010 at 1:57 AM, Lex Trotman <elextr at gmail.com> wrote:
>> On 9 November 2010 06:59, Jonathan Daily <biomathjdaily at gmail.com> wrote:
>>> I have tried various [options] iterations of "geany -g [options]" as well as
>>> trying the import tags command from inside geany on outputs from R's
>>> "rtags()" function, and I just cannot seem to get tags for R.
>>
>> Step 1, if you open an R file do you get symbols in the sidebar?
>>
> Yes it does. Here on 0.20 (svn >= r5271).

Step one tick :-)
>
>
>> This tests that Geany's R tag parser is in fact working.  But I'm not
>> sure how much information it gathers, it looks pretty simple.
>>
>> Step 2.  to get tags for files that you don't want to have open all
>> the time (eg libraries) you use geany -g tagfile rfile
>>

Did this step work?

>> The tagfile has to be named correctly as per the documentation and
>> located in one of the places described in the documentation then Geany
>> has to be restarted and it should load the tags.
>>
>> If you want to use a different source of tags such as rtags you will
>> have to ensure that the format conforms to that described in the Geany
>> documentation or convert it yourself.
>>
> The rtags() function 'parses R code files (using R's parser) and
> produces tags in Emacs' etags format'. Are you aware of examples or
> scripts to convert 'etags' tags to 'geany' tags?
>

No, thats why I said you need to convert it yourself, sorry.  My
googles of emacs tags format in the past have been somewhat
unproductive, but maybe you can read the source.  Geany also doesn't
document tagmanager format (the more complex of its two formats)
either.

Cheers
Lex

> Regards
> Liviu
>
>
>> Cheers
>> Lex
>>
>>
>>> This is likely because I don't understand how tags are parsed nor do I
>>> understand how geany parses tags compared to other IDEs.
>>> Has anyone gotten this to work? If so, could you spell it out for a tagging
>>> newbie?
>>> Thanks in advance,
>>>     Jon
>>> _______________________________________________
>>> Geany-devel mailing list
>>> Geany-devel at uvena.de
>>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>>
>>>
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel at uvena.de
>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list