indent a whole region

Tim Hesterberg x319 timh at
Wed Mar 20 16:20:12 CET 2002

>Is there any way to indent a whole region?

I use string-rectangle, have bound it to C-c >
I use it all the time.  Can use it to insert arbitrary strings,
e.g. spaces, tabs, # for S comments, ...

C-c > runs the command string-rectangle
   which is an interactive autoloaded Lisp function in `rect'.

Replace rectangle contents with STRING on each line.
The length of STRING need not be the same as the rectangle width.
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list