unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: cc-mode loads lots of files.
Date: 6 Jan 2007 11:13:40 +0100	[thread overview]
Message-ID: <20070106112534.GA1555@muc.de> (raw)
In-Reply-To: <17822.61494.192441.218823@kahikatea.snap.net.nz>

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	other threads:[~2007-01-06 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06  0:41 cc-mode loads lots of files Nick Roberts
2007-01-06 10:13 ` Alan Mackenzie [this message]
2007-01-06 10:37 ` Andreas Schwab
2007-01-06 11:11   ` Nick Roberts

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=20070106112534.GA1555@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /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).