[Tutor] question about python in Emacs
alan.gauld@bt.com
alan.gauld@bt.com
Tue Dec 17 07:34:01 2002
> anyone can answer. Is there a way to highlight a block of
> text and then indent the whole block,
Yes, its standard emacs functionality not python mode per se.
The command is indent-region
Select the region in the normal manner either by mouse otr
using the keyboard, then type M-x indent-region
Or use the keyboard shortcut, which I can't recall but you
can find, as usual by typing M-x describe-function indent-region
NB I'm using a different emavcs so the names may be slightly
different, but apropos should find it quickly...
> know much about writing emacs modes or reading them,
You shouldn't need to.
Alan G.