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; 15+ 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] 15+ messages in thread

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

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2095.1228610078.26697.help-gnu-emacs@gnu.org>
2008-12-07 10:01 ` Tracing what is loading Dmitry Dzhus
2008-12-07 13:10 ` Michael Heerdegen
2008-12-08  4:54   ` Harry Putnam
     [not found]   ` <mailman.2193.1228712089.26697.help-gnu-emacs@gnu.org>
2008-12-08 18:21     ` Michael Heerdegen
2008-12-08 20:09       ` Harry Putnam
2008-12-09  6:30       ` Harry Putnam
2008-12-10  2:56         ` Kevin Rodgers
2008-12-10  8:47           ` Harry Putnam
     [not found]           ` <mailman.2437.1228898847.26697.help-gnu-emacs@gnu.org>
2008-12-10 19:14             ` Michael Heerdegen
2008-12-11  1:46               ` Harry Putnam
2008-12-07  0:34 Harry Putnam
2008-12-07  9:58 ` Juanma Barranquero
2008-12-07 23:09   ` 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).