From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: Problems with debug-on-entry in the Lisp debugger. Date: Wed, 09 Mar 2005 18:30:05 +0100 Message-ID: <87acpc7mn6.fsf@xs4all.nl> References: <87sm37n2bv.fsf@xs4all.nl> <87hdjnegak.fsf-monnier+emacs@gnu.org> <876503wkh4.fsf@xs4all.nl> <87ll8yx8x5.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110389941 29490 80.91.229.2 (9 Mar 2005 17:39:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 17:39:01 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 18:39:01 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D954J-0002OM-5K for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 18:34:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D95J1-0000Ld-DH for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 12:49:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D95HS-00084x-8i for emacs-devel@gnu.org; Wed, 09 Mar 2005 12:47:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D95HM-000824-Iy for emacs-devel@gnu.org; Wed, 09 Mar 2005 12:47:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D95HM-00081B-FE for emacs-devel@gnu.org; Wed, 09 Mar 2005 12:47:28 -0500 Original-Received: from [194.109.24.24] (helo=smtp-vbr4.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D950Y-0003Pq-Rx; Wed, 09 Mar 2005 12:30:07 -0500 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr4.xs4all.nl (8.12.11/8.12.11) with ESMTP id j29HU6WI066671; Wed, 9 Mar 2005 18:30:06 +0100 (CET) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1D950X-0000Zu-00; Wed, 09 Mar 2005 18:30:05 +0100 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 09 Mar 2005 11:58:52 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 27 X-Virus-Scanned: by XS4ALL Virus Scanner 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34382 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34382 Richard Stallman writes: > > does it have any real impact? > > It can be confusing for new users of the debugger: Hey, what's > that doing in my function? Did I put that there? > > The user probably rembemers having set "debug on entry" for the > function, and has just been reminded by entering the debugger, so > that ought to help him understand. True. > > If the aesthetic aspect is just more serious now that we > > replace (debug 'debug) with (if (or inhibit-debug-on-entry > > debugger-jumping-flag) nil (debug 'debug)), we can define a > > function named e.g. `debug-entering' that will do the checking > > of inhibit-debug-on-entry and debugger-jumping-flag. > > That would be somewhat better. > > Using the name implement-debug-on-entry will help the user figure > out why it is there. Ok, I'll implement this. Lute.