From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.bugs Subject: bug#20467: 25.0.50; eieio-custom.el Date: Wed, 06 May 2015 08:48:49 +0200 (CEST) Message-ID: <20150506.084849.1740837241381318997.devel@pollock-nageoire.net> References: <20150506.054823.922349158382351262.devel@pollock-nageoire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1430895525 21271 80.91.229.3 (6 May 2015 06:58:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 06:58:45 +0000 (UTC) Cc: 20467@debbugs.gnu.org To: monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 06 08:58:35 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YptHu-00049e-W8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 08:58:35 +0200 Original-Received: from localhost ([::1]:43292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YptHu-0006oR-6q for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 02:58:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YptHS-0006Ju-9n for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 02:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YptHP-00011J-3J for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 02:58:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YptHP-00011F-11 for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 02:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YptHO-0004c4-Ih for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 02:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Lorenzon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2015 06:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20467-submit@debbugs.gnu.org id=B20467.143089545317696 (code B ref 20467); Wed, 06 May 2015 06:58:02 +0000 Original-Received: (at 20467) by debbugs.gnu.org; 6 May 2015 06:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:35854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YptGu-0004bM-RO for submit@debbugs.gnu.org; Wed, 06 May 2015 02:57:33 -0400 Original-Received: from smtp07.smtpout.orange.fr ([80.12.242.129]:37682 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YptGo-0004b1-ID for 20467@debbugs.gnu.org; Wed, 06 May 2015 02:57:30 -0400 Original-Received: from localhost ([82.123.30.187]) by mwinf5d30 with ME id QWxJ1q00N42Dy4203WxJTn; Wed, 06 May 2015 08:57:20 +0200 X-ME-Helo: localhost X-ME-Date: Wed, 06 May 2015 08:57:20 +0200 X-ME-IP: 82.123.30.187 In-Reply-To: X-Mailer: Mew version 6.5 on Emacs 25.0.50 / Mule 6.0 (HANACHIRUSATO) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102532 Archived-At: Hi Stefan, In fact I think that eieio object customization is now debugged. This is all the code contained in the eieio-custom.el file. From: Stefan Monnier Subject: Re: bug#20467: 25.0.50; eieio-custom.el Date: Wed, 06 May 2015 00:32:15 -0400 >> this code is triggered when customizing an eieio object and > > I don't know what "customizing an eieio object" looks like. A buffer containing a button clik interface that allow you to assign values to certain slot of an object. In fact slots that are customizable i.e. the ones that have a :custom tag in their declaration. There's a method called `eieio-customize-object' that is available for any object but that can be reimplemented for subclasses. If obj is an object obtained by instantiating a class one may call : (eieio-customize-object obj). > >> then when trying to recover object from the widget used to >> customize it. > > That similarly describes actions with which I'm not familiar. OK : once you got the customizing buffer for any object there's a button [Accept] that you can clik to record the changes you made. > >> Typically when doing `ede-customize-project' >> from a file controlled by ede > > I never used EDE and have no idea how to recognize a "file controlled by ede". You might have a look at the ede documentation to understand how a project can be controlled by ede. But anyway if you do not have time/motivation to do that don't worry. I am very familiar with that whole stuff and can check if it works or not. In particular section 3 (quicj start) of ede manual should work. It is described step by step how to initiate a project controlled by ede. This should at least work. But I'll test that and telle you if I encounter bugs and provide patches if possible. > But if you tell me how to get to such a thing, I think I should be able > to then go on and figure out the ede-customize-project part. > > > Stefan Pierre