[ESS] in 18.10.3: Roxygen header is put at the wrong place if point is at the beginning of the line

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Sun Jun 9 01:05:14 CEST 2019

On Sat 08 Jun 2019 at 17:36, Marius Hofert via ESS-help <ess-help using r-project.org> wrote:

> Hi,
> I realized that in the current snapshot version of ESS (18.10.3), C-c
> C-o C-o (for Roxygen function headers) does not work as expected
> anymore (on macOS 10.14.5) in the following case (and others):
> fun1 <- function(x) x
> fun2 <- function(x) x
> If the point is right before the "f" (so column 0) of "fun2", then C-c
> C-o C-o puts the Roxygen header above fun1, not fun2. If the point is
> anywhere else on that line, the header is put in the right place, so
> right above fun2.
> I hope you can reproduce this (I already switched back to the stable
> 18.10.2 for that reason).

Thanks for the bug report. I can reproduce it and have a fix. I'll add
tests and push it to master tomorrow.


More information about the ESS-help mailing list