The "pre" part of "preset" seems to indicate its place in the cascading rules?
If so, I think is a bad way to name it, as it is pre some things, and post other things.
Or, if "pre" is short for "predefined", that is also not telling us anything--the fact that you are using it means it's already been defined.
I think a better name would come out of its relation to the property set.
In this vein, I would offer the term "bundle"
\definePropertySet my-function.appearance
#`((thickness ,number? 1)
(color ,color? ,red)
(label ,markup? "")
(extra-width ,number-pair? (0 . 0))
(Y-position ,integer? 0))
myFunction =
#(with-property-set define-music-function (mus)(ly:music?)
'(my-function appearance)
#{
\once \override NoteHead.color = #(property 'color)
#mus
#})
\definePropertyBundle \with {
parent = default
color = #magenta
} my-function.appearance style-two
{
\myFunction \with {
bundle = style-two
} c'
}
HTH,
Elaine Alt
415 . 341 .4954 "Confusion is highly underrated"
elaine@flaminghakama.com