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: Tue, 11 May 2010 08:37:42 -0700 (PDT) Message-ID: <28525731.post@talk.nabble.com> References: <28512483.post@talk.nabble.com> <28523705.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 1273592276 23171 80.91.229.12 (11 May 2010 15:37:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 15:37:56 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 11 17:37:55 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 1OBrWs-0005h2-P5 for ged-emacs-devel@m.gmane.org; Tue, 11 May 2010 17:37:55 +0200 Original-Received: from localhost ([127.0.0.1]:60595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBrWs-0007sC-BL for ged-emacs-devel@m.gmane.org; Tue, 11 May 2010 11:37:54 -0400 Original-Received: from [140.186.70.92] (port=52914 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBrWm-0007s7-K8 for Emacs-devel@gnu.org; Tue, 11 May 2010 11:37:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBrWi-0001Z4-0n for Emacs-devel@gnu.org; Tue, 11 May 2010 11:37:48 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:40796) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBrWh-0001Yt-SM for Emacs-devel@gnu.org; Tue, 11 May 2010 11:37:43 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OBrWg-00084F-PR for Emacs-devel@gnu.org; Tue, 11 May 2010 08:37:42 -0700 In-Reply-To: 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:124706 Archived-At: Stefan Monnier wrote: > >> I insert to the struct Lisp_Symbol a field :watched: . > > No, that would add 8 more bytes to every symbol for a feature that's > almost never used. > > I think a good starting point is to use the existing `constant' > field and just add a special WATCHED value to it (it already has 2bits > but only uses 1, so you don't even need to make the field any larger). > I did not know about that bit! -- View this message in context: http://old.nabble.com/Watchpoints-for-emacs-lisp.-tp28512483p28525731.html Sent from the Emacs - Dev mailing list archive at Nabble.com.