From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109327: Generalize INTERNAL_FIELD between buffers, keyboards and frames. Date: Fri, 03 Aug 2012 03:42:45 -0400 Message-ID: References: <50191B54.2070705@yandex.ru> <5019FE2D.2060005@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343979774 14697 80.91.229.3 (3 Aug 2012 07:42:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2012 07:42:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 03 09:42:54 2012 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 1SxCX7-0004Dr-VI for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2012 09:42:54 +0200 Original-Received: from localhost ([::1]:54764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxCX7-0005aS-Bi for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2012 03:42:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxCX4-0005aN-Ih for emacs-devel@gnu.org; Fri, 03 Aug 2012 03:42:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxCX3-0000NU-NV for emacs-devel@gnu.org; Fri, 03 Aug 2012 03:42:50 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:39517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxCX3-0000NO-JF for emacs-devel@gnu.org; Fri, 03 Aug 2012 03:42:49 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q737gkYV011023; Fri, 3 Aug 2012 03:42:47 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CF5D2AE2DC; Fri, 3 Aug 2012 03:42:45 -0400 (EDT) In-Reply-To: <5019FE2D.2060005@yandex.ru> (Dmitry Antipov's message of "Thu, 02 Aug 2012 08:12:29 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4298=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4298> : streams <793878> : uri <1182590> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:152137 Archived-At: > the barrier (just one such a store is fatal for the collector). Next, > when we will know that the collector invariant is never broken, it's > possible to replace these obfuscated FVAR (x, y) back to x->y. You can use coccinelle to automatically turn the x->y into an rvalue FVAR (x,y) while debugging. And such a script should be kept around and run every once in a while to check that new code follows the SETFVAR convention. But I don't want the trunk's code obfuscated just for some temporary debugging needs. Stefan