[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenonbeta/kio-rio
From:       Michael Matz <matz () ifh ! de>
Date:       2000-10-13 0:12:43
[Download RAW message or body]

Hi,

On Wed, 11 Oct 2000, Charles wrote:
> > >
> > >Which kind of wacko indents the same _line_ with both spaces and tabs,
> >
> > Well, if your tabs a 8 chars long and you don't use spaces, you have
> > to have a very WIDE screen !
> Uhm. 8 spaces take as much screen width as 1 tab that's 8 spaces wide :)

The <tab> character sets the cursor to the next tab-stop column, which God
intented to be on columns == 0 mod 8. Whoever sets <tab> to mean other
than 8 spaces (if inserted in column 0) is the real wacko, and programmers
writing editors permitting such non-sense should be doomed. I don't want
to say on a public forum what should happen to the person who invented the
term 'tabwidth'.  ;-))

> And the point is, the reader of the source file can set their width to 
> whatever they wish, and it will still look good, just because they use tabs, 
> not spaces, and not these both at the same time.

And users of more(1) ?

> > :-)
> I'm here defending the right for programmers to not have to press the space 
> key 4 times!

Just use editors capable of auto-indenting and back-indenting. In emacs or
vi I nearly never have to press space or backspace for indenting purposes.


Ciao,
Michael.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic