unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Perry Smith <pedzsan@gmail.com>
To: "help-gnu-emacs@gnu.org Help" <help-gnu-emacs@gnu.org>
Subject: "tracing" autoloads
Date: Sat, 30 Nov 2013 08:52:19 -0600	[thread overview]
Message-ID: <0F25A5E5-1FF3-484A-A90B-33A79512B519@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 483 bytes --]

I'm trying to debug / understand el-get and how it does things.  Probably el-get is fine.  I'm just a bit lost.

I have advice before "load" and "require" to put out a message.  e.g.

(defadvice load (before load-log activate)
  (message "Loading %s" (ad-get-arg 0)))

But a file that is loaded via autoload does not hit either one.  I don't want advice for "autoload".  I want it for when it triggers.  Does anyone have suggestions on how to do that?

Thank you,
Perry


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

             reply	other threads:[~2013-11-30 14:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-30 14:52 Perry Smith [this message]
2013-12-02 13:53 ` "tracing" autoloads Perry Smith
2013-12-02 15:18   ` Stefan Monnier

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=0F25A5E5-1FF3-484A-A90B-33A79512B519@gmail.com \
    --to=pedzsan@gmail.com \
    --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).