[ESS] future roxygen support
Daniel Sabanes Bove
daniel.sabanesbove at gmx.net
Sun May 10 13:26:12 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi Stephen,
yes, I think there is a "chicken-and-egg situation" for Emacs users,
because the Rd editing is much better supported at the moment. If
roxygen is going to be developed further and with better editing
support in ESS / other (Windows) editors, I can imagine that in a few
years time most new packages will use roxygen.
At least in essd-r.el the word "semantic" appears :-) Because roxygen
wants to be similar/ is inspired by doxygen it should (theoretically)
be possible to write the necessary semantic files. The semantic source
which includes e.g. java support does look quite well organized. Of
course, this would be a more long-term project. But I can imagine that
there could be some other benefits as side effects for ESS? If
somebody from ESS core is familiar with semantic / the tools around it
(e.g. I read something like "Bison Parser Generator" etc.), perhaps
this project could be relatively easily partitioned into small work
parts (e.g. control tokens, roxygen tags, grammar, ...) which could
then be handled by volunteers?
As short-term goals I wish I had some syntax highlighting (different
colours for the "roclets"), beginning of next line with "##'" if the
previous line also had this (instead of just the comment beginning
"##"), key bindings for the most important roclets (e.g. C-c C-r C-a
for @author and then ask for the author name interactively).
Best,
Daniel
- -------- Original Message --------
Subject: Re: [ESS] future roxygen support
From: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
To: =?ISO-8859-15?Q?Daniel_Saban=E9s_Bov=E9?= <daniel.sabanesbove at gmx.net>
Cc: ess-help at stat.math.ethz.ch
Date: Sat May 09 2009 22:28:24 GMT+0200 (CEST)
> Daniel Sabanés Bové wrote:
>
>> I have recently discovered roxygen, and I love it already. The ESS
>> support for it is small at the moment, there seems to be a better
>> StatET support - but honestly I do not want to use Eclipse all the
>> time, the R/LaTeX usage in Emacs is too good.
>>
>> So: what can I do personally to enhance ESS support for roxygen? I
>> have some elisp experience (have done the Emacs tutorial, can write my
>> .emacs file) and I would be happy if I could contribute a little bit
>> to e.g. linking ESS into the doc-mode mentioned in the el-file
>> (http://nschum.de/src/emacs/doc-mode/).
>
> hi Daniel, thanks for the email and the offer of support for adding
> more roxgen support to ESS. I wrote the small code there is last
> summer, partly as proof of concept, but also to see if it would get the
> ball rolling in terms of usage. I was wary of putting too much time in
> if roxygen was not going to be used that much. (I realise there is a
> slight chicken-and-egg situation here...) But it is great that you want
> to contribute. As you say, one thing is to look at seeing how easy it
> is to get doc-mode like support -- but I think that might require ESS
> supporting Semantic -- which might be a lot of work (although Tony has
> looked at this I think before?).
>
> Another thing might simply be to sketch out what kinds of editing
> support you would like to see in ESS, and then we can think about how
> best to implement them.
>
> Stephen
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEAREKAAYFAkoGudMACgkQnhBrrSA4m1GLNwCeMYSb/geY2AmixUDz6ZCCxbEa
P18An05lKr2OexWYKQQxSYvST4TB2ktq
=b9mC
-----END PGP SIGNATURE-----
More information about the ESS-help
mailing list