|
From: | lilypond |
Subject: | Re: [Lilypond-auto] Issue 2872 in lilypond: Patch: Provide define-session and define-session-public commands |
Date: | Mon, 01 Oct 2012 19:13:35 +0000 |
Updates: Cc: address@hiddenComment #5 on issue 2872 by address@hidden: Patch: Provide define-session and define-session-public commands
http://code.google.com/p/lilypond/issues/detail?id=2872 As a test, I used #(display instrument-equalizer-alist) #(set! instrument-equalizer-alist (append '( ("flute" . (0 . 0.7)) ) instrument-equalizer-alist))and called lilypond xxx.ly xxx.ly. The second run of the file produced a longer output. Then I replaced (define-public instrument-equalizer-alist '()) in scm/midi.scm with (define-session-public instrument-equalizer-alist '()) and the output of the first iteration through the file remained identical while the second run also produced the same result.
Obviously, this will require followup work to identify data structures that should be session-only. But at least the infrastructure now is there.
[Prev in Thread] | Current Thread | [Next in Thread] |