[ESS] Problems with indentation (v 12.09-2)

Oliver Jones ojones at wiwi.uni-bielefeld.de
Thu Feb 7 19:19:21 CET 2013


Hi,

I experience a similar behaviour when pressing RET at the beginning of a commented line.
I guess you just experience this TAB problem for commented lines?


Am 07.02.2013 19:10, schrieb James Jong:
> Sometimes I am editing an R file, and when I press<TAB>  it automatically
> indents my line way off , for example:
>
>
> options(tab.width = 2)
> options(width = 130)
> options(graphics.record=TRUE)
>                                 # Some comments
>
> While it should be:
>
> options(tab.width = 2)
> options(width = 130)
> options(graphics.record=TRUE)
> # Some comments
>
> I have not customized my .emacs for ESS in any way.
>
> Why does it guess the wrong indentation?
>
> For the version I am using, I installed ESS through the package manager
> with MELPA, and when I do M-x ess-version I get:
> 12.09-2
>
> Thanks,
>
> James
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

-- 
_______________________________________________________________________________
Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
Raum / room:  V9-108
Tel / phone:  +49 (0)521 106 4895
http://www.wiwi.uni-bielefeld.de/oekonometrie.html



More information about the ESS-help mailing list