From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: How to show which files loaded on startup? Date: Thu, 3 Jul 2008 12:35:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: <556ddb3d-79ff-4e39-a78f-ce13cd945ef7@l28g2000prd.googlegroups.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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215114119 12843 80.91.229.12 (3 Jul 2008 19:41:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 19:41:59 +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:42:45 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 1KEUhR-0001qU-OU for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jul 2008 21:42:37 +0200 Original-Received: from localhost ([127.0.0.1]:39193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEUgb-0006bf-00 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jul 2008 15:41:45 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l28g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 24.6.97.120 Original-X-Trace: posting.google.com 1215113753 22836 127.0.0.1 (3 Jul 2008 19:35:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 3 Jul 2008 19:35:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l28g2000prd.googlegroups.com; posting-host=24.6.97.120; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159878 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:55230 Archived-At: another way to diagnose =E2=80=9C.emacs=E2=80=9D problem is to comment out = half of the file then restart. If still problem, then comment out half more, else, switch the last commented/uncommented. So each time, you narrow down my half. After just very few tries, you'll find your problem location. (on algorithmic efficiency, this is 1/2^n hehe) Xah =E2=88=91 http://xahlee.org/ =E2=98=84 On Jul 3, 9:31 am, ranchlan wrote: > 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. > > 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? > > Environment information: > Debian Etch, GNU Emacs 21.4.1