lilypond-user
[Top][All Lists]
Advanced

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

Re: Nested Musicfunctions -> location


From: David Kastrup
Subject: Re: Nested Musicfunctions -> location
Date: Mon, 25 Jun 2012 11:29:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Jan-Peter Voigt <address@hidden> 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




reply via email to

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