From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: EDE: customize-target behaves buggy when called from speed bar Date: Wed, 28 Oct 2009 12:41:26 -0400 Message-ID: <1256748086.5333.244.camel@projectile.siege-engine.com> References: Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256749917 19025 80.91.229.12 (28 Oct 2009 17:11:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2009 17:11:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 28 18:11:50 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N3C3l-0004tv-U7 for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2009 18:11:49 +0100 Original-Received: from localhost ([127.0.0.1]:40965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3C3k-0005zw-3Y for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2009 13:11:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3Ba5-00009q-Rl for emacs-devel@gnu.org; Wed, 28 Oct 2009 12:41:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3Ba4-00008a-QN for emacs-devel@gnu.org; Wed, 28 Oct 2009 12:41:05 -0400 Original-Received: from [199.232.76.173] (port=53077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3Ba4-00008D-Hc for emacs-devel@gnu.org; Wed, 28 Oct 2009 12:41:04 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:58543 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3Ba4-0000TY-62 for emacs-devel@gnu.org; Wed, 28 Oct 2009 12:41:04 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n9SGfQ1h020660; Wed, 28 Oct 2009 12:41:27 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n9SGfQdt020659; Wed, 28 Oct 2009 12:41:26 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116440 Archived-At: 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 > #" 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