From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: Watchpoints for emacs lisp. Date: Sat, 29 May 2010 06:25:18 +0200 Message-ID: <20100529042518.GA27239@tomas> References: <28657657.post@talk.nabble.com> <28657973.post@talk.nabble.com> <28678945.post@talk.nabble.com> <28683346.post@talk.nabble.com> <28693899.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275152056 27677 80.91.229.12 (29 May 2010 16:54:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 May 2010 16:54:16 +0000 (UTC) Cc: "alin.s" , Emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 29 18:54:13 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 1OIPIM-0000Qq-T7 for ged-emacs-devel@m.gmane.org; Sat, 29 May 2010 18:54:10 +0200 Original-Received: from localhost ([127.0.0.1]:48366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIPIK-0000WA-30 for ged-emacs-devel@m.gmane.org; Sat, 29 May 2010 12:53:56 -0400 Original-Received: from [140.186.70.92] (port=45717 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIOND-0001Ow-Oq for Emacs-devel@gnu.org; Sat, 29 May 2010 11:54:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIDSK-00016j-PU for Emacs-devel@gnu.org; Sat, 29 May 2010 00:15:29 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:55783 helo=www.elogos.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIDSK-00016U-KT for Emacs-devel@gnu.org; Sat, 29 May 2010 00:15:28 -0400 Original-Received: by www.elogos.de (Postfix, from userid 1000) id D0C049004D; Sat, 29 May 2010 06:25:18 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:125337 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, May 28, 2010 at 12:05:23AM +0200, Andreas Schwab wrote: > "alin.s" writes: >=20 > > I also like the idea to catch the moment when a watched symbol is fre= ed by > > gc. >=20 > This is not useful because anything being watched can never be collecte= d > by gc since it still has a reference. Doesn't Emacs have weak references? (OK, weak hash tables, but that might be the mechanism needed here). Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFMAJcuBcgs9XrR2kYRAufGAJ0ZbSbHrp2EIpO2O05wSNQi9wlu+wCdEbtY EJCHvUhE2uHdOb0F3CIv/Xc=3D =3Dyjoq -----END PGP SIGNATURE-----