On 2024-12-11 13:26, Simon Albrecht wrote:
>
Maybe rename grob
property musical-length so users don’t get confused about musical-length
= \musicLength 4 ? Spelling it out, doesn’t seem actually confusing to
me. Don’t have time to continue thinking about that, right now.
I don't know whether it matters that English is my first language, or
that I am a professional programmer, but I am comfortable with the
difference between
\musicLength { ... }
being the length of _that_ music, and
VoltaBracket.musical-length
being the length of the bracket in the musical timeline, not necessarily
referring to an instance of music data.
\musicalLength wouldn't bother me except because the Scheme function
behind it is ly:music-length:
$ git grep -h -A4 'musicLength ='
musicLength =
#(define-scheme-function (music) (ly:music?)
(_i "Return the length of @var{music} as a moment.")
(ly:music-length music))
--
Dan