lilypond-devel
[Top][All Lists]
Advanced

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

Re: Consistency in \context block formatting


From: Graham Percival
Subject: Re: Consistency in \context block formatting
Date: Wed, 27 Jan 2010 18:43:07 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Jan 27, 2010 at 06:12:14PM -0000, Trevor Daniels wrote:
>
> Neil Puttock wrote Wednesday, January 27, 2010 5:38 PM
>>
>> There's nothing in the documentation policy for \context block
>> formatting,

The patch is being written by James Lowe.

>> I much prefer the context name to be on the next line (this is how
>> I've always edited snippets), so I'd like to propose the following:
>>
>> * blocks of code starting with an opening curly brace should be
>> followed by a newline unless a closing brace is encountered on the
>> same line, i.e.,
>>
>> \context { \removeEmptyStaffContext }
>>
>> \context {
>>  \Foo
>>  ...
>> }
>
> I agree.  I didn't like Graham's recent change in the LM either.

???  I deliberately used the LM as the rationale for this -- two
items in fundamental.itely did
  \context {
    \layout {
      \Staff

but *every single* example in tweaks did it the other way.  I
figured that was deliberate.


I'm happy with having a newline there, but please glance over the
LM stuff you wrote, and confirm that you prefer it with a newline.
I'll get James to make the appropriate changes, both to the CG and
LM, but I'd like your explicit approval first.

Cheers,
- Graham




reply via email to

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