From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: cl-macs and (require 'cl) Date: Tue, 30 Jun 2009 23:11:07 +0200 Message-ID: References: <54960.130.55.118.19.1246396027.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246396345 29410 80.91.229.12 (30 Jun 2009 21:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2009 21:12:25 +0000 (UTC) Cc: Emacs-Devel devel To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 30 23:12:18 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLkcf-00071R-Ta for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 23:12:15 +0200 Original-Received: from localhost ([127.0.0.1]:48126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLkce-0006Qt-9k for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 17:12:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLkbi-0005gD-BJ for emacs-devel@gnu.org; Tue, 30 Jun 2009 17:11:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLkbd-0005Zr-Mz for emacs-devel@gnu.org; Tue, 30 Jun 2009 17:11:13 -0400 Original-Received: from [199.232.76.173] (port=49752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLkbd-0005ZY-BK for emacs-devel@gnu.org; Tue, 30 Jun 2009 17:11:09 -0400 Original-Received: from mail-bw0-f225.google.com ([209.85.218.225]:36503) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLkbc-0006Qh-NE for emacs-devel@gnu.org; Tue, 30 Jun 2009 17:11:08 -0400 Original-Received: by bwz25 with SMTP id 25so466506bwz.42 for ; Tue, 30 Jun 2009 14:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CC35qV19ALBwda7IRPuucFzdS3QkG41W/pfJLxLhlTk=; b=ZS7OJOMqB+OqCN1bt3uXnSBw0namTve8QEzH7RxXXq034TMd0TaBG1g30Jp2aGcwMD v15H4WQ9KDVy0nzsPwbloY0NtEEOaZS+1qqKHFIJhAG7NeCpyw4vGc3rdy7KvEStsR4l AQAZ4ULR+xpcvUyGwqEFOwaqfTjqk7yGWtJu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PbNX8jOI0GDioRMrKc0NlCv7XqXk4nGFoiVyolL7G/5M4dUVVEgYRHMa4TGvEtePnw qoRYN7t5hLPITMF6V1jrY7Jd4qW6DwjOl9ww7170UjhUjXrj7AMHqKZV7EUy5W0KENGu +z7sBL4hTdRA6lR/FMkq3kcGnS9MpwbUCZMN4= Original-Received: by 10.239.177.73 with SMTP id u9mr694084hbf.127.1246396267471; Tue, 30 Jun 2009 14:11:07 -0700 (PDT) In-Reply-To: <54960.130.55.118.19.1246396027.squirrel@webmail.lanl.gov> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111840 Archived-At: On Tue, Jun 30, 2009 at 11:07 PM, Davis Herring wrote: >> How is cl-macs.el supposed to be loaded? cl-macs.el has a (require >> 'cl) in it. Is that a bug or? > > If you do the recommended "(eval-when-compile (require 'cl))" in your cod= e > and then use only macros from the CL package, the compiled file has > already had the macros expanded and contains no references to objects in > the CL package or to the 'cl symbol. =C2=A0So it doesn't matter what's in > cl-macs.el. > > Davis The reason I am asking is that eieio.el in CEDET (which is going to be included in Emacs soon) has this code (require 'cl) (load "cl-macs" nil t) ; No provide in this file. Both lines seems wrong to me, but I do not know how it should look.