[ESS] comment oxygen region

Henning Redestig henning.red at googlemail.com
Wed Nov 24 10:32:32 CET 2010


2010/11/23 Kevin Wright <kw.stat at gmail.com>:
> Henning,
> Suppose I have a buffer with this content:
> 1
> 2
> 3
> 4
> If set the mark on "1", put the point on "4" and do M-x comment-region, then
> I get
> ## 1
> ## 2
> ## 3
> 4
> If I do C-c C-e C-c instead, then I get this:
> ##' 1
> ##' 2
> ##' 3
> ##' 4
> Note the extra ##' in front of the 4.
> It would be nice if the roxygen region behaved the same as ordinary regions
> in emacs.
>

There is no special "roxygen region" but I see your point and have
committed a fix for this (which makes ess-roxy-toggle-roxy-region
operate from region beginning to region end - 1).

> Thanks for your work.

cheers for the feedback
> Kevin
>
>
> --
> Kevin Wright
>
>



-- 
/Henning Redestig

Metabolome Informatics Unit | Yokohama RIKEN Plant Science Center



More information about the ESS-help mailing list