From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Lisp debugger problems. Date: Thu, 03 Mar 2005 15:57:32 -0500 Message-ID: References: <878y5eke1b.fsf@xs4all.nl> <874qfwaaat.fsf@xs4all.nl> <87fyze2fei.fsf@xs4all.nl> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1109884139 25165 80.91.229.2 (3 Mar 2005 21:08:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2005 21:08:59 +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 Thu Mar 03 22:08:58 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6xY6-00012N-1v for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 22:07:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6xr7-0005Ss-Ja for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 16:27:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6xqw-0005Sc-9H for emacs-devel@gnu.org; Thu, 03 Mar 2005 16:27:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6xlh-00043c-HE for emacs-devel@gnu.org; Thu, 03 Mar 2005 16:22:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6xlb-0003wB-7o for emacs-devel@gnu.org; Thu, 03 Mar 2005 16:21:55 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6xO1-0001vp-24 for emacs-devel@gnu.org; Thu, 03 Mar 2005 15:57:33 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D6xO0-0008Gw-Lx; Thu, 03 Mar 2005 15:57:32 -0500 Original-To: Lute Kamstra In-reply-to: <87fyze2fei.fsf@xs4all.nl> (message from Lute Kamstra on Wed, 02 Mar 2005 17:15:01 +0100) 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: main.gmane.org gmane.emacs.devel:34144 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34144 What about advising the primitives that define functions to add debug-entry-code when a function is in debug-function-list? Would that work? Please do not think of making any part of Emacs advise primitives. That technique should never be used, because it causes confusion. All code in Emacs that advises other parts of Emacs was installed without my knowledge. It is a bug that ought to be fixed.