From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: The doc-strings for car and cdr are insulting.
Date: Fri, 29 Oct 2004 12:12:07 +0200 [thread overview]
Message-ID: <05be01c4bda0$62b98940$0200a8c0@sedrcw11488> (raw)
In-Reply-To: E1CNOR7-000679-BR@fencepost.gnu.org
----- Original Message -----
From: "Richard Stallman" <rms@gnu.org>
To: "Alan Mackenzie" <acm@muc.de>
: How about something like the following, changing "LIST" to "CONS", and
: using "lhs" and "rhs":
:
: "car is a built-in function.
: (car CONS)
:
: Return the \"left hand side\" of CONS. If CONS is nil, return nil.
: If CONS is a list, the car is its first element.
: Error if arg is not nil and not a cons cell. See also `car-safe'."
:
: and
:
: "cdr is a built-in function.
: (cdr CONS)
:
: Return the \"right hand side\" of CONS. If CONS is nil, return nil.
: If CONS is a list, the cdr is the list without its first element.
: Error if arg is not nil and not a cons cell. See also `cdr-safe'."
:
: These are good.
As someone who just recently learned elisp I have to agree. Much better than
the old version. It was just by chance I happened to find out about CONS.
(Like most "users" I only read the manual when I have too ;-) This will be a
quicker road to learn.
Actually I would like some links saying for more info see the Elisp Info
pages, pointing to some relevant page there. (But I guess that is not
something for now.)
- Lennart
next prev parent reply other threads:[~2004-10-29 10:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1CMlLW-0000cN-HD@fencepost.gnu.org>
2004-10-27 18:56 ` The doc-strings for car and cdr are insulting Alan Mackenzie
2004-10-27 23:35 ` Luc Teirlinck
2004-10-27 23:40 ` Luc Teirlinck
2004-10-28 10:44 ` David Kastrup
2004-10-29 4:32 ` Richard Stallman
2004-10-29 10:12 ` Lennart Borgman [this message]
2004-10-29 15:32 ` Kevin Rodgers
2004-10-30 0:21 ` Chris Smith
[not found] <mailman.5125.1098725950.2017.bug-gnu-emacs@gnu.org>
2004-10-25 21:28 ` Kevin Rodgers
[not found] ` <mailman.5162.1098740195.2017.bug-gnu-emacs@gnu.org>
2004-10-26 19:49 ` Alan Mackenzie
2004-10-25 17:33 Alan Mackenzie
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='05be01c4bda0$62b98940$0200a8c0@sedrcw11488' \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@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.