lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2872 in lilypond: Patch: Provide define-sessio


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2872 in lilypond: Patch: Provide define-session and define-session-public commands
Date: Fri, 05 Oct 2012 10:00:30 +0000

Updates:
        Status: Fixed
        Labels: -Patch-push Fixed_2_17_4

Comment #15 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

Pushed to staging as
commit 30bd5cefd5b2281f3701839a2ae1616c8dcbe129
Author: David Kastrup <address@hidden>
Date:   Mon Oct 1 14:15:17 2012 +0200

    Issue 2872: Provide define-session and define-session-public commands

    Also moves the session logic into lily.scm instead of init.ly

    A session corresponds to one .ly file on the LilyPond command line;
    sessions are supposed to be processed independently in one LilyPond
    run.

    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 sessions.  This is automatically the case for every variable
    defined in variables in the parser module established while loading
    ly/declarations-init.ly.  However, not every changeable information
    handled in the .scm parts of LilyPond can easily or reasonably be
    stored in the parser module.  define-session (and
    define-session-public) provide a way to get the same semantics for
    variables defined in the Scheme parts of LilyPond.





reply via email to

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