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: [Emacs-diffs] /srv/bzr/emacs/trunk r109327: Generalize INTERNAL_FIELD between buffers, keyboards and frames. Date: Wed, 01 Aug 2012 18:01:10 +0300 Message-ID: <834nomejwp.fsf@gnu.org> References: <50191B54.2070705@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1343833320 21351 80.91.229.3 (1 Aug 2012 15:02:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2012 15:02:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 01 17:01:58 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 1SwaQs-0006tq-Ju for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2012 17:01:54 +0200 Original-Received: from localhost ([::1]:36225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwaQr-00076k-Qb for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2012 11:01:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwaQo-00076a-1b for emacs-devel@gnu.org; Wed, 01 Aug 2012 11:01:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwaQf-0006Rg-Tt for emacs-devel@gnu.org; Wed, 01 Aug 2012 11:01:49 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwaQf-0006RK-M7 for emacs-devel@gnu.org; Wed, 01 Aug 2012 11:01:41 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M8300K000D8YF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 01 Aug 2012 18:01:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8300KWC0E7ARB0@a-mtaout22.012.net.il>; Wed, 01 Aug 2012 18:01:19 +0300 (IDT) In-reply-to: <50191B54.2070705@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:152083 Archived-At: > Date: Wed, 01 Aug 2012 16:04:36 +0400 > From: Dmitry Antipov > > On 08/01/2012 02:33 PM, Stefan Monnier wrote: > > >> * src/frame.h (FVAR): New macro. > > > > Is it really necessary? To me this just obfuscates the code. > > If/when it turns out to be needed, it'll be easy enough to introduce. > > I have no ideas why BVAR and KVAR was introduced For multithreading branch. See http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg01019.html and the rest of the longish thread (which continues into the next month). > I'm really trying to design some GC bits on top of this. May I suggest to post some kind of design notes, with some details about the above? I think such preliminary discussions help get all the interested parties up to speed, raise some important issues that are best discovered sooner rather than later, and generally avoid surprises, pleasant or otherwise. I did something like that while I was working on bidi display, and my experience with this was very positive, even though much less people are interested in that subject than in GC.