[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CC mode loads CL
From: |
Martin Stjernholm |
Subject: |
Re: CC mode loads CL |
Date: |
Tue, 13 Jan 2004 02:23:30 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) |
Dave Love <address@hidden> wrote:
> Then I think it's misguided. Files should be (batch) compiled
> separately, as with other packages.
It's a symptom of lack of control facilities in the byte compiler, at
least up to and including Emacs 21.3 (I haven't yet investigated the
byte compiler changes in cvs). The reason for most of the cc-bytecomp
stuff is to silence various warnings about unbound variables and
functions, which would otherwise be unavoidable due to the support for
several different (X)Emacs versions. (There are apparently changes in
the cvs version of the byte compiler that make this not work as
intended since there are numerous warnings there.)
Another issue it solves (along with the load-path blobs in the
beginning of each cc-*.el file) is, as Alan said, to avoid mixing in
files from older versions of CC Mode that might reside in the
load-path. It'd be nice with a variant of `require' that only looks in
the same directory as the current file.
I'd be happy to use better tools to cope with these things if/when
they are available. Unfortunately backward compatibility doesn't allow
me to remove cc-bytecomp right away when that happens.
Of course, when CC Mode is distibuted with (X)Emacs, all of these
become non-issues, but I don't want to maintain different sources.
> I don't see why CC should be different; I speak from experience with
> Gnus and W3, amongst others.
I looked at Gnus a bit before I came up with cc-bytecomp. As far as I
remember it didn't address the issues above at all.
- CC mode loads CL, Dave Love, 2004/01/06
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/06
- Re: CC mode loads CL, Dave Love, 2004/01/07
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/07
- Re: CC mode loads CL, Dave Love, 2004/01/08
- Re: CC mode loads CL, Alan Mackenzie, 2004/01/09
- Re: CC mode loads CL, Dave Love, 2004/01/12
- Re: CC mode loads CL,
Martin Stjernholm <=
- Re: CC mode loads CL, Eli Zaretskii, 2004/01/13
- Re: CC mode loads CL, Richard Stallman, 2004/01/14
- Re: CC mode loads CL, Dave Love, 2004/01/15
- Re: CC mode loads CL, Martin Stjernholm, 2004/01/17
- Re: CC mode loads CL, Eli Zaretskii, 2004/01/17
- Re: CC mode loads CL, Eli Zaretskii, 2004/01/17
- Re: CC mode loads CL, Dave Love, 2004/01/15
- Re: CC mode loads CL, Luc Teirlinck, 2004/01/09
- Re: CC mode loads CL, Miles Bader, 2004/01/10
- Re: CC mode loads CL, Dave Love, 2004/01/12