Updates:
        Cc: [email protected]

Comment #5 on issue 2872 by [email protected]: 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.


Reply via email to