From: Dmitry Dzhus <dima@sphinx.net.ru>
To: help-gnu-emacs@gnu.org
Subject: Re: Tracing what is loading
Date: Sun, 07 Dec 2008 13:01:41 +0300 [thread overview]
Message-ID: <87ej0kz4l6.fsf@sphinx.net.ru> (raw)
In-Reply-To: mailman.2095.1228610078.26697.help-gnu-emacs@gnu.org
Harry Putnam wrote:
> 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.
>
>
>
See `emacs-startup-hook` and other (info "(elisp) Standard Hooks")
--
Happy Hacking.
http://sphinx.net.ru
む
next parent reply other threads:[~2008-12-07 10:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2095.1228610078.26697.help-gnu-emacs@gnu.org>
2008-12-07 10:01 ` Dmitry Dzhus [this message]
2008-12-07 13:10 ` Tracing what is loading 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ej0kz4l6.fsf@sphinx.net.ru \
--to=dima@sphinx.net.ru \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).