From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: Creating recursive customization types / widgets Date: Mon, 01 Dec 2003 14:36:31 +0100 Organization: The Church of Emacs Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070306038 6835 80.91.224.253 (1 Dec 2003 19:13:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 19:13:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Dec 01 20:13:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQtUY-0000QC-00 for ; Mon, 01 Dec 2003 20:13:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQtUY-0003bq-00 for ; Mon, 01 Dec 2003 20:13:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AQu70-0007s1-Lt for emacs-devel@quimby.gnus.org; Mon, 01 Dec 2003 14:53:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AQpGq-0005Xo-Le for emacs-devel@gnu.org; Mon, 01 Dec 2003 09:43:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AQpBa-00052o-Ep for emacs-devel@gnu.org; Mon, 01 Dec 2003 09:38:33 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AQpBX-00052W-6H for emacs-devel@gnu.org; Mon, 01 Dec 2003 09:37:59 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AQoE4-0000Lw-00 for ; Mon, 01 Dec 2003 14:36:32 +0100 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQoE3-0000Lk-00 for ; Mon, 01 Dec 2003 14:36:31 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AQoE3-0006uh-00 for ; Mon, 01 Dec 2003 14:36:31 +0100 Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:H4FS9xRL7NHoaCv4K3oulagyXIs= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18247 Stefan Monnier writes: >> If the datastructures is recursive, you need to gave a :match argument >> as well as :type. > > Why is that ? > >> If not, it will simply match any values that the >> type specified for :type will match. > > Which seems like what we want. Are there cases where it doesn't work > and if so, why not (i.e. can we fix it) ? You need :match 'widget-child-match in the definition of the 'child' widget, then it seems to work for the cases I have tried.