* "tracing" autoloads
@ 2013-11-30 14:52 Perry Smith
2013-12-02 13:53 ` Perry Smith
0 siblings, 1 reply; 3+ messages in thread
From: Perry Smith @ 2013-11-30 14:52 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org Help
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "tracing" autoloads
2013-11-30 14:52 "tracing" autoloads Perry Smith
@ 2013-12-02 13:53 ` Perry Smith
2013-12-02 15:18 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Perry Smith @ 2013-12-02 13:53 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org Help
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
On Nov 30, 2013, at 8:52 AM, Perry Smith <pedzsan@gmail.com> wrote:
> 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?
Looking at the code (thank RMS for open source!) I found force-load-messages which is very nice.
I added an advice for require so I can tell if it is being loaded or required (out of curiosity).
pedz
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "tracing" autoloads
2013-12-02 13:53 ` Perry Smith
@ 2013-12-02 15:18 ` Stefan Monnier
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2013-12-02 15:18 UTC (permalink / raw)
To: help-gnu-emacs
> Looking at the code (thank RMS for open source!)
You mean "Thanks RMS for *Free Software*"!
http://www.gnu.org/philosophy/free-software-for-freedom.html
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-02 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-30 14:52 "tracing" autoloads Perry Smith
2013-12-02 13:53 ` Perry Smith
2013-12-02 15:18 ` Stefan Monnier
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).