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:11:47 +0200 Message-ID: <83d1usohm4.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 1448817145 28673 80.91.229.3 (29 Nov 2015 17:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 17:12:25 +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:12:13 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 1a35WG-00089t-4V for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 18:12:12 +0100 Original-Received: from localhost ([::1]:37112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a35WK-0005Lr-1J for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 12:12:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a35W6-0005Kg-56 for emacs-devel@gnu.org; Sun, 29 Nov 2015 12:12:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a35W1-0006Ep-4I for emacs-devel@gnu.org; Sun, 29 Nov 2015 12:12:02 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:60140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a35W0-0006ER-SO for emacs-devel@gnu.org; Sun, 29 Nov 2015 12:11:57 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NYL001005SCWJ00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 29 Nov 2015 19:11:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYL001NP6FUW920@a-mtaout21.012.net.il>; Sun, 29 Nov 2015 19:11:54 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:195554 Archived-At: > Date: Sun, 29 Nov 2015 11:01:32 -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. If unbinding will cause the watch to silently be disabled, that is good enough. Thanks.