Indent whole file?

zhu wang zhuw at mail.smu.edu
Mon Jun 9 21:42:11 CEST 2003


On Mon, 2003-06-09 at 14:30, A.J. Rossini wrote:
> Because it's an emacs command, not ESS specific :-).

Thanks to let me know.

> I'll add this to the FAQ; thanks Peng.
> 
> 
> zhu wang <zhuw at mail.smu.edu> writes:
> 
> > On Mon, 2003-06-09 at 13:40, Zhang, Peng wrote:
> >> Hi there,
> >> 
> >> You can use C-H to select all, and then M-x indent-region.
> >> 
> > Yes! That's what I want.
> > It is interesting since I could not find this command from the ESS
> > manual at
> > http://stat.ethz.ch/ESS/Manual/ess_7.html#SEC54
> >
> > Thanks for the great help!
> >
> > Zhu Wang
> >
> >> Peng
> >> 
> >> On Mon, 2003-06-09 at 14:29, zhu wang wrote:
> >> > Dear helpers,
> >> > 
> >> > I have noticed there exist some useful indenting commands. But maybe I 
> >> > am not aware of such command to indent a large file containing, say 20, 
> >> > R functions. I know I can use TAB to indent line by line. Is there any 
> >> > more efficient way to do it?
> >> > 
> >> > Thanks,
> >> > 
> >> > Zhu Wang
> >> > 
> >> > Statistical Science Department
> >> > Southern Methodist University
> >> > 
> >> > ______________________________________________
> >> > ESS-help at stat.math.ethz.ch mailing list
> >> > https://www.stat.math.ethz.ch/mailman/listinfo/ess-help
> > -- 
> > zhu wang <zhuw at mail.smu.edu>
> >
> > ______________________________________________
> > ESS-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/ess-help
> >
-- 
zhu wang <zhuw at mail.smu.edu>




More information about the ESS-help mailing list