unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Tracing what is loading
@ 2008-12-07  0:34 Harry Putnam
  2008-12-07  9:58 ` Juanma Barranquero
  0 siblings, 1 reply; 13+ messages in thread
From: Harry Putnam @ 2008-12-07  0:34 UTC (permalink / raw)
  To: help-gnu-emacs

I hope I've used good judgement here.  I'm running 23 but the question
is so basic I thought better to keep the line noise off the devel list
and ask here.

How can I ensure that some specific code of my choosing is loaded at
the earliest possible point when emacs starts.

What I want to do is load something like this:

;;[Tip from Kai G] make loaded files give a message
 (defadvice load (before debug-log activate)
(message "Now loading: %s" (locate-library (ad-get-arg 0))))

That will tell exactly what is loading and in what order.

Maybe there is a better or hopefully simpler way like possibly
compiling something directly into the binary when it is compiled.





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-12-08  7:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07  0:34 Tracing what is loading Harry Putnam
2008-12-07  9:58 ` Juanma Barranquero
2008-12-07 11:22   ` speedbar question Maindoor
2008-12-07 15:21     ` Drew Adams
2008-12-07 15:34       ` Maindoor
2008-12-07 17:10         ` Drew Adams
2008-12-08  5:42           ` Maindoor
2008-12-08  7:06             ` Speedbar is messed up Maindoor
2008-12-08  7:11               ` Maindoor
2008-12-08  5:46           ` speedbar question Maindoor
2008-12-07 23:09   ` Tracing what is loading Harry Putnam
2008-12-08  0:41     ` Juanma Barranquero
2008-12-08  4:46       ` Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).