Tabbing/Spaces
Lele Gaifax
lele at seldati.it
Sat Jan 20 14:21:28 EST 2001
>>>>> On Sat, 20 Jan 2001 06:16:51 GMT, "Fredrik Lundh" <fredrik at effbot.org> said:
FL> here's a piece of code I use for emacs (taken from a java mode
FL> sample by jwz):
Here is a simpler recipe :-)
Put this at the end of the file
#
# Local Variables:
# eval: (add-hook 'write-contents-hooks '(lambda () (untabify 0 (point-max)) nil) t nil)
# End:
#
Attaching a simple function that does the same to `python-mode-hook'
you will get that behaviour on every python source.
bye, lele.
--
nickname: Lele Gaifax | Quando vivro' di quello che ho pensato ieri
real: Emanuele Gaifas | comincero' ad aver paura di chi mi copia.
email: lele at seldati.it | -- Fortunato Depero, 1929.
More information about the Python-list
mailing list