Hello, I just noticed an inconsistent behavior with 2.25.0. The snippet below doesn't compile; I don't know if there is a hidden problem inside it, but it worked for all the versions prior to 2.25:
%------------------------------------------------------------------- test = #(define-music-function (parser location music) (ly:music?) (let ((musiccpy '())) (begin (set! musiccpy (ly:music-deep-copy music)) (map-some-music (lambda (evt) (let ((nameUp (ly:music-property evt 'name))) (cond ((eq? nameUp 'NoteEvent) (set! evt '()) evt) (else #f)) )) musiccpy) ) #{ $musiccpy #})) { \test { \tuplet 3/2 { e'8 s s } } } %------------------------------------------------------------------- Some observations: 1) the snippet compiles if the tuplet is removed 2) the snippet compiles if map-some-music is don on $music, instead of $musiccpy I don't know if it's a bug, but in any case, is there a way/workaround to fix it while preserving both ly:music-deep-copy and the tuplet? Thanks and Merry Christmas! Paolo