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: eval-when-compile & cl Date: 27 Oct 2003 12:45:53 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <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 1067284232 13125 80.91.224.253 (27 Oct 2003 19:50:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2003 19:50:32 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Oct 27 20:50:26 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 1AEDNi-0005JS-00 for ; Mon, 27 Oct 2003 20:50:26 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEDNi-0003J8-00 for ; Mon, 27 Oct 2003 20:50:26 +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 1AEDKZ-0003Rl-Su for emacs-devel@quimby.gnus.org; Mon, 27 Oct 2003 14:47:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEDK7-0003QG-EO for emacs-devel@gnu.org; Mon, 27 Oct 2003 14:46:43 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEDJV-0003AI-UK for emacs-devel@gnu.org; Mon, 27 Oct 2003 14:46:38 -0500 Original-Received: from [128.196.211.142] (helo=biff.as.arizona.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEDJS-00035v-7n for emacs-devel@gnu.org; Mon, 27 Oct 2003 14:46:02 -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 h9RJjrZ13845; Mon, 27 Oct 2003 12:45:53 -0700 Original-To: Stefan Monnier 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:17471 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17471 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)) This is a vestige from long ago, and I admit I'm not sure of the intended function of eval-when-compile. All versions of GNU Emacs I've found seem to load cl implicitly, making it a moot point. However, his very new Emacs version did not. Was this an intentional change? Is there a reason eval-when-compile wouldn't load cl, even for compiled versions of the files? He was able to remove the eval-when-compile to get it working, but I'm not sure what advantages/disadvantages there are to this solution. Thanks, JD