[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EDE: customize-target behaves buggy when called from speed bar
From: |
Eric M. Ludlam |
Subject: |
Re: EDE: customize-target behaves buggy when called from speed bar |
Date: |
Wed, 28 Oct 2009 12:41:26 -0400 |
Hi,
Despite writing eieio, and eieio-custom, I don't feel like I ever
really understood the widget-writing API very well. There is a
combination of customizing 'in place', and customizing 'by value' that I
never really got worked out. It would be great if an expert in
custom/widgets could lend some expertise.
This specific problem might be something else. I'll try to find out.
Thanks
Eric
On Wed, 2009-10-28 at 16:19 +0100, Sascha Wilde wrote:
> And one more:
>
> I use: M-x customize-target in my test project to add the library "talk"
> to the :ldlibs of my target hello.
>
> When doing M-x ede-speedbar and pressing [RET] over the target "hello" I
> get an similar custom buffer "Edit object
> #<ede-proj-target-makefile-program hello>" but when editing the ldlibs
> here I get an error on [Accept] or [Apply]:
>
> Debugger entered--Lisp error: (invalid-slot-type
> ede-proj-target-makefile-program compiler (or null symbol) ("talk"))
> signal(invalid-slot-type (ede-proj-target-makefile-program compiler
> (or null symbol) ("talk")))
> eieio-validate-slot-value(ede-proj-target-makefile-program 10 ("talk")
> compiler)
> eieio-oset([object ede-proj-target-makefile-program "hello" nil
> "hello" "" ("hello.c") nil nil nil nil nil "Makefile" t ("debug"
> ("CFLAGS" . "-g") ("LDFLAGS" . "-g")) nil nil nil] compiler ("talk"))
> [...]
>
> cheers
> ssacha