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

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

Re: Get report on which files are loading


From: Harry Putnam
Subject: Re: Get report on which files are loading
Date: Mon, 19 May 2003 16:32:01 -0700
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Kevin Rodgers <ihs_4664@yahoo.com> 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





reply via email to

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