From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Re: eval-when-compile & cl Date: 28 Oct 2003 15:10:35 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1067379035.1201.159.camel@turtle.as.arizona.edu> References: <1067283953.26709.102.camel@turtle.as.arizona.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067379207 16598 80.91.224.253 (28 Oct 2003 22:13:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2003 22:13:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 28 23:13:25 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEc5d-0006XX-00 for ; Tue, 28 Oct 2003 23:13:25 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEc5c-0000JJ-00 for ; Tue, 28 Oct 2003 23:13:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEc3t-0005XT-El for emacs-devel@quimby.gnus.org; Tue, 28 Oct 2003 17:11:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEc3k-0005Uu-J8 for emacs-devel@gnu.org; Tue, 28 Oct 2003 17:11:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEc3E-00059c-NH for emacs-devel@gnu.org; Tue, 28 Oct 2003 17:11:27 -0500 Original-Received: from [128.196.211.142] (helo=biff.as.arizona.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEc2w-0004yM-Tj for emacs-devel@gnu.org; Tue, 28 Oct 2003 17:10:39 -0500 Original-Received: from turtle.as.arizona.edu (turtle.as.arizona.edu [128.196.208.207]) by biff.as.arizona.edu (8.11.6/8.11.6) with ESMTP id h9SMAZZ10229; Tue, 28 Oct 2003 15:10:35 -0700 Original-To: Stefan Monnier In-Reply-To: X-Mailer: Ximian Evolution 1.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17527 On Tue, 2003-10-28 at 14:18, Stefan Monnier wrote: > > A user testing a recent version of my IDLWAVE package found that 'cl is > > not correctly loaded when referenced as: > > (eval-when-compile (require 'cl)) > > The above code only ensures the package is loaded during compilation, > so it is useful if you use CL macros but is of no help for CL functions. Thanks for the explanation, Stefan. It sounds like it would be preferred to avoid loading 'cl. I found out that most RedHat distributions load 'cl via various bundled site-lisp files, hence my confusion regarding its implicit loading. What is the recommendation on the use of 'cl functions? JD