[Geany-devel] R Tags

Jonathan Daily biomathjdaily at xxxxx
Wed Nov 10 17:30:07 UTC 2010


I re-read the manual and tried the call again on some hefty source files:
Nothing again.

This time, however, I think I pinpointed my problem: my Geany version does
not have the R parser. Time to update! Please disregard the previous
messages.

On Tue, Nov 9, 2010 at 6:23 PM, Lex Trotman <elextr at gmail.com> wrote:

> On 9 November 2010 23:59, Jonathan Daily <biomathjdaily at gmail.com> wrote:
> > Sorry to pester again, but what I have been having issues with is in your
> > step [2] AKA:
> > geany -g tagfile rfile
> > Where does the tagfile come from?
> > Thanks again,
> >     Jon
>
> Thats the output file that it is creating. you can list several rfiles
> and all the tags will go in the same tagfile.
>
> Please read the manual regarding tagfile naming convention and where
> to put it if you want it automatically loaded, otherwise you can
> manually load it.
>
> Cheers
> Lex
>
> >
> > On Tue, Nov 9, 2010 at 1:45 AM, Lex Trotman <elextr at gmail.com> wrote:
> >>
> >> 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
> >> >
> >> _______________________________________________
> >> 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
> >
> >
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20101110/00893af8/attachment.html>


More information about the Devel mailing list