Whitespace

Didier Verna didier at xemacs.org
Wed Mar 5 05:09:51 EST 2008


Stephen J. Turnbull wrote:

> Didier Verna writes:
>
>  >   Yup. But how about imposing committers a particular whitespace
>  > configuration ? It's just a matter of 4 lines of custom/init file.
>
> Feel free to submit a patch; I have no objection.

  Well, my whitespace configuration for XEmacs (21.5) is as follows:

(require 'whitespace)
(push 'text-mode whitespace-modes)
(add-hook 'write-file-hooks 'whitespace-write-file-hook)


and then the following custom configuration [skipped non relevant entries]:

 '(whitespace-auto-cleanup t)
 '(whitespace-files '(("/usr/local/src/xemacs" leading t trailing t indent t spacetab t ateol t)))


Note that since I took maintenance of whitespace.el, the texi files are
not automatically cleaned up (through a proper built-in setting in
whitespace-modes), becauses this can mess up alignment in code excerpts.

I can convert the custom settings into a piece of init.el code, and we
could put it somewhere as a recommended (but I would prefer mandatory)
configuration for committers.

-- 
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (0)1 53 14 59 22  didier at xemacs.org



More information about the XEmacs-Patches mailing list