From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Newsgroups: gmane.emacs.devel Subject: How to find out who calls a function? Date: Wed, 05 Oct 2011 17:04:29 +0200 Message-ID: <86lisziio2.fsf@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1317828924 8223 80.91.229.12 (5 Oct 2011 15:35:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 15:35:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 05 17:35:19 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBTV6-0007Tr-CL for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 17:35:16 +0200 Original-Received: from localhost ([::1]:36033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBTV5-000677-Sb for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 11:35:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBTUz-00066X-Hp for emacs-devel@gnu.org; Wed, 05 Oct 2011 11:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBTUy-00020P-4n for emacs-devel@gnu.org; Wed, 05 Oct 2011 11:35:09 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBTUx-0001zv-UW for emacs-devel@gnu.org; Wed, 05 Oct 2011 11:35:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBTUw-0007Ob-0w for emacs-devel@gnu.org; Wed, 05 Oct 2011 17:35:06 +0200 Original-Received: from g231234062.adsl.alicedsl.de ([92.231.234.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 17:35:06 +0200 Original-Received: from quintfall by g231234062.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 17:35:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: g231234062.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:NjbJHH5IcY4NitGOFqgq9G/eIDQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144581 Archived-At: Hi List, I wonder if there are ways to produce a call graph for elisp libraries, or at least list all functions in the library that call a specified function? I use M-x occur to find out where function names appear, or edebug to follow the controlflow. But maybe there are more specialised ways to find out the call relationships between functions in a (big) library? Thanks for any hints. -- Thorsten