From: Miles Bader <miles@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Setting the nth element of a list
Date: Sat, 06 Jun 2009 15:01:27 +0900 [thread overview]
Message-ID: <87tz2t3npk.fsf@catnip.gol.com> (raw)
In-Reply-To: 0d61cd71-9116-45e5-8ac0-dbe62514cec8@t10g2000vbg.googlegroups.com
bigfaceworm <bigfaceworm@gmail.com> writes:
> Using widely available, standard libraries (such as 'cl) is what leads
> to more readable code. Such libraries are the result of many years of
> experience by people who know the language intimately.
You have to be careful with cl.el. In general if there's an
"elisp-native" way to do something (like `aset'), it's probably a better
idea to use that instead.
While I like common-lisp a lot, cl.el's attempt to fit it into elisp
doesn't always succeed very well (though the authors went to huge
lengths trying). You can't just assume it's all good -- parts of it are
very useful, but parts are just horrid (e.g., anything related to
multiple-values, or that results in runtime-evaluated keyword
arguments).
-Miles
--
`To alcohol! The cause of, and solution to,
all of life's problems' --Homer J. Simpson
next prev parent reply other threads:[~2009-06-06 6:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 21:08 Setting the nth element of a list Nordlöw
2009-06-04 22:06 ` Drew Adams
2009-06-04 22:35 ` Lennart Borgman
2009-06-05 2:25 ` Barry Margolin
2009-06-05 13:06 ` Nordlöw
2009-06-05 13:10 ` Nordlöw
2009-06-05 13:25 ` Pascal J. Bourguignon
2009-06-05 13:57 ` Nordlöw
2009-06-05 15:08 ` Pascal J. Bourguignon
2009-06-05 16:56 ` bigfaceworm
2009-06-06 6:01 ` Miles Bader [this message]
2009-06-05 20:51 ` Barry Margolin
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=87tz2t3npk.fsf@catnip.gol.com \
--to=miles@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.