bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1322 in lilypond: \context must die (whenever \new can be used


From: lilypond
Subject: Re: Issue 1322 in lilypond: \context must die (whenever \new can be used instead)
Date: Sun, 24 Oct 2010 16:19:04 +0000


Comment #12 on issue 1322 by n.puttock: \context must die (whenever \new can be used instead)
http://code.google.com/p/lilypond/issues/detail?id=1322

a change requiring \context to include a name for the context would be appropriate

We can't do this, since it would prevent context specification for \applyContext (unless the user implements it directly in scheme).

This is perfectly valid:

\new Staff \relative c' {
  c1
  \context Timing
  \applyContext #(lambda (ctx)
                   (newline)
                   (display (ly:context-current-moment ctx)))
  c1
}






reply via email to

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