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

Marius Hofert m@r|u@@ho|ert @end|ng |rom uw@ter|oo@c@
Sun Jun 9 00:36:51 CEST 2019


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 & cheers,
Marius



More information about the ESS-help mailing list