[ESS] roxygen comment tag changed to #'

Henning Redestig henning.red at googlemail.com
Mon Jan 16 08:00:15 CET 2012


which regexp for did you change to exactly, which emacs are you using
and are you running the latest ess?

I can change ess-roxy-str to "#'" on my computer and get param
highlight as expected. Perhaps you just set it to "#"? that would
explain why you get so many problems. Otherwise, roxygen handling and
handling other comments probably don't have anything to do with each
other so I would hypothesize that your two issues are unrelated.

2012/1/16 Aleksandar Blagotić <aca.blagotic at gmail.com>:
> In order to sync with my collaborator's programming habits, I had to change
> roxygen tags from ##' to #'. This opened a pandora box in my Emacs
> settings. =/
>
> - I lost @param highlighting. I definitely want it back!
> - unless I disable fancy comments (which aren't too fancy IMO), indentation
> is broken. So let's unlock this further:
>  - is it possible to assign a regex that will recognise ordinary comment
> from roxygen-one?
>  - is it possible to add one space after # as inline comment? (low
> priority, and a bit off-topic)
>
> I'm aware that I've broke "one question per question" rule, but I'd really
> like to get nice and sexy @param highlighting, and "fancy" comments to be a
> little less just fancy and become a bit more useful.
>
> Thanks,
> aL3xa
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



-- 
/Henning



More information about the ESS-help mailing list