[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed context property renaming
From: |
Dan Eble |
Subject: |
Re: Proposed context property renaming |
Date: |
Wed, 11 Dec 2024 18:24:26 -0500 |
User-agent: |
Mozilla Thunderbird |
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
- Proposed context property renaming, Dan Eble, 2024/12/10
- Re: Proposed context property renaming, Werner LEMBERG, 2024/12/10
- Re: Proposed context property renaming, Simon Albrecht, 2024/12/11
- Re: Proposed context property renaming, Trevor Bača, 2024/12/11
- Re: Proposed context property renaming, Simon Albrecht, 2024/12/11
- Re: Proposed context property renaming, Dan Eble, 2024/12/11
- Re: Proposed context property renaming, Trevor Bača, 2024/12/12
- Re: Proposed context property renaming, Saul Tobin, 2024/12/12
- Re: Proposed context property renaming, Trevor Bača, 2024/12/13
- Re: Proposed context property renaming, Dan Eble, 2024/12/12
- Re: Proposed context property renaming, Trevor Bača, 2024/12/13