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: Tue, 02 Dec 2003 11:31:24 +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 1070366943 30779 80.91.224.253 (2 Dec 2003 12:09:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2003 12:09:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Dec 02 13:08:52 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 1AR9Kl-0004Bn-00 for ; Tue, 02 Dec 2003 13:08:51 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AR9Kl-0004kz-00 for ; Tue, 02 Dec 2003 13:08:51 +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 1ARA3e-0001q0-DO for emacs-devel@quimby.gnus.org; Tue, 02 Dec 2003 07:55:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AR8mk-0006uR-PZ for emacs-devel@gnu.org; Tue, 02 Dec 2003 06:33:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AR8m8-0006l1-BT for emacs-devel@gnu.org; Tue, 02 Dec 2003 06:33:35 -0500 Original-Received: from [130.225.40.227] (helo=sheridan.dina.kvl.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AR8m3-0006fa-Lu; Tue, 02 Dec 2003 06:32:59 -0500 Original-Received: by sheridan.dina.kvl.dk (Postfix, from userid 304) id B567413D1D; Tue, 2 Dec 2003 11:31:24 +0100 (CET) Original-To: rms@gnu.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: (Richard Stallman's message of "Mon, 01 Dec 2003 23:17:54 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) 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:18274 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18274 Richard Stallman writes: > ISTR that there is a frequently used term for an object > whose value will be computed only when you actually refer to it, > but it has been so many years that I don't remember the term. > Is it "lazy"? Maybe this type should be called `lazy'. The word is lazy, as in lazy evaluation. > `delayed' is ok too. 'lazy' and 'delayed' are good because they describe how the widget accomplish its task. But I now believe 'recursive' is best, because it described what the task is. Also (define-widget 'binary-tree 'recursive ...) reads well: A binary tree is a recursive datastructure with the following attributes ... That lazy or delayed expansion is needed for recursive datastructures is an (admittedly important) implementation detail. May I commit the widget under the name `recursive'?