[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Import commands
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Import commands |
Date: |
Thu, 17 Feb 2011 10:34:03 +0000 |
On Thu, 2011-02-17 at 11:29 +0100, Nils Gey wrote:
> All the problems we spoke of yesterday are still present. This needs C work.
>
> its (d-NewWindow), not d-New
yes, sorry, working from memory.
> d-ImportX into the new tab then complains about unsaved changed for the
> original file which is exactly the wrong way
that is a bug, needing fixing in C
>
> The most important point: The tab is unnamed.
>
> And d-Save only brings up a the save dialog,
(d-Save "filename=name") should not bring up a dialog, that is a bug.
You could use (d-SaveAs "filename=name"), which should do the same
thing and is, as I understand the bug reports, ready for use.
> ignores the given parameters, thus there is no filename suggested.
> Anyway, d-Save is not part of the import chain at all. This is a command for
> the user to call, not for a script.
I disagree, d-Save is perfectly good in scripts. It says save the score
to its disk file storage. Calling it on an untitled score from a script
without a parameter is an error in the script.
Richard
>
> Nils
>
>
> On Thu, 17 Feb 2011 09:31:03 +0000
> Richard Shann <address@hidden> wrote:
>
> > I have just tested out the Import commands, and I think no further
> > changes are needed in C for the things Nils has suggested, as it can all
> > be scripted.
> > (d-New)
> > (d-ImportX (string-append "filename=" name))
> > (d-Save (string-append "filename=" name))
> >
> > should be fine - I don't think you need the trailing \0 when there is
> > only one string.
> >
> > Richard
> >
> >
> >
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/denemo-devel
> >