unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: CL function's docstrings
Date: Thu, 19 May 2005 09:04:29 -0400	[thread overview]
Message-ID: <87y8ab74iq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1DYXIE-0006Ih-3R@fencepost.gnu.org> (Richard Stallman's message of "Wed, 18 May 2005 18:45:34 -0400")

> 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.)

Defvaring is not necessary in cases such as:

   (let ((nondefvarred-variable 0))
     (mapcar* (lambda (x) (incf nondefvarred-variable))
              somelist))


-- Stefan

  reply	other threads:[~2005-05-19 13:04 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
2005-05-19 13:04     ` Stefan Monnier [this message]
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=87y8ab74iq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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).