bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1067 in lilypond: Postfix syntax for repeats


From: Han-Wen Nienhuys
Subject: Re: Issue 1067 in lilypond: Postfix syntax for repeats
Date: Fri, 30 Apr 2010 11:22:23 -0300

Can we please not do this?

Syntax changes look cute, and in rare case even require little code,
but they are impossible to revert, since we'd be breaking user files.

This needs to be accompanied by a much more thorough analysis whether
this feature is worth the additional perl-esque syntax, all the
ensuing confusion between {c }*4, <<c>>*4 and c4*4, and the syntax
inconsistency (we don't have postfix music functions anywhere else).

Why dont we predefine a music function for this?

 \R 4 {bla}

(perhaps \R #4 {..}) .  With

   { .. }*4

users need to remember to insert a { before the repeated fragment
anyway, so postfix *4 really isnt any better than prefix \R 4.

On a more general note: can we stop the "let's improve the syntax"
discussions altogether?  We've had them for over 10 years, they
generate a lot of heated bikeshedding discussions, and don't really
help anything, since they are fundamentally subjective.

If you are really interested in improving lilypond, improve some
collision algorithms so people require less manual tweaks.

On Fri, Apr 30, 2010 at 5:04 AM,  <address@hidden> wrote:
> Status: Started
> Owner: n.puttock
> Labels: Type-Enhancement Priority-Medium Patch Syntax
>
> New issue 1067 by v.villenave: Postfix syntax for repeats
> http://code.google.com/p/lilypond/issues/detail?id=1067
>
> Neil has posted an awesome patch that allows to have
>
> { music expression } * 4
>
> instead of
>
> \repeat unfold 4 { music expression }
>
> http://lists.gnu.org/archive/html/lilypond-devel/2010-04/msg00467.html
>
> We need to merge it and document the feature (and add a regtest). Then this
> issue can be closed.
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-lilypond
>



-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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