[Python-Dev] Reindenting unicodedata.c

Barry A. Warsaw barry@python.org
Fri, 8 Nov 2002 17:39:36 -0500


>>>>> "MvL" == Martin v Loewis <martin@v.loewis.de> writes:


    MvL> I actually don't consider this recommendation foolish. This
    MvL> is what Emacs does when I start editing a Python C file, so
    MvL> it is convenient for me to follow this PEP, and inconvenient
    MvL> to not follow it.

Did you do something special to use the "python" style for Python C
files?  I ask because that's what I do.  Vanilla CC Mode should use
the "gnu" style by default, which is a lot different than "python"
style. :)

    >> My specific recommendation is Emacs-specific: use the CC Mode
    >> "python" style, but with (setq c-basic-offset 8) and (setq
    >> indent-tabs-mode nil) I can provide some elisp if there's any
    >> interest.

    MvL> Did you mean (setq c-basic-offset 4) here? If not, what is
    MvL> the advantage of these settings?

Yep.
-Barry