[ESS] Auto-fill mode and Roxygen

Henning Redestig henning.red at googlemail.com
Tue Sep 21 04:14:11 CEST 2010


2010/9/14 Martin Maechler <maechler at stat.math.ethz.ch>:
>    >> There is another issue that C-c C-o has destroyed my indents inside the
>    >> comments. I would love to have an option to only update the parameters but
>    >> keep the current indents. Hope this can be fixed in the new release:)
>
>    > Leading and trailing whitespace are not carried over to your Rd file
>    > anyway so personally I like that behavior. Sounds like you want a
>    > quite intricate filling function that detects leading white space and
>    > changes filling prefix on a per-line basis. Sorry, but I can't really
>    > see the big advantage in that.. An option to not fill-lines at all
>    > when doing C-c C-o could be possibly included though.
>
> I think that would be valuable.
> I had a similar experience as Feng Li: I do like to use extra
> white space inside the Roxygen part, and then was very
> unpleasantly surprised when I did C-c C-o after adding a new
> argument to my function.
> Producing 'Rd' is just one of several possible usages of
> Roxygen, isn't it?

if ess-roxy-fill-param-p is nil (default), then ess-roxy-update-entry
(C-c C-o) no longer fills the parameter descriptions.

no news on the auto-fill support though.

cheers,

-- 
/Henning Redestig

Metabolome Informatics Unit | Yokohama RIKEN Plant Science Center



More information about the ESS-help mailing list