[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Nested Musicfunctions -> location
From: David Kastrup <dak () gnu ! org>
Date: 2012-06-25 9:29:45
Message-ID: 87sjdju4c6.fsf () fencepost ! gnu ! org
[Download RAW message or body]
Jan-Peter Voigt <jp.voigt@gmx.de> writes:
> here's my approach to inherit the input-location in nested music-functions:
>
> --snip--
>
> \version "2.15.40"
>
> % a test function, which simply outputs the location
>
> test = #(define-music-function (parser location mus)(ly:music?)
>
> (ly:input-message location "~A" location) mus)
...
In this use case, using ly:music-message or ly:music-warning would
appear to make more sense.
--
David Kastrup
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic