I think the best place for it would be as a write-file-hook though
I worry about it not being aware of Python's triple-quoted strings
which can extend over multiple lines and which might presumably
contain legitimate trailing whitespace.
I note that Tim Peters thinks that (as with MIME quoted printable) the
last character of trailing whitespace should be written \x20 or \x09.
It would be rude to disagree with sweet ol' Uncle Timmy.<wink>
XEmacs-Beta mailing list