On Wed, Oct 3, 2012 at 10:04 AM, <[email protected]> wrote: > Uh, I guess we have a fundamental misunderstanding here. We already > _have_ sessions (you can call lilypond on several different .ly input > files and have them processed tentatively independently). We just don't > have any help for the programmer who tries dealing with them. What > currently exists is that each session gets its fresh parser copy, and > the parser variables are initialized from the state right before the > first session started. For everything else, you are out on your own and > responsible that all the variables in .scm files start with the same > values each session, if necessary by reinitializing them in ly/init.ly.
Yeah, i read the barline thread when i was offline and i understand now. > define-session will declare a variable that has its value recorded at > the start of the first session and reinstated at the start of each > following session. I think this paragraph could be included in commit message. > It is not really providing anything new, just gives a face to something > that programmers were expected to do right on their own, but which is > really too hard to understand or explain. Indeed ;) Thanks for explanations! Janek _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
