I am using Emacs 24.2.1 and ESS version 12.09-2. If I do emacs -q, ess doesn't load so I can't test if that is the issue. Don't know if this helps, but I found this only happens in editing SAS code. Commenting in R works the way it should.

> From: istazahn@gmail.com
> Date: Thu, 21 Mar 2013 16:04:36 -0400
> Subject: Re: [ESS] Help with SAS commenting
> To: starying@outlook.com
> CC: ess-help@r-project.org
> 
> Hi,
> 
> On Thu, Mar 21, 2013 at 9:02 AM, Star Ying <starying@outlook.com> wrote:
> > I am having a little trouble with SAS commenting in ess. If I comment out a line above the current line, auto indentation wants to indent the current line to the next level. For example, the auto indentation makes the code do this:
> >
> > /* some code here; */
> >      other code here;
> 
> I don't see this behavior.
> 
> >
> > Instead of this:
> >
> > /* some code here; */
> > other code here;
> 
> This is what I get by default. What versions of emacs and ESS are you
> using? Do you still get this if you start emacs with 'emacs -q' ?
> 
> Best,
> Ista
> 
> 
> >
> > Is this by design and is there a way to switch it to the second style. The current way makes parsing code more difficult.
> > ______________________________________________
> > ESS-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
 		 	   		  
	[[alternative HTML version deleted]]

