Article View: gnu.emacs.bug
Article #99386Re: Re: cl.el breaks 'member
From: Mike.Williams
Date: Tue, 18 Sep 1990 21:55
Date: Tue, 18 Sep 1990 21:55
23 lines
1798 bytes
1798 bytes
Thank you for your replies. You all said something to the effect that
`member' isn't defined in vanilla 18.55 Emacs. This confused me slightly,
as I had started up emacs with `-q', and `member' was there, as it always
had been. So I went grepping, and discovered that it was defined in a
site-local load file.
As suggested, I've defined my own version of `member' (called
`equal-member') which tests with `equal'. In the process, I discovered
that several other useful functions I had been using where site-local,
and hence non-portable. I'll have to be more careful in future :-)
I'd agree that the `member' function defined in doctor.el should be
renamed to `doctor-member'. Obviously, doing the same for the version in
cl.el would defeat the purpose, which is to provide many of the
functions of Common Lisp. However, I feel that something with the
functionality of `equal-member' is useful enough to be made standard ...
just a thought.
--
/-------------------- byrd@comp.vuw.ac.nz --------------------\
| Mike Williams, Victoria University of Wellington, Aotearoa. |
\------------ What's another word for Thesaurus? -------------/
Technical Details
Message-ID:
<9009182155.AA04674@kaukau.comp.vuw.ac.nz>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!COMP.VUW.AC.NZ!Mike.WilliamsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,ece3248edb24e98b X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-09-18 14:55:18 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!COMP.VUW.AC.NZ!Mike.Williams From: Mike.Williams@COMP.VUW.AC.NZ Newsgroups: gnu.emacs.bug Subject: Re: Re: cl.el breaks 'member Message-ID: <9009182155.AA04674@kaukau.comp.vuw.ac.nz> Date: 18 Sep 90 21:55:18 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 Posted: Tue Sep 18 22:55:18 1990