emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cc-mode loads lots of files.


From: Alan Mackenzie
Subject: Re: cc-mode loads lots of files.
Date: 6 Jan 2007 11:13:40 +0100
Date: Sat, 6 Jan 2007 11:25:34 +0000
User-agent: Mutt/1.5.9i

Hi, Nick!

On Sat, Jan 06, 2007 at 01:41:26PM +1300, Nick Roberts wrote:

> With current CVS Emacs if I open a C file in a buffer, I get:

> Loading cl-macs...done Loading bytecomp...done Loading byte-opt...done
> Loading cl-seq...done Loading cl-extra...done
 
> I don't know if this is due to the recent changes but do I really need
> all these just to look at a file? (apologies if it's been previously
> explained)
 
Oh no, not this one again!  I've already tried driving a wooden stake
through its heart to the requisite background of howling wolves at
midnight, and it still refuses to die.

In my Emacs 22 I don't experience this problem.  (And yes, it IS a
problem and shouldn't happen.)

Could you be specific about what you did - was it an Emacs -Q?  What, if
anything, CC Modish have you got in your .emacs and site-start.el, and
so on?  Is there anything noteworthy (?Local Variables:) about the
file.c you opened?

How did you build your cc-*.elc?  Can you reconstruct the order in which
you built them?  There are some intricate dependencies between the CC
Mode source files.

If you delete cc-*.elc (possibly saving them somewhere, so as not to
destroy the evidence), then rebuild them with

    M-0 M-x byte-recompile-directory
    
, or (from the command line):

   % ../../src/emacs -batch -Q -f batch-byte-compile cc-*.el

, does the problem go away?  If you do a clean build on your Emacs, is
the problem still there?

It would be nice to nail this problem down and kill it completely.

> Nick                                           http://www.inet.net.nz/~nickrob

-- 
Alan.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]