From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: cc-mode loads lots of files. Date: 6 Jan 2007 11:13:40 +0100 Message-ID: <20070106112534.GA1555@muc.de> References: <17822.61494.192441.218823@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168078458 24946 80.91.229.12 (6 Jan 2007 10:14:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2007 10:14:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 06 11:14:16 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H38Z0-0000zO-Ji for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 11:14:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H38Yz-0007Vr-SB for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 05:14:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H38Yb-0007TJ-9R for emacs-devel@gnu.org; Sat, 06 Jan 2007 05:13:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H38Ya-0007Sf-4t for emacs-devel@gnu.org; Sat, 06 Jan 2007 05:13:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H38YZ-0007SE-HN for emacs-devel@gnu.org; Sat, 06 Jan 2007 05:13:43 -0500 Original-Received: from [193.149.48.1] (helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H38YZ-00046b-1X for emacs-devel@gnu.org; Sat, 06 Jan 2007 05:13:43 -0500 Original-Received: (qmail 65633 invoked by uid 3782); 6 Jan 2007 10:13:40 -0000 Original-Received: from acm.muc.de (p54A3F977.dip.t-dialin.net [84.163.249.119]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 06 Jan 2007 11:13:39 +0100 Original-Received: (qmail 1939 invoked by uid 1000); 6 Jan 2007 11:25:34 -0000 Original-Date: Sat, 6 Jan 2007 11:25:34 +0000 Original-To: Nick Roberts Content-Disposition: inline In-Reply-To: <17822.61494.192441.218823@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64867 Archived-At: 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.