Am 03.12.2013 23:17, schrieb Urs Liska:
Am 03.12.2013 20:39, schrieb David Kastrup:
Urs Liska <u...@openlilylib.org> writes:

When I use ly:context-mod? for a parameter in a music function a
string as the final part will be cut to list items.

if I write
\function \with { comment = "This should be verified" }

then the ly:context-mod? variable will hold

((assign comment This should be verified))

cdr-ing makes it (comment This should be verified)

So what's the best (or canonic) way to make that (comment "This should
be verified") again?
**Bing** Now it is so again.

More seriously: that's what it always has been.  Use "write" instead of
"display" and you'll probably see what you want to.

If you use format for output, learn about the difference between ~a and
~s formats.


Thanks for pointing this out.
with "write" I indeed see what I want to.

But when I try to pass that to a ly:message I'll get

Wrong type argument in position 1 (expecting string): ("critical-remark")



Still driving me crazy all this ...

+1


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to