[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tie properties vs. slur properties.
From: |
tisimst |
Subject: |
Re: Tie properties vs. slur properties. |
Date: |
Thu, 26 May 2016 06:45:47 -0700 (MST) |
On Thu, May 26, 2016 at 12:50 AM, David Kastrup [via Lilypond] <
address@hidden> wrote:
> tisimst <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=190980&i=0>> writes:
>
> > On Wed, May 25, 2016 at 12:19 AM, Werner LEMBERG [via Lilypond] <
> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=190980&i=1>>
> wrote:
> >
> >>
> >> > The tie interface has height-limit and ratio as part of Tie.details.
> >> >
> >> > The slur interface has height-limit and ratio as part of Slur (not
> >> > embedded in Slur.details).
> >> >
> >> > Is there a reason for this difference, or is it just due to never
> >> > making the two be consistent?
> >>
> >> I believe it's the latter.
> >>
> >> > If there is no reason for the difference, I think the two should be
> >> > rationalized, probably by moving Slur.height-limit and Slur.ratio to
> >> > Slur.details.height-limit and Slur.details.ratio.
> >>
> >> This looks ok.
> >>
> >
> > What's the benefit of nesting properties like this?
>
> You don't need to list them individually in an interface. You can
> override the whole set of details with one command without needing to
> specifically clear properties that are usually never set, but the user
> and/or some containing context may have set them to special values.
>
> If you need to access them as a set anyway, it's faster to get them once
> and go from there.
>
> There may be properties in some "details" that are named identically to
> properties in some other "details" or at top level.
>
> That's what I can currently think of.
>
> I'm not particularly enamored with the details either, but if you take a
> look at stuff like the harp diagram details, they are really a long long
> list. Overriding all of them individually is effort.
>
Ah, yes. That makes sense. Thank you for making it possible to do both
Grob.details.property and Grob.details = #'((property . ...))
Best,
Abraham
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Tie-properties-vs-slur-properties-tp190944p191003.html
Sent from the Dev mailing list archive at Nabble.com.