lilypond-devel
[Top][All Lists]
Advanced

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

Re: RFC: \hideNote


From: David Kastrup
Subject: Re: RFC: \hideNote
Date: Tue, 01 Nov 2011 17:11:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hi all,
>
>> I am sure other more experienced programmers will chime in but having
>> two 'similar' functions
>> 
>> \hideNote
>> \hideNotes
>> 
>> Is a good idea.
>
> I thought we had settled on \functionOn and \functionOff (e.g.,
> \sustainOn and \sustainOff).
> So we should have \hideNotesOn and \hideNotesOff, right? Then
> \hideNote could stand for "\once \hideNotesOn".
> That seems clear to me.

Perhaps we should just define a music function
\Once
that takes a music expression and walks through it, adding the necessary
flag to all property operations.

Or we just define \once as a music function doing that and remove it
from the parser altogether.  Should be slightly less efficient and quite
more convenient.

-- 
David Kastrup




reply via email to

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