From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: formido Newsgroups: gmane.emacs.help Subject: Re: How to Reduce Emacs Load Time Date: Sun, 31 Aug 2008 10:42:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <18aba2b0-4fc7-4588-b69f-d9f46b264b03@q26g2000prq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1220208046 3165 80.91.229.12 (31 Aug 2008 18:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 18:40:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 31 20:41:40 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 1KZrro-0002xC-6y for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Aug 2008 20:41:40 +0200 Original-Received: from localhost ([127.0.0.1]:37650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZrqp-0003or-8F for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Aug 2008 14:40:39 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o40g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 75.84.175.111 Original-X-Trace: posting.google.com 1220204559 30523 127.0.0.1 (31 Aug 2008 17:42:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 31 Aug 2008 17:42:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o40g2000prn.googlegroups.com; posting-host=75.84.175.111; posting-account=ivEBWwoAAAAvVw947tp2U-HBcoAwWEMu User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161810 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:57153 Archived-At: On Aug 31, 4:39=A0am, David wrote: > First, you should identify what parts of your .emacs take so long. You > can do this e.g. by starting emacs with "emacs -q", set up your > load-path, and then evaluate > > (benchmark-run > =A0 (require 'package)) Thanks very much for that. In this case, by inspection I can tell CEDET is a major culprit. > Essentially, yes. But maybe you "require" too much. My emacs startup > time is ~1sec, although I include large third party packages like CEDET > and Gnus. For example, for setting up Gnus, you should only require > 'gnus-load in your .emacs, which contains the proper autoloads. This > takes about 0.03 seconds on my machine. Mind telling me how you load CEDET? I just used instruction they gave-- you can see above what my *messages* looks like at init. > -David