From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22748 invoked by alias); 19 May 2004 12:24:21 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 22734 invoked from network); 19 May 2004 12:24:20 -0000 Received: from unknown (HELO s-hertogenbosch.execulink.net) (199.166.6.44) by sourceware.org with SMTP; 19 May 2004 12:24:20 -0000 Received: from diamond.ansuz.sooke.bc.ca (ppp64.ac2.56k.execulink.com [209.213.229.64]) by s-hertogenbosch.execulink.net (8.11.6/8.11.6) with ESMTP id i4JCOJb26146; Wed, 19 May 2004 08:24:19 -0400 Received: from localhost (mskala@localhost) by diamond.ansuz.sooke.bc.ca (8.10.2/8.10.2) with ESMTP id i4J2MBZ10835; Tue, 18 May 2004 22:22:11 -0400 Date: Wed, 19 May 2004 12:24:00 -0000 From: mskala@ansuz.sooke.bc.ca To: Eric McDonald cc: xconq7@sources.redhat.com Subject: Re: (remove) doesn't work In-Reply-To: <1084926540.1485.53.camel@localhost.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004/txt/msg00344.txt.bz2 On Tue, 18 May 2004, Eric McDonald wrote: > So, I guess the questions are, should it be able to remove lists? (It > would certainly be nice, since that is the way most people, myself > included, would want to use it) And, if so, how difficult would that > functionality be to add into the GDL parser? Hopefully someone will have > some insight into these questions, because otherwise I am going to have > to do some more "context gathering". It looks to me like it would be pretty easy to modify the eval() function near line 1432 of lisp.c, where it calls remove_from_list(), to detect when the thing being removed is a list, and in that case iterate over it. What concerns me is that this looks like the sort of thing that could have wacky side effects if modified, because even though the code looks straightforward right there, it seems to tie into LISP stuff that I don't understand. -- Matthew Skala mskala@ansuz.sooke.bc.ca Embrace and defend. http://ansuz.sooke.bc.ca/