[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Why is C so popular?



On Mon, Sep 01, 2003 at 11:24:41AM -0400, Mark Roach wrote:
> On Mon, 2003-09-01 at 06:20, Anders Arnholm wrote:
> > 
> > SO the reason is to inport bad fomrated code, and make that code better
> > formated. For me thats dosn't make med have to change my editor. As this
> > still needs a manual step, whan it happens I can change my tabstop to
> > fix it in that buffer only.
> 
...
> This has nothing to do with badly formatted code. I repeat, nothing.
> 
> Here is the desired goal: Use 4 spaces for indent levels and have no
> tabs in the file.
> 
> Here is a very easy way to achieve that which does exactly what I want
> every time: :set ts=4 et

Why not:
    :set ts=8 sw=4 expandtab

and NOT use tab? After all you don't *want* tabs, do you?

Use ^T instead...

-- 
Karl E. Jørgensen
karl@jorgensen.com   http://karl.jorgensen.com
==== Today's fortune:
A definition of teaching: casting fake pearls before real swine.
		-- Bill Cain, "Stand Up Tragedy"



Reply to: