From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Lisp watchpoints Date: Sun, 29 Nov 2015 19:13:06 +0200 Message-ID: <83bnacohjx.fsf@gnu.org> References: <83wpt922dn.fsf@gnu.org> <83si3ooll7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448817231 29884 80.91.229.3 (29 Nov 2015 17:13:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 17:13:51 +0000 (UTC) Cc: jwiegley@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 18:13:39 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a35Xd-0002Mv-QI for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 18:13:37 +0100 Original-Received: from localhost ([::1]:37115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a35Xh-0006Nw-Ci for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 12:13:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a35XN-0006L7-Ej for emacs-devel@gnu.org; Sun, 29 Nov 2015 12:13:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a35XI-0006c1-Ej for emacs-devel@gnu.org; Sun, 29 Nov 2015 12:13:21 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:40442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a35XI-0006bo-7z for emacs-devel@gnu.org; Sun, 29 Nov 2015 12:13:16 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NYL00N0066F7N00@mtaout28.012.net.il> for emacs-devel@gnu.org; Sun, 29 Nov 2015 19:12:13 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYL00NO66GDRF00@mtaout28.012.net.il>; Sun, 29 Nov 2015 19:12:13 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195555 Archived-At: > Date: Sun, 29 Nov 2015 11:04:23 -0500 > From: Noam Postavsky > Cc: Stefan Monnier , John Wiegley , emacs-devel@gnu.org > > >>> Actually, trapped writes won't work reliably for frame-local vars > >> > >> Will they work for let-bound "local" variables? What happens when > >> they go "out of scope"? > > > > The let-binding is currently trapped, but not the corresponding > > unbinding. Is it better to skip both? As far as I can tell, it's not > > feasible to trap the unbinding. > > Um, actually, what did you mean by "local" exactly? I should clarify > that this only applies to dynamically-bound variables, lexical > variables are never trapped. Yes, I also meant dynamically-bound variables. Sorry for being unclear.