[ESS] setMethod indentation

Ista Zahn |@t@z@hn @end|ng |rom gm@||@com
Sat Jun 6 21:19:57 CEST 2015


On Fri, Jun 5, 2015 at 4:53 PM, Vitalie Spinu <spinuvit using gmail.com> wrote:
>
>  >>> Kevin Coombes on Fri, 5 Jun 2015 10:42:36 -0400 wrote:
>
>  > And here is the new behavior:
>
>  > setMethod("summary", c("Prior"), function(object, ...) {
>  >             cat("Prior: ", object using cn,"\n")
>  >             print(object using vt)
>  >           })
>
>
> This is not how ESS currently indents.

Indeed, I get

setMethod("summary", c("Prior"), function(object, ...) {
    cat("Prior: ", object using cn,"\n")
    print(object using vt)
})


 Indentation was rewritten from zero in
> the past month and the configuration UI is still being changed.

IMO indentation has improved a lot recently, I've finally removed all
the hacks in my .emacs as I'm now happy with the default indentation.

Best,
Ista

 Please see
> recent issues and pull requests on github if you are interested.
>
>
>   Vitalie
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list