[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: create custom context definitions using a scheme function
From: |
Janek Warchoł |
Subject: |
Re: create custom context definitions using a scheme function |
Date: |
Fri, 10 Jan 2014 19:40:27 +0100 |
*Awesome!!*
I don't know when i'll have time to finish the thing i need this for,
but it will be very awesome when done. Many thanks!!
Janek
2014/1/10 David Kastrup <address@hidden>:
> David Kastrup <address@hidden> writes:
>
>> Janek Warchoł <address@hidden> writes:
>>
>>> 2014/1/9 David Kastrup <address@hidden>:
>>>
>>> So how can i achieve what i want?
>>
>> Make a Scheme assignment. Something like
>> #(define-void-function (parser location ...) ...
>> (ly:parser-define! parser '$defaultlayout #{ \layout ... #}))
>
> Or just use your original code after
>
> Tracker issue: 3793 (http://code.google.com/p/lilypond/issues/detail?id=3793)
> Rietveld issue: 50130044 (http://codereview.appspot.com/50130044)
> Issue description:
> Allow scheme functions and identifiers to function as output
> definitions
>
> has passed... And yes, I know that the situation for context defs is
> comparable, but I need to go to bed now.
>
> --
> David Kastrup