Re: problem with constants in scheme-text-spanner.ly

2013-07-22 Thread David Nalesnik
On Mon, Jul 22, 2013 at 2:02 PM, David Kastrup wrote: > David Nalesnik writes: > > (set! all-grob-descriptions (sort all-grob-descriptions alist > is perfectly fine since it does not touch the original list. sort! > however would be a problem. > > In a similar vein, completize-grob-entry would

Re: problem with constants in scheme-text-spanner.ly

2013-07-22 Thread David Kastrup
David Nalesnik writes: > On Mon, Jul 22, 2013 at 12:06 PM, David Kastrup wrote: > >> So with (cons '() '()) you should be fine. >> >> IIRC, completize-grob-entry running on all-grob-descriptions also >> commits this kind of sacrilege. > > > Eek. So that means that the variable all-grob-descript

Re: problem with constants in scheme-text-spanner.ly

2013-07-22 Thread David Nalesnik
On Mon, Jul 22, 2013 at 12:06 PM, David Kastrup wrote: > David Nalesnik writes: > > > All spanners appear when I replace the variable definition > > (event-drul '(() . ())) > > > > with > > > > (cons (list) (list)) > > > > and later (line 157): > > > > (set! event-drul '(() . ())) > > > > with

Re: problem with constants in scheme-text-spanner.ly

2013-07-22 Thread David Kastrup
David Nalesnik writes: > All spanners appear when I replace the variable definition > (event-drul '(() . ())) > > with > > (cons (list) (list)) > > and later (line 157): > > (set! event-drul '(() . ())) > > with > > (set! event-drul (cons (list) (list))) > > I'd like to fix the problem, but I ha

problem with constants in scheme-text-spanner.ly

2013-07-22 Thread David Nalesnik
Hi, Attached is a version of the regression test scheme-text-spanner.ly which shows that problems arise when the engraver is used simultaneously in different contexts. I've smply created a StaffGroup in which both Staff contexts contain the same material as in the original reg test. You can see