DOS, UNIX and tabs

Tom Plunket tomas at fancy.org
Mon Jan 1 13:58:30 EST 2007


Lawrence D'Oliveiro wrote:

> I think there should be a single environment variable, perhaps
> called "TABS", which specifies the tab settings across all relevant tools
> that work with text, including less and diff. So for example setting this
> as
> 
>     export TABS=4
> 
> will cause these tools to treat tabs as equivalent to stepping to the next
> multiple of four columns from the start of the line.

Maybe I'm also weird, but I use a variable-pitch font when programming
in Python.  So a "tab equals some number of spaces" really isn't useful
to me.  My setup is, "tab equals this much space".


-tom!

-- 



More information about the Python-list mailing list