you could use auto-indent-mode to automatically indent a buffer that you
have opened.
On May 15, 2013 4:36 AM, "Vitalie Spinu" <spinuvit@gmail.com> wrote:

>
> The indentation on region is C-M-\. So when you need to indent the whole
> buffer, select it first (C-x h) and then indent. This is pretty handy
> and works in all modes. I don't think a specialized key is warranted in
> this case, and I am also not aware of such a convention in other modes.
>
>     Vitalie
>
> >> "Bond, Stephen" <Stephen.Bond@cibc.com>
> >> on Tue, 14 May 2013 09:41:35 -0400 wrote:
>
> > Dear ESS users,
> > Please, help if there is a command to indent a whole R buffer or a
> region. That
> > command is quite common in GUIs for other languages and even in emacs
> modes for
> > Fortran or C, but I can't find it in ESS and the indent expression
> command does
> > not seem to indent regions.
> > Thanks everybody
>
> > Stephen B
>
> > ______________________________________________
> > ESS-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
>
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]

