Re: \set Score.proportionalNotationDuration warning on LilyPond 2.25.23

Valentin Petzel <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.devel,gmane.comp.gnu.lilypond.general,gmane.comp.gnu.lilypond.general
Message-ID <3343058.aeNJFYEL58@archbox>
Hello Paolo,

> Given that, as Valentin noted, a new property has been introduced that
> allows code to be compiled with the old function, what is the point of
> exposing it to the user if it then corresponds to an API break?
> If it had been treated as a deprecated property I could have simply ignored
> the warning.

the new property is there to allow for convert-ly to automatically make old 
things work. I just do not fully understand why it is necessary and could not 
simply be handled by adding a conversion function, e.g. turing something like

`...proportionalNotationDuration = ...`

to

`...proportionalNotationDuration = \moment-main-part ...`

or whatever.

Regarding API breaks: To some extent API breaks are of course something you 
should not do lightly, as an API essentially promises that you can rely on a 
certain behaviour. As far as I know Lilypond tries to keep API consistent at 
least within a major version, so something like this should not happen between 
say 2.24.3 and 2.24.4.

I understand that for you developing a product tied closely to Lilypond not 
having a stable API is annoying, but please keep in mind that 2.25 is the 
development release. You can and should not develop something against it and 
assume that things will keep working.

I think in this particular case though it would have sufficed to run convert-ly 
on the old code. But Lilypond does not do this because the devs want to annoy 
you. And if you have reasonable ideas how such API changes could be 
communicated better I am sure people would love to hear them and if feasible 
incorporate them.

Cheers,
Valentin
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEET9lQp3Sisy/pK6sBnDUJWyIflYEFAmeoklIACgkQnDUJWyIf
lYG8ExAAmD9+CheagAPqSc4FZY7u1HPQOHUU9B/Tt+n9t7OMG5nvmWCs2R6IGZL0
ihk7m8jaxMZamafzSgCZqo9YF5eUZ2j/YPu4/lRnspqnX82rjS+MQDyUMddFf42T
8bJZ+ZSZ8aiUXD3zDRZONtYqwf8kAwB1s+3vMEuIcugIhqVycegsl+dl3bFYCIXV
sXh+NamJZ+PagIMmWIWPoH5CBnLjsqeJdmto6H/GgDN2gD57fSv2uE59toUDAvf0
mmZL9jsQBAUPx1mtBPNXBRlxUVkqJofvzL2OTGCm+sRbNTIXJf66YtyXgeFRP/FV
qK9AYTE9pEBTVTm+TL3Ah/4XX+BeOJbMt8t+hw7zs5wyp7iwHFiOaIxEgNpcfY9A
aHRn9do+F1jkcOQ0i7uqhwBFBuwpMQ9M/W1Sh3/jriTAHKC1q1cb+nSkX8OizGCY
7+EzeVX031QV0+fjsmS96uiAgCI8WclDrhv1GisArqtAUu9YfZU6P1hLFMnqNJLl
95Ibtgj9MU/+Nbjfd7mEcrdJsnSVzZl+SVLGqhJiP5e/rFlKhMstLIreAOd3f4pZ
pAlwGiBADv+rFFswDxzhZwAAB2cndP6IisDIjHwM7lO/fWbnEK3FB3W6TyL9EsvR
zs68DMBdmhl/zCSZq+Gx8WmvwbiOq6U9Rw/bpn1DJC1nQgJi4og=
=GUCx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.