Am Mi., 14. Nov. 2018 um 11:04 Uhr schrieb David Kastrup <d...@gnu.org>: > > Thomas Morley <thomasmorle...@gmail.com> writes: > > > I'm not convinced about below, but for the record: > > > > One could give the key-function a string-argument, or probably a symbol > > And react on the input, like > > > > (case <input> > > (("major") major) > > ... > > (else (ly:error/warning "message")) > > > > Obviously pseudo-code (I'm in a hurry), but I hope the proposal is made > > clear. > > Also, would need a convert-rule. > > That would leave us with the same situation we had for a long time > regarding engravers: the built-in scales would be a privileged class and > you'd need to have some registration mechanism to elevate user-defined > scales. > > I usually lean towards making things work "as expected" but I don't > really think it would be doing us favors here. > > -- > David Kastrup
As said, I'm not convinced about this myself, but I thought the (at least) thinkable alternative should have been discussed. This happened now. ;) My very first thought about the problem was to use number-pair-list? So I'm fine with your patch. Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user