lilypond-devel
[Top][All Lists]
Advanced

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

Re: music function semantics


From: Jan Warchoł
Subject: Re: music function semantics
Date: Sun, 31 Jul 2011 00:37:00 +0200

W dniu 30 lipca 2011 18:18 użytkownik Carl Sorensen
<address@hidden> napisał:
>
> On 7/30/11 9:33 AM, "Jan Warchoł" <address@hidden> wrote:
>>
>> I see...
>> The more i think about it, the more i feel it would be good to merge
>> \set, \override and \tweak into one thingy.  Doing so would make music
>> functions like above one quite simpler.
>
> While I could see that perhaps we could combine \set and \override, we
> cannot combine \tweak.
>
> \override and \set modify everything at the current moment.
>
> \tweak modifies only a single grob.
>
> The distinction between \override and \tweak needs to stay because it is a
> semantic distinction.

Hmm, i'd say that \once \override could work like tweak.  Currently
\once \override affects all objects created at the same moment in
given context, but i think it wouldn't be of much inconvenience if it
affected only a single object, like tweak does.

The reason i'm so concerned about it is because today i managed to do
unbelieveable amount of mistakes when trying to move a markup.  I've
forgotten about the hash, the quote and the dash (in different
combinations) before i finally wrote -\tweak #'X-offset #3 .  At some
moment i even thought it cannot be done like that.
A shame - only i'm not sure who should be ashamed more, me or Lily :P

cheers,
Janek



reply via email to

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