From: Richard Stallman <rms@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: CL function's docstrings
Date: Wed, 18 May 2005 18:45:34 -0400 [thread overview]
Message-ID: <E1DYXIE-0006Ih-3R@fencepost.gnu.org> (raw)
In-Reply-To: <jwvr7g5a72y.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Tue, 17 May 2005 17:15:59 -0400)
Thanks to the wonders of dynamic scoping this actually changes the
semantics subtly. In most cases you'll never be able to tell the
difference, but when higer-order functions are involved it can be a problem;
so if you do that, be careful.
We never told users it was ok to use these as free variables, so we
don't have to worry about that issue. However, when changing the arg
names of a function in CL that calls other functions in CL, it would
be good to verify that the called functions don't use them as
free variables.
(It would be unclean to use them that way without defvar'ing them.)
next prev parent reply other threads:[~2005-05-18 22:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-16 23:52 CL function's docstrings Juanma Barranquero
2005-05-17 21:15 ` Stefan Monnier
2005-05-18 12:13 ` Kim F. Storm
2005-05-18 12:50 ` Juanma Barranquero
2005-05-18 22:45 ` Richard Stallman [this message]
2005-05-19 13:04 ` Stefan Monnier
2005-05-18 5:20 ` Richard Stallman
2005-05-18 8:09 ` Juanma Barranquero
2005-05-19 6:48 ` Richard Stallman
2005-05-19 23:57 ` Juanma Barranquero
2005-05-21 4:47 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1DYXIE-0006Ih-3R@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).