[Pythonmac-SIG] The Official MacPython LineEnding Converter Competition

Chris Barker chrishbarker@home.net
Fri, 06 Jul 2001 16:50:29 -0700


Jack Jansen wrote:

> There's of course lots of nifty things that can gain you extra points, such as
> an option to do only .py files or all text files, an option to set the
> creator/type for .py files, an option to convert back to unix/dos endings, etc.


Another very nifty option would be to include indentation conversion:
The removal of any mixed tab+spaces indentation, and perhaps conversion
to all tabs or all spaces. The "Official" Standard now is all spaces,
but
all tabs works much better in the IDE, and most Mac Editors, so that's
what I use on the Mac.

-Chris


-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker@home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------