On 2025-02-08 20:28, Valentin Petzel wrote:> I just don’t get how
adding a new property that is not supposed to be used is perferable to simply add the conversion directly to the convert-ly rule.
It is difficult -- not simple -- to write perfect conversions. The "AsMoment" properties allow a simple renaming as a backup when preferred conversions are missed.
For many of these properties, it was not a simple task to clean up LilyPond's internal Scheme code. Adding the deprecated properties was an errand of mercy to users facing something similar. Their old calculations should work unchanged with the "AsMoment" properties, allowing time to rework them to use plain old numbers instead of ly:moments.
-- Dan