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

Mathieu Basille basille at ase-research.org
Thu Feb 7 19:14:05 CET 2013


Quite normal. See the documentation, second paragraph:

http://ess.r-project.org/Manual/ess.html#Indenting

Hope this helps,
Mathieu.


Le 02/07/2013 01:10 PM, James Jong a écrit :
> 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
>

-- 

~$ whoami
Mathieu Basille, PhD

~$ locate --details
University of Florida \\
Fort Lauderdale Research and Education Center
(+1) 954-577-6314
http://ase-research.org/basille

~$ fortune
« Le tout est de tout dire, et je manque de mots
Et je manque de temps, et je manque d'audace. »
  -- Paul Éluard



More information about the ESS-help mailing list