From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Tracing what is loading Date: Mon, 08 Dec 2008 19:21:03 +0100 Organization: Friedrich Schiller University Jena, Germany Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228763110 8772 80.91.229.12 (8 Dec 2008 19:05:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 19:05:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 20:06:14 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L9lPm-0000Sw-6H for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 20:05:16 +0100 Original-Received: from localhost ([127.0.0.1]:46385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9lOb-0004Cc-7i for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 14:03:53 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!feeder.erje.net!news-1.dfn.de!news.uni-jena.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: ppc228.mipool.uni-jena.de Original-X-Trace: lc03.rz.uni-jena.de 1228760463 16381 141.35.13.119 (8 Dec 2008 18:21:03 GMT) Original-X-Complaints-To: abuse@uni-jena.de Original-NNTP-Posting-Date: Mon, 8 Dec 2008 18:21:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:WyijGD4Bk4VEJSpphtN2YzUb98g= Original-Xref: news.stanford.edu gnu.emacs.help:165137 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60464 Archived-At: 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.