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

List:       kde-devel
Subject:    Re: Indenting
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       2000-03-20 23:28:47
[Download RAW message or body]

Am Mon, 20 Mar 2000 schrieb David Faure:
> On Mon, Mar 20, 2000 at 11:46:27PM +0100, Wilco Greven wrote:
> > Hi,
> > 
> > What is the standard way of indenting. I just had a look at some of the
> > kicker sources. There indenting by spaces and indenting by tabs was 
> > used in the same source file, which made the code harder to read. I 
> > always use spaces myself.
> 
> You're about to start an eternal flame war, where everybody posts
> his point of view on indenting ;-))
> The general answer, though, is : whatever the application's author prefers.
> That's the one and only rule.
> 
> When there are several people, they can agree on something, but it's impossible
> to do KDE-wide.
> 
> This being said, I agree, tabs suck. :)
> I would be happy with any decision for a standard indentation of 2,
> 3 or 4 spaces, so that I could set emacs to it once and for all.
> Currently I have to adapt it to the file I'm working on... :)
> But since this will never happen, I'll keep adapting ;-)

What about wrting a little app that formats our sources. ths can be run as
cronjob every hour or so.

Sorry, couldnt resist.



Ciao,
Michael
--
koch@kde.org, m_koch@bigfoot.de
http://heaven.riednet.wh.tu-darmstadt.de/~mkoch

To me vi is Zen.  To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
                                 -- reddy@lion.austin.ibm.com

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

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