From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: How to show which files loaded on startup? Date: Thu, 03 Jul 2008 20:55:27 +0200 Organization: Informatimago Message-ID: <87d4lux0f4.fsf@hubble.informatimago.com> References: <54841668-654a-409f-a80e-93dec9af8e97@z32g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215114071 12684 80.91.229.12 (3 Jul 2008 19:41:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 19:41:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 03 21:41:58 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 1KEUgj-0001Yp-CU for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jul 2008 21:41:53 +0200 Original-Received: from localhost ([127.0.0.1]:38769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEUfs-000672-Me for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jul 2008 15:41:00 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!newsfeed.straub-nv.de!feeder.erje.net!border1.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!feeder2-2.proxad.net!cleanfeed3-b.proxad.net!nnrp7-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:wi0prl45t5zfKDThyKwA9vYd3AI= Original-Lines: 39 Original-NNTP-Posting-Date: 03 Jul 2008 20:55:51 MEST Original-NNTP-Posting-Host: 88.182.134.169 Original-X-Trace: 1215111351 news-3.free.fr 14952 88.182.134.169:41614 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:159877 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:55229 Archived-At: ranchlan writes: > I am having problems with emacs taking a very long time to start (for > environment info see end of post). When I start it in a terminal > windows (nox) I get the "F1 *scratch*" screen right away but it takes > me about 70 seconds before the screen allows me to enter anything. > > However, when I start emacs with the "-q" option it starts instantly > (under one second). So, it appears that the slowness is due to > some .el or .elc file that emacs is loading when it starts. When you pass -q, emacs skips loading your dot file: ~/.emacs Edit it with C-x C-f ~/.emacs RET > I looked around and removed all the the files I thought might be > causing the problem but to no avail. So, what I would like to see is > exactly _which_ files emacs is loading when it starts. > > How can I generate such a list? (mapcar 'first load-history) > Environment information: > Debian Etch, GNU Emacs 21.4.1 But really why do you start emacs? I mean, more than once everytime you boot your computer, that is, given a Debian system, once every 18 months? Don't you use emacsclient? -- __Pascal Bourguignon__ http://www.informatimago.com/ "Debugging? Klingons do not debug! Our software does not coddle the weak."