On Mon, 2013-02-25 at 22:04 -0600, Jeremiah Benham wrote: > It all compiles now. I get several warnings about possible unbound > variables. I am see that several scripts
Are you sure that several scripts have this, not just that a single script is being invoked several times on startup? grepping through the menus I see only actions/menus/ObjectMenu/NotesRests/Tuplets/ToggleTripleting with that code in it. What's more, I can't see anything wrong with the syntax there - the definition is not inside an expression context as I understand it. It would perhaps be better to have an init.scm in the Tuplets directory to set up the initial define, but that is another issue... > have this in them: > (if (not (defined? 'ToggleTripleting::InsideTriplet)) > (define ToggleTripleting::InsideTriplet #t)) > They are giving an error like this: > #f definition in expression context, where definitions are not > allowed, ((line . 2) (column . 4) (filename . #f)) (define > ToggleTripleting::InsideTriplet #t) #f) > > Other than that, everything seems to be working well. Well, presumably hitting Tab to turn triplets on/off is not working? Richard > I will do some more testing. > > Jeremiah > > On Mon, Feb 25, 2013 at 2:18 PM, Richard Shann > <[email protected]> wrote: > I have fixed denemo-modules/scheme.scm for guile 2.0 > compatibility, > I haven't been able to check it though - there may be problems > with > other modules. Basically anything that would not execute at > run time > will cause 2.0 to barf when it tries to compile it. Such > things can be > deleted of course as they can't be in use. > > Richard > > On Sat, 2013-02-23 at 18:29 -0600, Jeremiah Benham wrote: > > > > > > > On Sat, Feb 23, 2013 at 3:44 PM, Richard Shann > > <[email protected]> wrote: > > On Sat, 2013-02-23 at 14:27 -0600, Jeremiah Benham > wrote: > > > This seems to be working now. I still get this > error > > > > > > (#f unexpected syntax #f () #f) > > > > > > Otherwise denemo seems to be running fine. I think > before I > > did not > > > give it enough time for the modules to compile or > something. > > Shall I > > > push this commit to git? > > > > > > I think there will be at least some - perhaps many - > commands > > not > > working. Test instrument name and editing the > instrument name > > once it is > > set. These depend on denemo.scm parsing correctly, > and I think > > if > > denemo-modules/scheme.scm fails to parse the rest of > the code > > is > > abandoned. > > I clicked on the instrument name button and renamed it > successfully. I > > got this when I hit the tab key to insert a triplet even > though > > triplets are working via Notes/Rests->Tuplets->insert > triplet: > > > > ** (denemo:27357): WARNING **: > > The tag is > > > > syntax-error > > > > > > > > > > But if the option to use guile-2.0 is just that - an > option - > > then it > > could go into git I guess... > > > > After I installed guile-2.0, denemo could no longer find my > > guile-1.8.pc. I checked with find and it was indeed gone. I > think this > > is a fault in the packaging. I read in the guile manual that > these are > > kind of "slotted" to where they are designed to allow > installation of > > a multitude of versions. pkg-config provides the CFLAGS and > LIBS of > > 1.6, 1.8, or 2,0 based on the guile-2.0.pc file. I am using > ubuntu > > 12.04 and I still see guile-1.6 in the repositories. There > is an > > environment variable I can set and guile will list all > depreciated > > code. I will check into that. > > > > Jeremiah > > > > > > Richard > > > > > > > > > > _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
