all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: How to show which files loaded on startup?
Date: Thu, 03 Jul 2008 20:55:27 +0200	[thread overview]
Message-ID: <87d4lux0f4.fsf@hubble.informatimago.com> (raw)
In-Reply-To: 54841668-654a-409f-a80e-93dec9af8e97@z32g2000prh.googlegroups.com

ranchlan <ahl456@gmail.com> 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."


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

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

  git send-email \
    --in-reply-to=87d4lux0f4.fsf@hubble.informatimago.com \
    --to=pjb@informatimago.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.