From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yoni Rabkin Katzenell Newsgroups: gmane.emacs.devel Subject: debug-on-entry question Date: Sat, 18 Jun 2005 13:03:31 +0300 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119093141 29898 80.91.229.2 (18 Jun 2005 11:12:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2005 11:12:21 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 18 13:12:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjbFE-0006Ex-LA for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2005 13:12:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjbL2-0001eu-3p for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2005 07:18:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Djb70-0006s0-6Z for emacs-devel@gnu.org; Sat, 18 Jun 2005 07:03:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Djb6x-0006qQ-NG for emacs-devel@gnu.org; Sat, 18 Jun 2005 07:03:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Djb61-00069K-0w for emacs-devel@gnu.org; Sat, 18 Jun 2005 07:02:41 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Djaiy-0005X6-S2 for emacs-devel@gnu.org; Sat, 18 Jun 2005 06:38:53 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Djab0-0003V8-MX for emacs-devel@gnu.org; Sat, 18 Jun 2005 12:30:38 +0200 Original-Received: from line134-129.adsl.actcom.co.il ([192.115.134.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2005 12:30:38 +0200 Original-Received: from yoni-r by line134-129.adsl.actcom.co.il with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2005 12:30:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: line134-129.adsl.actcom.co.il X-Ethics: Use GNU User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:hsS4w1PatfNXxRayuCHDHSpBi7g= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39070 Is there an existing function which performs the following? (defun debug-on-entry-at-point () "Perform \\[debug-on-entry] on the function at point." (let ((fn (function-called-at-point))) (if fn (debug-on-entry fn) (message "No function at point")))) -- "Cut your own wood and it will warm you twice" Regards, Yoni Rabkin Katzenell