From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Lisp watchpoints Date: Sun, 29 Nov 2015 11:04:23 -0500 Message-ID: References: <83wpt922dn.fsf@gnu.org> <83si3ooll7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448813069 744 80.91.229.3 (29 Nov 2015 16:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 16:04:29 +0000 (UTC) Cc: John Wiegley , Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 17:04:26 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 1a34Sf-0000MQ-PR for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 17:04:25 +0100 Original-Received: from localhost ([::1]:36768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34Sj-0007k1-Mw for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 11:04:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34Sg-0007jt-G8 for emacs-devel@gnu.org; Sun, 29 Nov 2015 11:04:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a34Sf-0005r7-Kg for emacs-devel@gnu.org; Sun, 29 Nov 2015 11:04:26 -0500 Original-Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:33268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34Se-0005qY-9U; Sun, 29 Nov 2015 11:04:24 -0500 Original-Received: by iouu10 with SMTP id u10so153640654iou.0; Sun, 29 Nov 2015 08:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=nFCbPwLRE52oE1Qs8hbe9jMnh9G04f3GNlzZF6/otKA=; b=pp4hmbPDyTRVkPmSgcFVUkDTqf9k//bIO0jUArFMmSoS+2dZIxdlbv0nDmuPKI3NCM 8p/ky9py2jCkYEvd1o4notoVmxC6P7a/7vWDjXO3zs/+D2oIYRqchokzIQlKwztPYCNM SQ1kZ0K4yoYK1r0vn7M174K+ShScO+DZ/KNdSYZC6vNI5VuslOPic6qp1AfLC8yhFAfh /3YCepsfaVOUYM9oL6K2ZdTBKTxmi/MUziePnXkRTFQmHonbZlHdz4wylhaupGQuc8mT y2ey/zcn+8Z+keFrm9rVSH/gvk/5OVEXEevXsJCI8+9B6EHHQTp46HvtwxRGFaorMG1+ J5sw== X-Received: by 10.107.167.68 with SMTP id q65mr53384322ioe.120.1448813063791; Sun, 29 Nov 2015 08:04:23 -0800 (PST) Original-Received: by 10.79.119.2 with HTTP; Sun, 29 Nov 2015 08:04:23 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: j4MPXQvY8lRqfE_KrCIofSgPcUo X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c06::229 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:195544 Archived-At: On Sun, Nov 29, 2015 at 11:01 AM, Noam Postavsky wrote: > On Sun, Nov 29, 2015 at 10:45 AM, Eli Zaretskii wrote: >>> From: Stefan Monnier >>> Cc: Eli Zaretskii , John Wiegley , emacs-devel@gnu.org >>> Date: Sat, 28 Nov 2015 23:44:19 -0500 >>> >>> 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.