Problems with py-indent-region in XEmacs

Erno Kuusela erno-news at erno.iki.fi
Sat Jan 6 23:04:11 EST 2001


In article <93655e$rds$1 at nnrp1.deja.com>, redhouse at my-deja.com writes:

| How can I get XEmacs to change this:
| def foo():
|     a=5
| b=6
| c=7

| into

| def foo():
|     a=5
|     b=6
|     c=7

| py-indent-region just leaves it the way it is.

pu-indent-region can't do that, since it is just for "fixing" the
indentation and in the above, it's already perfectly sensibly
indented.

you can mark the region, and hit C-c > to add one level of
indentation.

  -- erno



More information about the Python-list mailing list