unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* EDE: customize-target behaves buggy when called from speed bar
@ 2009-10-28 15:19 Sascha Wilde
  2009-10-28 16:41 ` Eric M. Ludlam
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Wilde @ 2009-10-28 15:19 UTC (permalink / raw)
  To: emacs-devel

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
-- 
Sascha Wilde
We're Germans and we use Unix. That's a combination of two 
demographic groups known to have no sense of humour whatsoever.
  -- Hanno Mueller in de.comp.os.unix.programming




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: EDE: customize-target behaves buggy when called from speed bar
  2009-10-28 15:19 EDE: customize-target behaves buggy when called from speed bar Sascha Wilde
@ 2009-10-28 16:41 ` Eric M. Ludlam
  0 siblings, 0 replies; 2+ messages in thread
From: Eric M. Ludlam @ 2009-10-28 16:41 UTC (permalink / raw)
  To: Sascha Wilde; +Cc: emacs-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-28 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 15:19 EDE: customize-target behaves buggy when called from speed bar Sascha Wilde
2009-10-28 16:41 ` Eric M. Ludlam

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).