unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Paul Wallington <jpw@gnu.org>
Cc: kfogel@red-bean.com, emacs-devel@gnu.org
Subject: Re: VC-SVN problem
Date: Tue, 11 May 2004 08:50:41 +0100	[thread overview]
Message-ID: <E1BNS2D-00019c-00@indigo.shootybangbang.com> (raw)
In-Reply-To: <vt24qqovufe.fsf@zenia.home> (message from Jim Blandy on 10 May 2004 16:33:41 -0500)

> > Just checking: do you mean (eval-when-compile (require 'cl)) ?
> > 
> > (The cl package defines a compiler macro for `list*', and the elisp
> > manual's coding conventions say not to load cl at runtime.)
> 
> I've gotta be missing something obvious:

I don't think so.

> What do you do if your package actually uses functions from CL, not
> just macros?  Then CL must be loaded at runtime.

Well, some functions in the cl library have corresponding compiler
macros and you can use those without loading cl at runtime in addition
to its normal macros.  Also, by default the byte compiler issues
"function from cl package called at runtime" warnings now so
inadvertent use at runtime is easy to detect.

I guess whether to rewrite an existing package to avoid runtime use of
cl or to follow those conventions when developing a new package is up
to the maintainers of that package.

> Are such packages simply unsuitable for inclusion in the Emacs
> distribution?

Yes, I believe so.

Earlier in this thread RMS said that it's not acceptable for any
package in Emacs to require cl at runtime:
http://mail.gnu.org/archive/html/emacs-devel/2004-05/msg00506.html

  reply	other threads:[~2004-05-11  7:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-08  1:31 VC-SVN problem Shawn Boyette
2004-05-07 19:58 ` Karl Fogel
2004-05-08  2:26   ` Shawn Boyette
2004-05-09  0:16     ` Karl Fogel
2004-05-09  7:28       ` John Paul Wallington
2004-05-10 21:33         ` Jim Blandy
2004-05-11  7:50           ` John Paul Wallington [this message]
2004-05-11 12:23           ` Richard Stallman
2004-05-09  8:10       ` Miles Bader
2004-05-09 13:16       ` Thien-Thi Nguyen
2004-05-09 18:47       ` Richard Stallman
2004-05-09 18:25         ` Karl Fogel
2004-05-09 19:01         ` David Kastrup
2004-05-09 19:11           ` David Kastrup
2004-05-09 10:38   ` Richard Stallman
2004-05-10 18:22   ` Kevin Rodgers
2004-05-10 19:16     ` Stefan Monnier
2004-05-10 21:56       ` Miles Bader

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=E1BNS2D-00019c-00@indigo.shootybangbang.com \
    --to=jpw@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kfogel@red-bean.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).