unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: How to show which files loaded on startup?
Date: Thu, 03 Jul 2008 18:59:02 +0100	[thread overview]
Message-ID: <486d1365$0$90263$14726298@news.sunsite.dk> (raw)
In-Reply-To: <54841668-654a-409f-a80e-93dec9af8e97@z32g2000prh.googlegroups.com>

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

C-h v features RET
will give a list of the features loaded.
This is a .el or .elc, if it called  'provide.

M-: (feature-file 'foo) RET
will tell you which file provided feature "foo"

It will be in one of the directories listed in
C-h v load-path RET
but I can't find an easy way to determine which one it is.

HTH,
Colin S. Miller





-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.


  reply	other threads:[~2008-07-03 17:59 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 [this message]
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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='486d1365$0$90263$14726298@news.sunsite.dk' \
    --to=no-spam-thank-you@csmiller.demon.co.uk \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).