From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: debug-on-entry question Date: Sun, 19 Jun 2005 19:48:56 +0200 Message-ID: <85psui8cfr.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119204042 8684 80.91.229.2 (19 Jun 2005 18:00:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2005 18:00:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 20:00:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dk45e-0005Cy-Dd for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 20:00:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dk4Bi-0007zg-57 for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 14:06:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dk48z-00079S-2Y for emacs-devel@gnu.org; Sun, 19 Jun 2005 14:03:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dk48u-00076u-Ce for emacs-devel@gnu.org; Sun, 19 Jun 2005 14:03:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dk48s-0006ss-MX for emacs-devel@gnu.org; Sun, 19 Jun 2005 14:03:35 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk3xB-0000vP-BV for emacs-devel@gnu.org; Sun, 19 Jun 2005 13:51:29 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Dk3uB-0005fE-WD; Sun, 19 Jun 2005 13:48:24 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E44881C142D7; Sun, 19 Jun 2005 19:48:56 +0200 (CEST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Sun, 19 Jun 2005 10:24:59 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:39123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39123 "Drew Adams" writes: > change the interactive specification of > `debug-on-entry' to call `function-called-at-point'. > > Yes. I've suggested this previously. When debugging, you are often > in an Emacs-Lisp buffer, and this is useful. _If_ you are in an Emacs-Lisp buffer and consequently have the source code of the function to be debugged available, edebug-defun is orders of magnitude more useful for debugging a particular function. debug-on-entry is much less convenient, but can be used without having the source at hand. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum