Hi Nick!

We recently found some tabs in the combinat code, introduced
accidentally by emacs users. Since Sage's (actually python's)
convention is to systematically use 4 space indentation and not using
tabs, what about throwing the following in the initialization code of
sage-mode (rather than explaining our emacs devs to do it in their .emacs)?

    (set-variable 'py-indent-offset 4)
    (set-variable 'py-smart-indentation nil)
    (set-variable 'indent-tabs-mode nil) )))

(taken from 
http://www.cs.caltech.edu/courses/cs11/material/python/misc/python_style_guide.html#TABS)

Cheers,
                                Nicolas
--
Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to