From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to show which files loaded on startup?
Date: Thu, 3 Jul 2008 12:35:53 -0700 (PDT) [thread overview]
Message-ID: <556ddb3d-79ff-4e39-a78f-ce13cd945ef7@l28g2000prd.googlegroups.com> (raw)
In-Reply-To: 54841668-654a-409f-a80e-93dec9af8e97@z32g2000prh.googlegroups.com
another way to diagnose “.emacs” 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
∑ http://xahlee.org/
☄
On Jul 3, 9:31 am, ranchlan <ahl...@gmail.com> 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
prev parent reply other threads:[~2008-07-03 19:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 16:31 How to show which files loaded on startup? ranchlan
2008-07-03 17:59 ` Colin S. Miller
2008-07-03 19:38 ` Kevin Rodgers
2008-07-06 16:56 ` Lennart Borgman (gmail)
2008-07-03 18:55 ` Pascal J. Bourguignon
2008-07-03 19:35 ` Xah [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=556ddb3d-79ff-4e39-a78f-ce13cd945ef7@l28g2000prd.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.