From: Lennart Borgman <lennart.borgman@gmail.com>
To: herring@lanl.gov
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: cl-macs and (require 'cl)
Date: Tue, 30 Jun 2009 23:11:07 +0200 [thread overview]
Message-ID: <e01d8a50906301411q6c1f9341n6090eb1df8f13889@mail.gmail.com> (raw)
In-Reply-To: <54960.130.55.118.19.1246396027.squirrel@webmail.lanl.gov>
On Tue, Jun 30, 2009 at 11:07 PM, Davis Herring<herring@lanl.gov> 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 code
> 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. So 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.
next prev parent reply other threads:[~2009-06-30 21:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 19:59 cl-macs and (require 'cl) Lennart Borgman
2009-06-30 21:07 ` Davis Herring
2009-06-30 21:11 ` Lennart Borgman [this message]
2009-07-01 6:09 ` Stephen J. Turnbull
2009-07-01 9:43 ` Lennart Borgman
2009-07-01 11:25 ` Eric M. Ludlam
2009-06-30 21:12 ` Stefan Monnier
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=e01d8a50906301411q6c1f9341n6090eb1df8f13889@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=herring@lanl.gov \
/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).