From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: tool to display library dependencies? Date: Thu, 30 Dec 2004 07:58:57 -0800 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104424267 20079 80.91.229.6 (30 Dec 2004 16:31:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2004 16:31:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 30 17:30:55 2004 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ck3CQ-0003ro-00 for ; Thu, 30 Dec 2004 17:30:54 +0100 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by mail-relay.eunet.no (8.13.1/8.13.1/GN) with ESMTP id iBUGUrTj021168 for ; Thu, 30 Dec 2004 17:30:53 +0100 (CET) (envelope-from help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org) Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ck3NM-0006ZF-Sl for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Dec 2004 11:42:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ck2sg-0005EK-0Q for help-gnu-emacs@gnu.org; Thu, 30 Dec 2004 11:10:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ck2sa-0005CC-PW for help-gnu-emacs@gnu.org; Thu, 30 Dec 2004 11:10:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ck2sZ-0005Be-WD for help-gnu-emacs@gnu.org; Thu, 30 Dec 2004 11:10:24 -0500 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Ck2hb-0004Zv-Fa for help-gnu-emacs@gnu.org; Thu, 30 Dec 2004 10:59:03 -0500 Original-Received: from agminet02.oracle.com (localhost [127.0.0.1]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id iBUFx2CP018750 for ; Thu, 30 Dec 2004 07:59:02 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id iBUFx1qk018725 for ; Thu, 30 Dec 2004 07:59:01 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id iBUFwxvl017820 for ; Thu, 30 Dec 2004 08:59:00 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-67-143.vpn.oracle.com [141.144.67.143]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id iBUFwwX2017808 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 30 Dec 2004 08:58:59 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23048 This has probably been asked before, but I couldn't find it. Is there a tool somewhere that will look at one or more Emacs Lisp libraries and output a tree or list of its library dependencies? An Emacs command that does this would be great. For example: Library A requires B, which requires C and D. I'd like to be able to determine all of the libraries that A ultimately requires - in this case B, C, and D. A dependency tree would be even better: A-B-+-C | +-D I realize that it would be problematic to take autoloads into account, but just dealing with the explicit `require's would still be useful. And it would be good if such a tool/command distinguished somehow between hard and soft (`(require nil t)') `require's. - Drew