[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CC mode loads CL
From: |
Luc Teirlinck |
Subject: |
Re: CC mode loads CL |
Date: |
Sun, 11 Jan 2004 19:02:53 -0600 (CST) |
Martin Stjernholm wrote:
cc-langs is not even loaded when CC Mode is used byte compiled.
Everything in it is just an elaborate system to build various
constants at compile time.
I noticed that later. I should have looked at things more carefully
before making premature claims.
However, "cc-defs.el" says that it must be loaded at runtime and
contains:
(cc-external-require 'cl)
I byte-compiled that form and from looking at the .elc file, it seem
that the only purpose of that form is to tell people using Emacs 19.28
or earlier that they can forget about it.
Loading a file containing nothing but the byte-compiled form
`(cc-external-require 'cl)' does load cl.
Since people using 21.3.50 or people who will be using 21.4 or later
are definitely not using 19.28 or earlier would it be OK to replace
the (cc-external-require 'cl) in the Emacs CVS version of cc-defs.el
with a simple: (eval-when-compile (require 'cl)) (or similar)?
I checked that with this change cc-mode no longer loads cl.
Or does cc-mode really need CL functions at runtime?
Or am I actually doing something wrong?
Sincerely,
Luc.
- Re: CC mode loads CL, (continued)
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/10
- Re: CC mode loads CL, Martin Stjernholm, 2004/01/11
- Re: CC mode loads CL, Miles Bader, 2004/01/11
- Re: CC mode loads CL, Martin Stjernholm, 2004/01/11
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/11
- Re: CC mode loads CL, Richard Stallman, 2004/01/12
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/12
- Re: CC mode loads CL, Dave Love, 2004/01/15
- Re: CC mode loads CL,
Luc Teirlinck <=
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/11
- Re: CC mode loads CL, Martin Stjernholm, 2004/01/15
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/15
- Re: CC mode loads CL, Miles Bader, 2004/01/15
- Re: CC mode loads CL, Martin Stjernholm, 2004/01/17
- Re: CC mode loads CL, Miles Bader, 2004/01/17
- Re: CC mode loads CL, Richard Stallman, 2004/01/17
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/17
- Re: CC mode loads CL, Eli Zaretskii, 2004/01/18
- Re: CC mode loads CL, Richard Stallman, 2004/01/18