On 9/14/07, Dan Nicolaescu <dann@ics.uci.edu> wrote:

A few commands (like replace-string/regexp, undo, etc) change their
behavior if transient-mark-mode is on and the mark is active: they
apply only to the active region.

Similarly, wouldn't it be better if TAB would run indent-region if the
region is active?

Opinions?

I agree, this is a natural extension and very useful. (And this is the way it works in nxhtml-mode currently.)