[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:
> > On Mon, Sep 01, 2003 at 03:04:28AM -0700, Steve Lamb wrote:
> > > On Mon, 1 Sep 2003 11:18:14 +0200
> > > Anders Arnholm <anders@arnholm.nu> wrote:
> Here is a very easy way to achieve that which does exactly what I want
> every time: :set ts=4 et
> 
> It works. period. There is no "better way". There is only "accomplishes
> that goal", or "doesn't accomplish that goal". This has nothing to do

This one does one big problem IF you get a file from someone else that
has mixed tabs and spaces. And is using a tabsize of the standard 8
spaces. Then in combination with Python you by editing the code you
actually does changes the sysntax of the file. Then I don't see the huge
difference to change into :set sts=4 et if thats what you actually
whan't.

> with other people's code. This is what I do for *my* code. Please
> understand that just because the word "tab" is used in the options that
> doesn't mean this actually has to do with the \t character

The difference between ts and sts is just that ts works on \t
charachters imported in the files to, and sts doesn't. Setting ts
without et is definitly wrong. Setting it with et just look wrong, but
doesn't hurt so many else. (Or hopefully don't...)

/ Balp
-- 
      o_   Anders Arnholm,               HiQ - Consultant
 o/  /\    anders@arnholm.nu             Phone  : +46-703-160969
/|_, \\    http://anders.arnholm.nu/     http://www.hiq.se
/
`

Attachment: pgpBQ4OBrEj8n.pgp
Description: PGP signature


Reply to: