denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Problem with scheme script ReBar


From: Richard Shann
Subject: Re: [Denemo-devel] Problem with scheme script ReBar
Date: Wed, 12 Oct 2011 17:36:39 +0100

Fixed in git. I don't see another proc to call, and indeed I see this
one does some explicit re-calculations, not just to do with the drawing.
It may be that the reason this bug has surfaced is it may depend on
whether the cursor is flashing (which causes re-draws).
Richard

On Wed, 2011-10-12 at 17:23 +0100, Richard Shann wrote:
> I can guess what this is: the horrible drawing-affects-data thing. So
> (d-RefreshDisplay) should work. In fact I have a suspicion there is a
> special (d-something-or-other) which does this (?, I will have written
> it if so, and so I guess it is down to me to find it :)
> Richard
> 
> On Wed, 2011-10-12 at 09:00 -0600, Josue Abarca wrote:
> > Hello, in Denemo 0.9.2, the scheme script: ReBar
> > 
> > (actions/menus/ObjectMenu/MovementMenu/ReBar)
> > 
> > seems that now is not detecting Time Signature changes[0].
> > 
> > I have been trying to debug the script using "Debugger".
> > 
> > The problem seems to be in "GetTimeSigChange", and the call to
> > d-InsertTimeSig.
> > 
> > I do not know why but, adding a call to "(Debugger)" right before the
> > call to d-InsertTimeSig "fixes" the problem.
> > 
> > Like this:
> > ;;;;;;;;;;;;;;
> > (define (GetTimeSigChange)
> >                 (begin
> >                 (Debugger)
> >             (set! TimeSig (string->number (d-InsertTimeSig 
> > "query=timesigname") ))
> >                 )
> > );GetTimeSig
> > ;;;;;;;;;;;;;;
> > 
> > 
> > In fact, adding any call to d-GetUserInput before the call to
> > d-InsertTimeSig "fixes" the problem.
> > 
> > Maybe this notes about the problem help to fix it :).
> > 
> > Cheers and thanks for your work in Denemo :).
> > 
> > P.D.:
> > Sorry for my English.
> > 
> > [0] http://jmaslibre.org/debian/denemo/time-signature-change.denemo
> > 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel






reply via email to

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