lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ly:context-mod? list to string


From: Urs Liska
Subject: Re: ly:context-mod? list to string
Date: Tue, 03 Dec 2013 23:17:55 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Am 03.12.2013 20:39, schrieb David Kastrup:
Urs Liska <address@hidden> 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.

Still driving me crazy all this ...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]