From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "mitchell_laks" Newsgroups: gmane.emacs.help Subject: faster emacs startup, can I postpone package loading? Date: 2 Jan 2006 12:27:52 -0800 Organization: http://groups.google.com Message-ID: <1136233672.096023.296660@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1136233723 30059 80.91.229.2 (2 Jan 2006 20:28:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Jan 2006 20:28:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 02 21:28:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EtWIH-00012v-Gv for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jan 2006 21:28:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtWJs-0001fv-47 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jan 2006 15:30:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 91 Original-NNTP-Posting-Host: 68.237.226.229 Original-X-Trace: posting.google.com 1136233677 31433 127.0.0.1 (2 Jan 2006 20:27:57 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 2 Jan 2006 20:27:57 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=68.237.226.229; posting-account=yrrcewwAAABaVs6jonfP35QR-Ku0nC6T Original-Xref: shelby.stanford.edu gnu.emacs.help:136736 Original-To: help-gnu-emacs@gnu.org 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:32355 Archived-At: Hi, I run debian and use emacs as my editor. On some systems I have many packages that customize emacs for their own purposes. These packages include such things as eieio, macsyma cedet-common tex etc. On some of these systems the load process significantly slows down the boot process. While emacs on some systems is immediately there, here it can take 4 seconds (gasp). On other systems I have with less 'crud' (extraordinary software that I do use occassionally), it comes up faster than a rabbit. As fast as (shudder) vi. (I wrote my thesis using vi, a long ways ago, and don't want to go that way again). (I originally was going to write that it takes 10 seconds to boot, but I solved that problem when I realized that emacs was doing a reverse dns lookup and it went down to 4 seconds as soon as I added the workstation ip address itself to the /etc/hosts file). When I look in the *Messages* buffer I see the following load list (see below). Now all this is by virtue of Debian packaging adding loads. I did not really modify the .emacs file too much. Is there some simple way that I can make all this (exciting) loading take place in the few seconds after I get my prompt and am working on my files? Note that I am a lisp newbie, I can barely car, cdr and setq, though I own SICP, Lispcraft, On Lisp, Common Lisp and even once printed out the gnu emacs-lisp manual.... :) Thanks! Mitchell Laks Loading 50a2ps (source)...done Loading 50aribas (source)...done Loading 50auctex (source)...done Loading 50autoconf (source)...done Loading 50cedet-common (source)... Loading advice...done Loading 50cedet-common (source)...done Loading 50dictionaries-common (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading 50dictionaries-common (source)...done Loading 50eieio (source)...done Loading 50ess (source)... Loading regexp-opt...done Loading mule-util...done Loading ange-ftp...done Loading 50ess (source)...done Loading 50ftnchek (source)...done Loading 50gri-el (source)...done Loading 50gri-html-doc (source)...done Loading 50maxima-emacs (source)...done Loading 50mgp (source)...done Loading 50mpqc-support (source)...done Loading 50nowebm (source)...done Loading 50octave (source)...done Loading 50preview-latex (source)...done Loading 50tramp (source)...done Loading 50yacas (source)...done Loading 50yorick-auto (source)...done Loading 51ede (source)...done Loading 51preview-latex (source)... Loading preview-latex...done Loading 51preview-latex (source)...done Loading 51speedbar (source)...done Loading 52semantic (source)... Loading derived...done Loading /usr/lib/emacs/21.4/i386-linux/fns-21.4.1-x.el (source)...done Loading semantic-idle (source)...done [2 times] Loading ede-speedbar (source)...done Loading 52semantic (source)...done Loading 53cedet-contrib (source)...done Loading 53cogre (source)...done Loading 55ecb (source)... "/usr/share/emacs21/site-lisp/cedet-common/" added to `load-path' Error while loading 55ecb Loading semantic-el (source)...done For information about the GNU Project and its goals, type C-h C-p. call-interactively: Beginning of buffer [14 times] call-interactively: End of buffer