unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: Re: Show who is requiring
Date: Sat, 17 Nov 2012 10:41:29 +0100	[thread overview]
Message-ID: <80haoo7eie.fsf@somewhere.org> (raw)
In-Reply-To: mailman.13164.1353140953.855.help-gnu-emacs@gnu.org

Hi Eli and Bastien,

Bastien wrote:
> Sebastien Vauban writes:
>
>> I tried using (current-buffer) to get the name of the "source" package
>> (i.e., the one which makes the `require' request), but that's wrong. Any
>> idea how to get the name of the "caller" package?
>
> Check this out: 
>
>   C-h f find-lisp-object-file-name RET

I wasn't clear enough: what I'd like is that if, for example, helm-m-x.el contains
a require of helm.el, then (with my advice'd require), when requiring
helm-m-x, I'd see in the Messages:

    helm-m-x.el is now requiring helm.el

So, I'm interested in the name of the package which contains require's of
other packages (and executes them).

That could be done statically on the file system, but I'd like to see the view
of "who called who" for my Emacs session.

Am I clearer in what I'm searching for?

Best regards,
  Seb

-- 
Sebastien Vauban


  parent reply	other threads:[~2012-11-17  9:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 23:08 Show who is requiring Sebastien Vauban
2012-11-17  7:53 ` Eli Zaretskii
2012-11-17  8:29 ` Bastien
2012-11-17  9:43   ` Oleksandr Gavenko
2012-11-17 10:05     ` Bastien
     [not found] ` <mailman.13164.1353140953.855.help-gnu-emacs@gnu.org>
2012-11-17  9:41   ` Sebastien Vauban [this message]
2012-11-17 10:11     ` Eli Zaretskii
2012-11-17 10:38       ` Thien-Thi Nguyen
2012-11-17 11:02         ` Eli Zaretskii
2012-11-17 12:00           ` Thien-Thi Nguyen
2012-11-17 16:17 ` Drew Adams
2012-11-19 14:59 ` Stefan Monnier
2012-11-19 15:18   ` Ludwig, Mark
     [not found]   ` <mailman.13321.1353338324.855.help-gnu-emacs@gnu.org>
2012-11-19 16:03     ` Stefan Monnier
2012-11-19 16:13       ` Sebastien Vauban
2012-12-07 21:57         ` Sebastien Vauban
2012-12-07 22:31           ` Sebastien Vauban
2012-12-07 22:54             ` Sebastien Vauban
2012-12-11  1:57           ` Stefan Monnier
2012-11-19 15:54 ` Kevin Rodgers

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=80haoo7eie.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.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).