From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Show who is requiring Date: Mon, 19 Nov 2012 09:59:11 -0500 Organization: A noiseless patient Spider Message-ID: References: <80d2zd87t0.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353337230 15476 80.91.229.3 (19 Nov 2012 15:00:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 15:00:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 16:00:41 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaSq0-0003af-Dn for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 16:00:40 +0100 Original-Received: from localhost ([::1]:35969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSpn-0001oQ-0b for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 10:00:27 -0500 Original-Path: usenet.stanford.edu!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 Injection-Info: mx04.eternal-september.org; posting-host="9b718dca22ff4598baab0f6e08a1d03d"; logging-data="9904"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bWOLqm0Sc01zgmqclYJG2" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:+98PbGbb6QTYDz/RjS6e/vQa4VI= sha1:xUdMrsG9ACto/f4Y+soRAew4h3U= Original-Xref: usenet.stanford.edu gnu.emacs.help:195463 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87786 Archived-At: > 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? IIUC you want load-file-name. Stefan