Hi Werner,
Am 03.07.25 um 05:08 schrieb Werner LEMBERG:
I don't see another possibility. But I'm willing to implement 2) if
it fits your need.
Maybe something like this? [...]
Very nice! I think this would be a good snippet for the LSR.
One person's good snippet is another person's ugly hack :-).
The whole approach blows up as soon as someone rewrites
ly:key-signature-interface::print in lily/key-signature-interface.cc
(which of course might not happen for quite some time). But if Carren
confirms that the snippet works in a production score, I agree that I
should turn this into a snippet. But I definitely should address the
TODO in the source first: Having to write
#(define (cadaddr lst) (car (cdaddr lst)))
#(define (cdadaddr lst) (cdr (cadaddr lst)))
definitely won't get me a prize for great Scheme conding style ...
Lukas