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]]

