[ESS] roxygen comment tag changed to #'

Martin Maechler maechler at stat.math.ethz.ch
Tue Jan 17 19:49:52 CET 2012


2012/1/16 Aleksandar Blagotić <aca.blagotic at gmail.com>:
> No, I'm not using SVN version, since it doesn't perform nice with the
> autocomplete plugin, but yes, I can't replicate this bug in SVN version.
>
> Thanks,
> aL3xa

But apart from all that:  *Not* using ##'  (for a beginning-of-line comment)
is plainly against all ESS conventions which derive from lisp conventions..

Why couldn't you convince you coworkers to adapt to the "only true way"  ?
:-) ;-)

Martin

>
> 2012/1/16 Henning Redestig <henning.red at googlemail.com>
>
>> Ok, so are you running ess from svn? There was a fix to the
>> highlighting not too long ago.
>>
>> ps please keep the discussion on the list.
>>
>> 2012/1/16 Aleksandar Blagotić <aca.blagotic at gmail.com>:
>> > (ess-roxy-str "#'") for me too, but still without highlighting...
>> >
>> > aL3xa
>> >
>> >
>> >
>> >
>> > 2012/1/16 Henning Redestig <henning.red at googlemail.com>
>> >>
>> >> 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
>> >
>> >
>>
>>
>>
>> --
>> /Henning
>>
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



More information about the ESS-help mailing list