lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond source code indenter and formatter


From: Colin Hall
Subject: Re: Lilypond source code indenter and formatter
Date: Thu, 7 Jun 2012 12:20:28 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jun 07, 2012 at 12:49:31PM +0200, David Kastrup wrote:
> Colin Hall <address@hidden> writes:
> 
> > On Thu, Jun 07, 2012 at 12:01:21PM +0200, David Kastrup wrote:
> >> Colin Hall <address@hidden> writes:
> >> 
> >> > On Thu, Jun 07, 2012 at 06:26:36AM +0200, David Kastrup wrote:
> >> >> Colin Hall <address@hidden> writes:
> >> >> 
> >> >> > Exactly. My intended application is to use it as part of a git
> >> >> > collaboration workflow that Urs, Janek, Susan(?) and I are working on.
> >> >> 
> >> >> It is not really helpful for diffs if you get completely different
> >> >> indentation for a while file because of having to add a delimiter pair
> >> >> somewhere.
> >> >
> >> > Please describe a chain of events leading to that scenario.
> >> 
> >> { 50 lines }  =>  << { 50 lines } { mixture of s and dynamics } >>
> >
> > Thanks, now I can see what you were thinking of.
> >
> > What is your point?
> 
> That automatically enforced indentation is not necessarily the best
> choice for colloboration.

Thanks, that's clear. Our experiences differ.

> You don't have the choice to make indentation compromises while a
> file is actively being worked on.  Reverts and merges often fail.

Yes, that's a feature. One only gets to check in code that meets the
agreed standard. Compromise the indentation on your own branch.

I attach a naive example. Comments welcome.

Cheers,
Colin.

-- 

Colin Hall

Attachment: report.pdf
Description: Adobe PDF document


reply via email to

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