From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "alin.s" Newsgroups: gmane.emacs.devel Subject: Re: Watchpoints for emacs lisp. Date: Sat, 15 May 2010 04:56:58 -0700 (PDT) Message-ID: <28567880.post@talk.nabble.com> References: <28512483.post@talk.nabble.com> <28523705.post@talk.nabble.com> <28567671.post@talk.nabble.com> <28567697.post@talk.nabble.com> <28567803.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273924631 17220 80.91.229.12 (15 May 2010 11:57:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 15 May 2010 11:57:11 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 15 13:57:10 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ODFzQ-0006QD-Rg for ged-emacs-devel@m.gmane.org; Sat, 15 May 2010 13:57:09 +0200 Original-Received: from localhost ([127.0.0.1]:49708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODFzQ-0004Wi-Db for ged-emacs-devel@m.gmane.org; Sat, 15 May 2010 07:57:08 -0400 Original-Received: from [140.186.70.92] (port=56953 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODFzK-0004Vw-LO for Emacs-devel@gnu.org; Sat, 15 May 2010 07:57:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODFzI-0006jD-Ag for Emacs-devel@gnu.org; Sat, 15 May 2010 07:57:02 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:56631) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODFzI-0006j3-4Y for Emacs-devel@gnu.org; Sat, 15 May 2010 07:57:00 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1ODFzG-0002E7-TD for Emacs-devel@gnu.org; Sat, 15 May 2010 04:56:58 -0700 In-Reply-To: <28567803.post@talk.nabble.com> X-Nabble-From: alinsoar@voila.fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:124799 Archived-At: Suppose that we have the symbol X = ( 3 . ( 4 . some_cons ) ) and Y = some_cons. Suppose that I have set the watch bit on X, but not on Y. In these conditions, modifying Y will not stop into the watchpoint of X. That means that setting a watchpoint on a symbol X, should be a recursive operation, id est, setting recursively a :watch: field for all the cons-cells, symbols, strings, etc, which are present in X. That means that we need to insert a watch field in all lisp data strucutures, not only n symbol, etc Is that algorithm right ? -- View this message in context: http://old.nabble.com/Watchpoints-for-emacs-lisp.-tp28512483p28567880.html Sent from the Emacs - Dev mailing list archive at Nabble.com.