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

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

Re: log full path of magically loaded files?


From: W. Greenhouse
Subject: Re: log full path of magically loaded files?
Date: Tue, 26 Mar 2013 14:48:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Dan,

danmbox@gmail.com writes:

> I suspect emacs is loading the wrong version of some file (an
> autoloaded major mode). However, I see no relevant trace in *Messages*
> when opening a file that triggers the autoload.
>
> If I (require 'some-mode) (from the *scratch* buffer), still nothing
> appears in *Messages*. If I (load "some-mode"), I finally get the
> useless
>
> Loading some-mode... done.
>
> (useless because I want the full path). Is there a way to enable more
> extensive logging of implicit emacs actions?

The `load-history' variable documents every `load' and `require' event
(and a lot else besides), with full paths, back to the initialization of
Emacs.

Since that's probably *too much* information, a quicker path to the
problem you're actually trying to tackle with relation to major modes is
M-x list-load-path-shadows, which shows you when the same library was
eligible to be loaded from more than one directory and some versions are
now being ignored due to the load-path setting (i.e. "shadowed").

Best,
Will

-- 
BOFH excuse #378:

Operators killed by year 2000 bug bite.




reply via email to

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