[Gimp-user] script-fu-save-anim-layers

Alec Burgess buralex at gmail.com
Sat Oct 18 18:46:26 PDT 2008


Sven Neumann (sven at gimp.org) wrote (in part)  (on 2008-10-18 at 18:45):
>  On Sat, 2008-10-18 at 18:19 -0400, Alec Burgess wrote:
>
>  > > Error while executing script-fu-save-anim-layers:
>  > > Error: Bad syntax of binding spec in let* : ((image) (buffer))
>  > >
>  > > I think this is due to changes in script-fu (?) but don't know
>  enough
>  > > about script-fu to correct it. Could someone help?
>
>  This is explained in the release notes for GIMP 2.6:
>  http://gimp.org/release-notes/gimp-2.6.html

Thanks ... I think :-) found the example and perused the linked PDF 
(section 4.2.2. Binding constructs) with out much if any understanding.

I changed:
(define (save-layer orig-image layer name)
    (let* (
        (image)
        (buffer)
        )

to:
(define (save-layer orig-image layer name)
    (let* (
        (this-is-correct 0)
        (image)
        (buffer)
        )

I'd expected that this would still choke on the (image) and  (buffer) 
bindings (terminology(?))  so I guess that let* syntax just requires at 
least one variable-init pair?

Anyhow, it works now :-)

P.S.: Offtopic - I noticed in your reply that you sent it to "my 
address" with cc. to the list. I got only one copy (I think because 
Gmail suppresses the extra). Is it "good form" to just select ReplyAll 
and allow both to be sent. I've always tried to remember to delete the 
sender's email-address and send only To: thelist

-- 
Regards ... Alec   (buralex at gmail & WinLiveMess - alec.m.burgess at skype)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-user/attachments/20081018/65f062df/attachment.html 


More information about the Gimp-user mailing list