Re: create custom context definitions using a scheme function

2014-01-10 Thread Janek Warchoł
*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 d...@gnu.org: David Kastrup d...@gnu.org writes: Janek Warchoł janek.lilyp...@gmail.com writes: 2014/1/9 David Kastrup

create custom context definitions using a scheme function

2014-01-09 Thread Janek Warchoł
Hi, I want to create custom context definitions using a scheme function. Later on the function will take some arguments and actually do something interesting, but right now i cannot get the most basic examples to work: % why the override isn't applied here? test = #(define-scheme-function

Re: create custom context definitions using a scheme function

2014-01-09 Thread David Kastrup
Janek Warchoł janek.lilyp...@gmail.com writes: Hi, I want to create custom context definitions using a scheme function. Later on the function will take some arguments and actually do something interesting, but right now i cannot get the most basic examples to work: % why the override

Re: create custom context definitions using a scheme function

2014-01-09 Thread Janek Warchoł
2014/1/9 David Kastrup d...@gnu.org: Janek Warchoł janek.lilyp...@gmail.com writes: Hi, I want to create custom context definitions using a scheme function. Later on the function will take some arguments and actually do something interesting, but right now i cannot get the most basic

Re: create custom context definitions using a scheme function

2014-01-09 Thread David Kastrup
Janek Warchoł janek.lilyp...@gmail.com writes: 2014/1/9 David Kastrup d...@gnu.org: 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 ... #})) -- David

Re: create custom context definitions using a scheme function

2014-01-09 Thread David Kastrup
David Kastrup d...@gnu.org writes: Janek Warchoł janek.lilyp...@gmail.com writes: 2014/1/9 David Kastrup d...@gnu.org: So how can i achieve what i want? Make a Scheme assignment. Something like #(define-void-function (parser location ...) ... (ly:parser-define! parser '$defaultlayout