lilypond-user
[Top][All Lists]
Advanced

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

Re: printKeyCancellation, a way to never show key cancellations?


From: David Kastrup
Subject: Re: printKeyCancellation, a way to never show key cancellations?
Date: Sun, 02 Dec 2012 20:29:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2012/12/2 David Kastrup <address@hidden>:
>> Thomas Morley <address@hidden> writes:
>>
>>> How about adding
>>> \override Staff.KeyCancellation #'break-visibility = #'#(#f #f #f)
>>> to your score?
>>> Seems to work.
>>
>> I'd write ##(#f #f #f) instead.  Vectors written as #(...) are already
>> constants (including quoting the contents).
>
> As far as I can tell, every example in the docs uses #'#( ... ) if a
> vector is given.

Ugh.

> Perhaps one should change this.

I think one should.

> OTOH, there's no harm using the additional '-sign.

It implies that the quotation is needed, leading to surprises when you
try putting non-constant values in a vector and leaving off the '.

> Thinking a little more about it, I would tend to keep the current behaviour:
> Remembering being a LilyPond-starter, the first time #'#(#f #f #f)
> occured to me, I couldn't see what was what under all the hash-signs
> and speculated, the # before the bracket was a typo.
> The '-sign gives a little structure to it, at least.

But we don't write #'#f either.  Why use an extra quote mark for one
autoquoting form and not for another?

-- 
David Kastrup



reply via email to

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