[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CC mode loads CL
From: |
Eli Zaretskii |
Subject: |
Re: CC mode loads CL |
Date: |
13 Jan 2004 07:50:23 +0200 |
> From: Martin Stjernholm <address@hidden>
> Date: Tue, 13 Jan 2004 02:23:30 +0100
>
> 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.)
Personally, warnings do not bother me as long as they aren't too many
(some packages evidently cannot be compiled without warnings without
investing a lot of effort in restructuring the code).
What does annoy me in the CVS is that apparently "make recompile" in
the lisp subdirectory doesn't DTRT for CC Mode, as afterwards I get
warnings about version mismatch between different cc-*.elc files quite
frequently. ("make bootstrap" solves that, but I don't like to
bootstrap unnecessarily.) I find myself in the need to manually
compile some of the cc-*.el files, which isn't easy, since the warning
message doesn't give any useful hints as to the files that need to be
recompiled.
> 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.
FWIW, Eshell solves similar problems nicely, although it's possible
that CC Mode is more complex.
- 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, 2004/01/12
- Re: CC mode loads CL,
Eli Zaretskii <=
- 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
- Re: CC mode loads CL, Richard Stallman, 2004/01/10