[ESS] BUG in ess-roxy-update-entry
Andreas Leha
andreas.leha at med.uni-goettingen.de
Thu Apr 2 11:55:18 CEST 2015
Hi all,
There seems to be a small bug in ess-roxy-update-entry. If the
signature of the function in question contains end-line comments, the
arguments of that function are not picked up.
Here is a small example.
When I call ess-roxy-update-entry (C-c C-o C-o) on that function:
--8<---------------cut here---------------start------------->8---
foo <- function(bar, ## comment
baz)
{
return(1)
}
--8<---------------cut here---------------end--------------->8---
here is what I get:
--8<---------------cut here---------------start------------->8---
##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##' @title
##' @param bar
##' @param baz
##' @return
##' @author Andreas Leha
foo <- function(bar, ## comment
bat, ## <- this will be missing
baz)
{
return(1)
}
--8<---------------cut here---------------end--------------->8---
Regards,
Andreas
More information about the ESS-help
mailing list