bug-lilypond
[Top][All Lists]
Advanced

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

Re: context-mods / self-alignment-interface problem (regression?)


From: David Kastrup
Subject: Re: context-mods / self-alignment-interface problem (regression?)
Date: Tue, 03 Dec 2013 16:12:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> Hi,
>
> when running this code
>
> annotate =
>
> #(define-music-function (parser location properties item)
>
> (ly:context-mod? symbol-list-or-music?)
>
> ;; annotates a musical object for use with lilypond-doc
>
> (display (ly:get-context-mods properties))
>
> ; Dummy coloring
>
> #{
>
> \once \tweak color #magenta #item
>
> #}
>
> )
>
>
> from current master (i.e. as of 3426bec4228bde5a526bd4ad1d5c3bda220097cf)
>
>
> I get an error:
> .../scm/define-grobs.scm:28:3: In expression (quasiquote (# # # ...)):
> .../scm/define-grobs.scm:28:3: Unbound variable:
> ly:self-alignment-interface::x-colliding-grobs
>
> This error doesn't appear when I compile with
> - 2.17.29 (latest binary I have),
> - local build from 2.17.96 or
> - 2.16.2.
> Obviously it is triggered by the "ly:get-context-mods properties"
>
> It's the same whether I actually _use_ this function or if it's the
> only content of the file.

I have no problem using
annotate =

#(define-music-function (parser location properties item)
(ly:context-mod? symbol-list-or-music?)
;; annotates a musical object for use with lilypond-doc
(display (ly:get-context-mods properties))
; Dummy coloring
#{
\once \tweak color #magenta #item
#}
)

\annotate \with { \accidentalStyle piano } c


with current master.  To me it looks like you did not successfully "make
all" after checking out a different version of LilyPond, making your
Scheme files not correspond to your binaries.

-- 
David Kastrup




reply via email to

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