help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to show which files loaded on startup?


From: Pascal J. Bourguignon
Subject: Re: How to show which files loaded on startup?
Date: Thu, 03 Jul 2008 20:55:27 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)

ranchlan <address@hidden> 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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]