From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Ludlam Newsgroups: gmane.emacs.help Subject: Re: How to Reduce Emacs Load Time Date: Mon, 08 Sep 2008 08:38:53 -0400 Organization: The MathWorks, Inc., Natick, MA 01760 Message-ID: References: <18aba2b0-4fc7-4588-b69f-d9f46b264b03@q26g2000prq.googlegroups.com> <87r686rwmj.fsf@hubble.informatimago.com> <522d43dc-04dd-4700-8064-d5b438339554@s20g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220880377 15673 80.91.229.12 (8 Sep 2008 13:26:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 13:26:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 15:27:05 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kcglg-0002aL-La for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 15:27:01 +0200 Original-Received: from localhost ([127.0.0.1]:53160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kcgkg-000319-Hg for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 09:25:58 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!transit3.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!newsfeed-00.mathworks.com!news.mathworks.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 75 Original-NNTP-Posting-Host: eludlam-deb4-64.dhcp.mathworks.com Original-X-Trace: fred.mathworks.com 1220877533 1533 144.212.107.52 (8 Sep 2008 12:38:53 GMT) Original-X-Complaints-To: news@mathworks.com Original-NNTP-Posting-Date: Mon, 8 Sep 2008 12:38:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:JNrDYP/JR51yraIomuPnpbMlpy0= Original-Xref: news.stanford.edu gnu.emacs.help:161991 X-Mailman-Approved-At: Mon, 08 Sep 2008 09:22:58 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57334 Archived-At: >>> formido seems to think that: >On Aug 31, 4:26 am, Nikolaj Schumacher wrote: > >Haha! I see others have mentioned cedet, too. That's the package >that's causing me the most pain. See, I just followed cedet's .emacs >setup >instructions, and I went with the whole kit and kaboodle by using the >load-excessive-helper-functions or whatever. My .emacs looks like: > >(load "lisp/cedet-1.0pre4/common/cedet.elc") >(semantic-load-enable-excessive-code-helpers) > >So, when Emacs starts up, the relevant sections of *messages* looks >like this: > >Loading lisp/cedet-1.0pre4/common/cedet.elc... >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/common/" added to `load- >path' >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/cogre" added to `load- >path' >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/ede" added to `load-path' >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/eieio" added to `load- >path' >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/semantic" added to `load- >path' >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/speedbar" added to `load- >path' >"/Users/formido/.emacs.d/lisp/cedet-1.0pre4/contrib" added to `load- >path' >Setting up cedet...done >Setting up cogre...done >Setting up ede... >Loading ede... >Loading ede-speedbar...done >Loading ede...done >Setting up ede...done >Setting up eieio...done >Setting up semantic...done >Setting up speedbar...done >Setting up cedet-contrib...done >Loading lisp/cedet-1.0pre4/common/cedet.elc...done >Loading semantic-idle...done >Loading senator...done > >WARNING: Probable vocabulary misuse ahead... > >I could set cedet to load when a feature I know about is activated, >like cc-mode, but I'm worried that with everything going on above, all >sorts of features and hooks are being set up that I'll then never find >out about. I would have thought that they'd just set up hooks to >autoload functions as necessary. Is all the above necessary just for >that? Hi, Those messages from CEDET are just pointing out what it's doing to your Emacs session. The "added to `load-path'" line means it checked some revision numbers, and decided to add something to your load path. This will help identify if you have multiple conflicting packages loaded. The "Setting up" lines means it is has pulled in the autoloads file for that package. That is pretty much the minimum required. If you then enabled any of the "global-...-mode" functions, that forces the package that contains the mode to load, in order to use that convenience function. Hope that helps Eric -- Eric Ludlam The MathWorks x 7556 eludlam@mathworks.com http://www.siege-engine.com http://www.mathworks.com