lilypond-devel
[Top][All Lists]
Advanced

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

Re: Replace Tab with 8 Spaces for .py files (issue4627062)


From: Reinhold Kainhofer
Subject: Re: Replace Tab with 8 Spaces for .py files (issue4627062)
Date: Fri, 24 Jun 2011 18:04:37 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.6.4; i686; ; )

Am Freitag, 24. Juni 2011, 15:38:21 schrieb Benjamin Peterson:
>  <k-ohara5a5a <at> oco.net> writes:
> > The bad news is, you replaced tabs by 4 columns when we needed 8 column.
> > The good news is, so far as I can see, there were no un-wanted changes
> > (no cases were we needed a literal tab).
> 
> But the GOP says "use 4 spaces per indentation level"!

Exactly. But tab != indentation level.

In particular, some editors simply replace all sequences of eight spaces by 
one tab (that's one coding style that we want to get rid of). So, whenever you 
see a tab in the code, it does not mean "indent one level", but it rather 
means exactly eight spaces.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]