[Twisted-Python] M-x customize-group whitespace
![](https://secure.gravatar.com/avatar/9011310c6d9d5fcbf4b52d9d96ceb5e8.jpg?s=120&d=mm&r=g)
Silly point that only a bunch of emacs-thumping Python wonks would make. Should/may I put a bit in the Whitespace section of the CodingStandard about emacs' whitespace-cleanup mode? Point being that it doesn't let you leave trailing whitespace on the end of (possibly empty) lines or trailing lines at the end of file. Being consistent about this would cut down on spurious file-modified flags from CVS. See C-h f whitespace-describe if unfamiliar. The only evil thing about it is that if you don't disable whitespace-check-indent-whitespace, it'll, um, use tabs. -Yours, - +Yours, + acap -
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On 27 Aug 2002 22:28:24 -0700, Kevin Turner <acapnotic@twistedmatrix.com> wrote:
I wasn't aware that whitespace-cleanup was a mode, but certainly people submitting files should be doing M-x whitespace-cleanup before saving. Putting something in twisted-dev.el would probably be a good idea too. -- | <`'> | Glyph Lefkowitz: Travelling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On 27 Aug 2002 22:28:24 -0700, Kevin Turner <acapnotic@twistedmatrix.com> wrote:
I wasn't aware that whitespace-cleanup was a mode, but certainly people submitting files should be doing M-x whitespace-cleanup before saving. Putting something in twisted-dev.el would probably be a good idea too. -- | <`'> | Glyph Lefkowitz: Travelling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |
participants (2)
-
Glyph Lefkowitz
-
Kevin Turner