[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tracing what is loading
From: |
Michael Heerdegen |
Subject: |
Re: Tracing what is loading |
Date: |
Mon, 08 Dec 2008 19:21:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Please note that there already _is_ a message for every file loaded. But
because the *Messages* buffer only shows the last 50 (or so) messages,
you can't see them because starting up causes quite more messages.
Indeed all you need is `load-history'. Due to the internal structure of
lists, the last item belongs to the first load file and vice versa, so you
must read it bottom up.
I have written a command which only shows the files, in the right order:
(defun list-load-files () (interactive)
(with-current-buffer
(get-buffer-create "*Load History*")
(erase-buffer)
(insert (format "%s" "Load History\n============\n\n"))
(mapc
(lambda (x) (insert (format "%s\n" (car x))))
(reverse load-history))
(pop-to-buffer (current-buffer))))
You can eval it with M-:. Call it with M-x list-load-files.
The listing should cover all lisp files ever loaded after startup.
Re: Tracing what is loading, Harry Putnam, 2008/12/07
Re: Tracing what is loading, Dmitry Dzhus, 2008/12/07
Re: Tracing what is loading, Michael Heerdegen, 2008/12/07
- Re: Tracing what is loading, Harry Putnam, 2008/12/07
- Message not available
- Re: Tracing what is loading,
Michael Heerdegen <=
- Re: Tracing what is loading, Harry Putnam, 2008/12/08
- Re: Tracing what is loading, Harry Putnam, 2008/12/09
- Re: Tracing what is loading, Kevin Rodgers, 2008/12/09
- Re: Tracing what is loading, Harry Putnam, 2008/12/10
- Message not available
- Re: Tracing what is loading, Michael Heerdegen, 2008/12/10
- Re: Tracing what is loading, Harry Putnam, 2008/12/10