From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109327: Generalize INTERNAL_FIELD between buffers, keyboards and frames. Date: Sun, 05 Aug 2012 19:03:39 +0400 Message-ID: <501E8B4B.3000805@yandex.ru> References: <50191B54.2070705@yandex.ru> <5019FE2D.2060005@yandex.ru> <501B8C48.3000704@yandex.ru> <501C1F4D.5010007@cs.ucla.edu> <501D4E6F.6040702@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344178888 11390 80.91.229.3 (5 Aug 2012 15:01:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2012 15:01:28 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 05 17:01:28 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 1Sy2Ka-0008VD-NN for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2012 17:01:24 +0200 Original-Received: from localhost ([::1]:60668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sy2Ka-00031f-4t for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2012 11:01:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sy2KX-0002zL-Ef for emacs-devel@gnu.org; Sun, 05 Aug 2012 11:01:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sy2KW-0007wh-BW for emacs-devel@gnu.org; Sun, 05 Aug 2012 11:01:21 -0400 Original-Received: from forward14.mail.yandex.net ([95.108.130.92]:41225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sy2KW-0007wV-3z for emacs-devel@gnu.org; Sun, 05 Aug 2012 11:01:20 -0400 Original-Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward14.mail.yandex.net (Yandex) with ESMTP id 6A6161980BBC; Sun, 5 Aug 2012 19:01:17 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1344178877; bh=VA0+dz7wkY/AJgKnW5c/Qm1TD0CIFzDBq7sFrTZQm58=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=YeJ7PqrSOM/GeKH+L5yK3o64cZ6j+GG8wi9khnEWYoxz3MOvB0b7L/HCimd2ppKTn 8YgIvGlJ6dhcJ91mx4sYxR5l4b7pnHOF/m0WM9W1dOnKzAiSfgyfZXEfhDw4/a/rdH K/tp2Azirv8zusMv4Wo9eVepvTbSdwpToQr2NsAY= Original-Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id 38B021B6073D; Sun, 5 Aug 2012 19:01:17 +0400 (MSK) Original-Received: from unknown (unknown [37.139.84.55]) by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 1GZ4SSu3-1GZGMAMC; Sun, 5 Aug 2012 19:01:16 +0400 X-Yandex-Rcpt-Suid: eggert@cs.ucla.edu X-Yandex-Rcpt-Suid: monnier@IRO.UMontreal.CA X-Yandex-Rcpt-Suid: emacs-devel@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1344178877; bh=VA0+dz7wkY/AJgKnW5c/Qm1TD0CIFzDBq7sFrTZQm58=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=t8Q5lMirl8k2D8/MiGqufxJ5PXTWKVAHI4Ez3WJ7+lwUssI0tB7GCEWpes9PhrSIj 1tUBKLdeBAWiWaDyKj9TFpgu6Cwse8rX2BQbnl61/4nkkaJcxp4OVEk3/A7Q4jDRt8 JEa2r/MG+8edVVND+AOwEIBOGo8ahBJxDr/7wYmQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <501D4E6F.6040702@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 95.108.130.92 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:152196 Archived-At: On 08/04/2012 08:31 PM, Paul Eggert wrote: > On 08/03/2012 03:52 PM, Stefan Monnier wrote: >>> return frame_buffer_list (XFRAME (frame)); >> And then we have to remember that it's a "trivial" function that >> can't GC? > > I can see disliking "frame_buffer_list (FOO)" (as opposed > to "FOO->buffer_list") on length grounds, but I don't understand > disliking it on GC grounds. The Emacs internals have > lots of functions that don't call the GC; having some > more shouldn't make that much difference one way or another. I believe that one of the goals for new GC should be the possibility to run from almost any context, with a few exceptions like signal handlers. Dmitry