I think the emacs version dependency in the CODING_GUIDE may be backward.

AFAIK, "write-file-functions" is the current one to use for emacs 22
(the latest released version) and beyond.  "local-write-file-hooks" is
the old deprecated way.

The docstring for local-write-file-hooks is:

"This variable is obsolete since 22.1; use `write-file-functions' instead."

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

Cheers,
Mike

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

John Hunter wrote:
> On Nov 28, 2007 11:46 AM, Eric Firing <[EMAIL PROTECTED]> wrote:
> 
>> I assume there is also some sort of C and/or C++ mode, and similar hook
>> additions are needed for them--correct?  Or is there a hierarchy of
>> modes, in which case a single hook could go at a higher level?
> 
> I don't know about a hierarchy, but there is a c++-mode-hook and a
> c-mode-hook.  I've updated the CODING_GUIDE to advise emacs users to
> set these hooks.  Soon your nightmare of trailing whitespaces will be
> nothing more than a nasty memory ....
> 
> JDH
> 
> -------------------------------------------------------------------------
> 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

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
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