On Nov 28, 2007 12:22 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote:

> So, I think perhaps this description in CODING_GUIDE is backward, but
> wanted to double check before I fix it.

Yep, good catch.  I updated the doc.  I think I have it this time...

Please do not commit lines with trailing white space, as it causes
noise in svn diffs.  If you are an emacs user, the following in your
.emacs will cause emacs to strip trailing white space on save for
python, C and C++

; and similarly for c++-mode-hook and c-mode-hook
(add-hook 'python-mode-hook
          (lambda ()
          (add-hook 'write-file-functions 'delete-trailing-whitespace)))



for older versions of emacs (emacs<22) you need to do

(add-hook 'python-mode-hook
          (lambda ()
          (add-hook 'local-write-file-hooks 'delete-trailing-whitespace)))

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to