>>>>> "MM" == Matthieu Moy <[EMAIL PROTECTED]> writes:
MM> I've updated the HACKING file to ask everybody to configure
MM> their Emacs to remove whitespaces. Please, do it, or if you
MM> have strong objection to this, please argue here so that
MM> everybody disables this config.
I think it's a good idea to enable it for xtla, but it is a bad idea to
enable it globally for the following reasons:
- There are files where trailing whitespace is significant.
- Similar problems in other projects.
For those who care I'd suggest to use something like (*)
(defun my-delete-trailing-whitespace ()
(when (string-match "/xtla" (or (buffer-file-name) ""))
(delete-trailing-whitespace)))
(add-hook 'write-file-hooks 'my-delete-trailing-whitespace)
and before using it to remove trailing whitespace from all xtla files at
once now (just applied `tla undo' as the only way to revert a saved xtla
file;-).
(*) Using file local variables might be even better, but I don't know an
easy way to use them for this purpose.
Regards,
Milan Zamazal
--
Why waste keystrokes when you can waste CPU cycles instead?
Karl Fogel