[Python-Dev] Reindenting the C code base?

Alexandre Vassalotti alexandre at peadrop.com
Sun Dec 14 18:57:14 CET 2008

On Sun, Dec 14, 2008 at 12:43 PM, Jeffrey Yasskin <jyasskin at gmail.com> wrote:
> I've never figured out how to configure emacs to deduce whether the
> current file uses spaces or tabs and has a 4 or 8 space indent. I
> always try to get it right anyway, but it'd be a lot more convenient
> if my editor did it for me. If there are such instructions, perhaps
> they should be added to PEPs 7 and 8?

I know python-mode is able to detect indent configuration of python
code automatically, but I don't know if c-mode is able to. Personally,

More information about the Python-Dev mailing list