[Isaac To] > ... > It still works, but it doesn't look nice. What I want is a real > reindentation which understand how Python reads indentation, ... Read the docs for python-mode, especially for py-indent-region (not the same as the rigid py-shift-region). I wrote that more than 8 years ago; I doubt Barry has broken it <wink>.