Re: Issue 1320: Rewriting bar-line::print

2012-03-23 Thread Marc Hohl
Am 21.03.2012 21:39, schrieb Nicolas Sceaux: Le 20 mars 2012 à 09:39, Marc Hohl a écrit : Hello list, I want to rewrite most if not all definitions currently settled in lily/bar-line.cc in scheme. Please see the attached file for my progress so far; I don't get any error messages, but no bar

Re: Issue 1320: Rewriting bar-line::print

2012-03-22 Thread Marc Hohl
Am 21.03.2012 21:39, schrieb Nicolas Sceaux: Le 20 mars 2012 à 09:39, Marc Hohl a écrit : Hello list, I want to rewrite most if not all definitions currently settled in lily/bar-line.cc in scheme. Please see the attached file for my progress so far; I don't get any error messages, but no bar

Re: Issue 1320: Rewriting bar-line::print

2012-03-22 Thread Marc Hohl
Am 21.03.2012 11:43, schrieb David Kastrup: Marc Hohl writes: Anyway, I don't get the case statement right - am I too stupid? Stupid enough to follow my advice without checking the manual first (or afterwards). Looking in the Guile manual, it turns out that case uses eqv? for checking equali

Re: Issue 1320: Rewriting bar-line::print

2012-03-21 Thread Nicolas Sceaux
Le 20 mars 2012 à 09:39, Marc Hohl a écrit : > Hello list, > > I want to rewrite most if not all definitions currently settled in > lily/bar-line.cc in scheme. Please see the attached file for my > progress so far; I don't get any error messages, but no bar lines either :-( > > Is this a feasib

Re: Issue 1320: Rewriting bar-line::print

2012-03-21 Thread David Kastrup
Marc Hohl writes: > Anyway, I don't get the case statement right - am I too stupid? Stupid enough to follow my advice without checking the manual first (or afterwards). Looking in the Guile manual, it turns out that case uses eqv? for checking equality. guile> (eqv? "x" "x") #f guile> So you

Re: Issue 1320: Rewriting bar-line::print

2012-03-21 Thread Marc Hohl
Am 21.03.2012 02:11, schrieb Thomas Morley: Hi Marc, Some observations: the main problem seems to be the storing of the new stencils in an alist and how to call them. Directly in bar-line::compound-bar-line works. Ok, this is what David explained to me, too. Also, I created bar-line-stencil-a

Re: Issue 1320: Rewriting bar-line::print

2012-03-21 Thread Marc Hohl
Am 21.03.2012 11:03, schrieb David Kastrup: Marc Hohl writes: Am 21.03.2012 03:20, schrieb David Kastrup: Marc Hohl writes: Is this a feasible approach? What am I currently doing wrong? #(define bar-line-stencil-alist '(("|" . thin-stil) ("." . thick-stil) ("" . empty-stil

Re: Issue 1320: Rewriting bar-line::print

2012-03-21 Thread David Kastrup
Marc Hohl writes: > Am 21.03.2012 03:20, schrieb David Kastrup: >> Marc Hohl writes: >> >>> Is this a feasible approach? What am I currently doing wrong? >> >>> #(define bar-line-stencil-alist >>>'(("|" . thin-stil) >>> ("." . thick-stil) >>> ("" . empty-stil) >>> )) >>>

Re: Issue 1320: Rewriting bar-line::print

2012-03-21 Thread Marc Hohl
Am 21.03.2012 03:20, schrieb David Kastrup: Marc Hohl writes: Is this a feasible approach? What am I currently doing wrong? #(define bar-line-stencil-alist '(("|" . thin-stil) ("." . thick-stil) ("" . empty-stil) )) (thin-stil (bar-line::simple-bar-line grob hai

Re: Issue 1320: Rewriting bar-line::print

2012-03-20 Thread David Kastrup
Marc Hohl writes: > Is this a feasible approach? What am I currently doing wrong? > #(define bar-line-stencil-alist > '(("|" . thin-stil) > ("." . thick-stil) > ("" . empty-stil) > )) > (thin-stil (bar-line::simple-bar-line grob hair extent rounded)) > (thick-

Re: Issue 1320: Rewriting bar-line::print

2012-03-20 Thread Thomas Morley
Hi Marc, Some observations: the main problem seems to be the storing of the new stencils in an alist and how to call them. Directly in bar-line::compound-bar-line works. Also, I created bar-line-stencil-alist-demo containing new stencils, which are defined before. Calling them in bar-line::compou

Re: Issue 1320: Rewriting bar-line::print

2012-03-20 Thread David Kastrup
Marc Hohl writes: > Am 20.03.2012 10:19, schrieb David Kastrup: >> Marc Hohl writes: >> >>> Hello list, >>> >>> I want to rewrite most if not all definitions currently settled in >>> lily/bar-line.cc in scheme. Please see the attached file for my >>> progress so far; I don't get any error messa

Re: Issue 1320: Rewriting bar-line::print

2012-03-20 Thread Marc Hohl
Am 20.03.2012 10:19, schrieb David Kastrup: Marc Hohl writes: Hello list, I want to rewrite most if not all definitions currently settled in lily/bar-line.cc in scheme. Please see the attached file for my progress so far; I don't get any error messages, but no bar lines either :-( Is this a

Re: Issue 1320: Rewriting bar-line::print

2012-03-20 Thread David Kastrup
Marc Hohl writes: > Hello list, > > I want to rewrite most if not all definitions currently settled in > lily/bar-line.cc in scheme. Please see the attached file for my > progress so far; I don't get any error messages, but no bar lines either :-( > > Is this a feasible approach? What am I curre

Issue 1320: Rewriting bar-line::print

2012-03-20 Thread Marc Hohl
Hello list, I want to rewrite most if not all definitions currently settled in lily/bar-line.cc in scheme. Please see the attached file for my progress so far; I don't get any error messages, but no bar lines either :-( Is this a feasible approach? What am I currently doing wrong? Thanks for a