public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: mskala@ansuz.sooke.bc.ca
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: xconq7@sources.redhat.com
Subject: Re: (remove) doesn't work
Date: Wed, 19 May 2004 12:24:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.21.0405182218410.9902-100000@diamond.ansuz.sooke.bc.ca> (raw)
In-Reply-To: <1084926540.1485.53.camel@localhost.localdomain>

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/

  reply	other threads:[~2004-05-19 12:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18 22:12 mskala
2004-05-18 22:26 ` mskala
2004-05-19  0:30 ` Eric McDonald
2004-05-19 12:24   ` mskala [this message]
2004-05-19 15:44     ` Jim Kingdon
2004-05-19 21:10       ` mskala
2004-06-08  3:10         ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0405182218410.9902-100000@diamond.ansuz.sooke.bc.ca \
    --to=mskala@ansuz.sooke.bc.ca \
    --cc=mcdonald@phy.cmich.edu \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).