Han-Wen, You will find attached an archive with some patches: ly/dynamic-scripts-init.ly-patch scm/chord-entry.scm-patch scm/clef.scm-patch scm/music-functions.scm-patch scm/part-combiner.scm-patch
- in music-functions.scm, ly:grob-property and ly:music-property are made procedure with setters. - in this file and all other, occurences of (ly:...-set-property: obj prop val) are replaced by (set! (ly:...-property obj prop) val). - some stylistic corrections have also been made, in order to make the code a bit more respectful of commonly agreed scheme coding style. If you prefer patches without coding style corrections (which make the patches very large, and not exactly human-readable), I may make them and send them. Changes: music-functions.scm: ly:grob-property and ly:music-property are now procedure with setters, ie one can use (set! (ly:music-property mus prop) val) instead of (ly:music-set-property! mus prop val) chord-entry.scm, clef.scm, music-functions.scm, part-combiner.scm: scheme style corrections and use of the new setters.
patch-setters.tar.gz
Description: Binary data
nicolas
_______________________________________________ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel