From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Get report on which files are loading Date: Sun, 18 May 2003 17:45:08 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84bry0qmwr.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053273097 15696 80.91.224.249 (18 May 2003 15:51:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 May 2003 15:51:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun May 18 17:51:36 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19HQRk-00044r-00 for ; Sun, 18 May 2003 17:51:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HQQl-0004pv-00 for gnu-help-gnu-emacs@m.gmane.org; Sun, 18 May 2003 11:50:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!p50877b98.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: p50877b98.dip.t-dialin.net (80.135.123.152) Original-X-Trace: fu-berlin.de 1053272716 27481649 80.135.123.152 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:kaQRt2KNp5GHgA5UQz15Zm4HLcg= Original-Xref: shelby.stanford.edu gnu.emacs.help:113360 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9854 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9854 Harry Putnam writes: > I don't understand why. But to compensate for that lack of report I > put this at the end of site-start.el: > > (message "finished loading => /usr/local/share/emacs/site-lisp/site-start.el") (sit-for 1) > > What I wanted to know was how to change that line so I don't have to > put the absolute filename manually. In other words. How to make the > last `message' line above report absolute filename by itself > (message "finished loading => "(SOMETHING HERE TO REPORT FILE NAME) (sit-for 1)) Ah! That's what you want. Sorry, I misunderstood. I don't know how to find out the file name you're in. But you can add the full path of site-start.el, like so: (message "finished loading => %s" (locate-library "site-start")) -- This line is not blank.