From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Get report on which files are loading Date: Mon, 19 May 2003 16:32:01 -0700 Organization: Still searching... Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3EC92D83.4060109@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053391430 20402 80.91.224.249 (20 May 2003 00:43:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 00:43:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 02:43:49 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 19HvEL-0005Iw-00 for ; Tue, 20 May 2003 02:43:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Huyf-00049f-EJ for gnu-help-gnu-emacs@m.gmane.org; Mon, 19 May 2003 20:27:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Hutn-0002qO-Cf for help-gnu-emacs@gnu.org; Mon, 19 May 2003 20:22:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Hu7g-0005RY-FN for help-gnu-emacs@gnu.org; Mon, 19 May 2003 19:32:55 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Hu7V-0005QH-UT for help-gnu-emacs@gnu.org; Mon, 19 May 2003 19:32:42 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Hu5C-0006GK-00 for ; Tue, 20 May 2003 01:30:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Hu56-0006Fn-00 for ; Tue, 20 May 2003 01:30:12 +0200 Original-Lines: 19 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:xfbYo+ap+IqoHDHkZ4EffiPMcus= 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:9903 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9903 Kevin Rodgers writes: > Harry Putnam wrote: > >> (defadvice load (before debug-log activate) >> (message "(Tip from Kai G): Now loading: %s" (locate-library (ad-get-arg 0)))) >> Well, that gives absolute file names alright but I think I must have >> confused the issue in my previous post. The defadvice DOES NOT >> report the loading of site-start.el even when the defadvice is >> preloaded from the command line with >> emacs -l whats_loading.el > > Because command line options like -l whats_loading.el are processed after the > site-start.el, ~/.emacs, and default.el init files. See the "Action Arguments" > and "Init File" nodes of the Emacs manual. Thanks Kevin, yes I had finally smartened up and put a lisp message at beginning and end of site-start.el so I saw exactly what you point out. A file loaded from the command line is still read after site-start.el