lilypond-devel
[Top][All Lists]
Advanced

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

Re: Setting page size from the command line


From: Geoff Horton
Subject: Re: Setting page size from the command line
Date: Tue, 11 Apr 2006 08:31:08 -0400

> Without having looked at the code, I'd say that the reason is that the
> argument gets parsed as a scheme value. So if you say -dpaper-size=HELLO,
> that is equivalent to having
> #(set-default-paper-size HELLO)
> in your file. But of course you want something like
> #(set-default-paper-size "HELLO")
> because the scheme name HELLO is undefined, you need the constant string
> "HELLO" instead. So lilypond needs to receive the string "HELLO" which means
> you need to escape the '"'s or the shell will remove them.
>
> I don't know if that information helps at all, but at least it provides some
> sort of motivation for the behaviour. In any case, I would vote for changing
> it too.

But what if a person wants to refer to a Scheme variable (as in the
point-and-click example)? I agree it's far from ideal, but I think
switching to auto-quoting arguments would break more than it solves.

Geoff




reply via email to

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