Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1983)

Issue 6687044: Create \temporary for doing overrides without pop-first set (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by dak
Modified:
11 years, 6 months ago
Reviewers:
janek, wl, Trevor Daniels
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Create \temporary for doing overrides without pop-first set Normal overrides change the top of the current property stack rather than pushing to it, by having the pop-first property set in the music. \temporary will remove this property from its argument's overrides. For property-changing music that is not an override, a warning will be generated. Calling \temporary \override and \revert in succession on the same property will have a net effect of zero. Similarly, pairing \temporary and \undo on the same music containing overrides will have a net effect of zero. In more complex arrangements, \revert will revert to the state before the last (matching) \temporary override of the same property. Properties are maintained conceptually using one stack per property per grob per context. Using \push/\pop instead of \temporary/\undo was deemed unsuitable for a musician-accessible user interface.

Patch Set 1 #

Patch Set 2 : Improve warnings, simplify \temporary #

Patch Set 3 : Texinfo typo fix #

Total comments: 2

Patch Set 4 : Change comments in response to Janek #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -3 lines) Patch
M ly/music-functions-init.ly View 1 2 3 3 chunks +53 lines, -3 lines 0 comments Download

Messages

Total messages: 14
janek
Hi, from what i understand, the current situation is: 1) we'd like to see the ...
11 years, 6 months ago (2012-10-15 06:30:12 UTC) #1
Trevor Daniels
I'm not sure this is the right way to go. Here's my reasoning: a) Unifying ...
11 years, 6 months ago (2012-10-15 10:45:02 UTC) #2
dak
On 2012/10/15 10:45:02, Trevor Daniels wrote: > I'm not sure this is the right way ...
11 years, 6 months ago (2012-10-15 12:51:25 UTC) #3
wl_gnu.org
> Let's assume that we "unify" the interface to context and grob > properties. The ...
11 years, 6 months ago (2012-10-15 13:02:38 UTC) #4
dak
On 2012/10/15 13:02:38, wl_gnu.org wrote: > > Let's assume that we "unify" the interface to ...
11 years, 6 months ago (2012-10-15 13:10:14 UTC) #5
janek
On Mon, Oct 15, 2012 at 2:51 PM, <dak@gnu.org> wrote: > Reviewers: janek, Trevor Daniels, ...
11 years, 6 months ago (2012-10-15 14:03:07 UTC) #6
dak
On 2012/10/15 14:03:07, janek wrote: > On Mon, Oct 15, 2012 at 2:51 PM, <mailto:dak@gnu.org> ...
11 years, 6 months ago (2012-10-15 14:21:08 UTC) #7
dak
http://codereview.appspot.com/6687044/diff/4001/ly/music-functions-init.ly File ly/music-functions-init.ly (right): http://codereview.appspot.com/6687044/diff/4001/ly/music-functions-init.ly#newcode1250 ly/music-functions-init.ly:1250: @emph{corresponding} reverts in a stack-neutral manner. An On 2012/10/15 ...
11 years, 6 months ago (2012-10-15 14:28:44 UTC) #8
Trevor Daniels
On 2012/10/15 14:21:08, dak wrote: > On 2012/10/15 14:03:07, janek wrote: > > Hmm. I've ...
11 years, 6 months ago (2012-10-15 14:46:50 UTC) #9
dak
On 2012/10/15 14:46:50, Trevor Daniels wrote: > On 2012/10/15 14:21:08, dak wrote: > > > ...
11 years, 6 months ago (2012-10-15 15:30:14 UTC) #10
wl_gnu.org
>> The solution is to use it in combination with a left leg, not >> ...
11 years, 6 months ago (2012-10-15 18:24:10 UTC) #11
janek
On Mon, Oct 15, 2012 at 4:28 PM, <dak@gnu.org> wrote: > On 2012/10/15 06:30:12, janek ...
11 years, 6 months ago (2012-10-15 20:27:16 UTC) #12
janek
There was some controversy with this patch, but it was counted down and noone found ...
11 years, 6 months ago (2012-10-21 16:24:36 UTC) #13
janek
11 years, 6 months ago (2012-10-23 14:15:11 UTC) #14
pushed as 5c4b80afe97acbe20199a3aa71a0d63172112f23

David, please close this issue.

thanks!
Janek
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b