help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacing a certain element in a list with another


From: Klaus Berndl
Subject: Re: replacing a certain element in a list with another
Date: 30 Sep 2003 12:19:15 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

On 30 Sep 2003, David Kastrup wrote:

>  Klaus Berndl <klaus.berndl@sdm.de> writes:
>  
> > On 30 Sep 2003, David Kastrup wrote:
> > 
> > >  Klaus Berndl <klaus.berndl@sdm.de> writes:
> > >  
> > > > Suppose i have the following list:
> > > > 
> > > > '(a b c d)
> > > > 
> > > > What is a good way to replace one of the list-elements with another,
> > > > so foe example replacing the 'c with 'e?
> > >  
> > > > But: i do not want using any c-functions, so i would prefer a
                                     ^
  should be cl ----------------------´                                    


> > > > solution without using `substitute'!
> > >  
> > >  Uh, what?
> > 
> > This comes from a recommendation in the elisp-info-manual (Standards -->
> > Coding conventions"):
> > 
> >    * Please don't require the `cl' package of Common Lisp extensions
> >    at run time.
>  
>  What do c-functions have to do with cl?

Hoops, sorry, my fault, see above: I meant cl-functions, i.e. functions of
the cl-package! Was only a typo but with complete misleading result ;-)

Klaus

-- 
Klaus Berndl                    mailto: klaus.berndl@sdm.de
sd&m AG                         http://www.sdm.de
software design & management    
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220


reply via email to

[Prev in Thread] Current Thread [Next in Thread]