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 r109890: Do not mark objects from deleted buffers, windows and frames. Date: Fri, 07 Sep 2012 11:19:04 -0400 Message-ID: References: <504848D0.4020908@yandex.ru> <5048D826.3040103@yandex.ru> <5049C400.8070400@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347031155 25202 80.91.229.3 (7 Sep 2012 15:19:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2012 15:19:15 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 17:19:17 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 1TA0Ky-00016s-IS for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2012 17:19:16 +0200 Original-Received: from localhost ([::1]:38582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA0Kv-0001pt-CE for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2012 11:19:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA0Kt-0001pn-0z for emacs-devel@gnu.org; Fri, 07 Sep 2012 11:19:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA0Kp-0005mP-0B for emacs-devel@gnu.org; Fri, 07 Sep 2012 11:19:10 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA0Ko-0005mH-RM for emacs-devel@gnu.org; Fri, 07 Sep 2012 11:19:06 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q87FJ4P1004949; Fri, 7 Sep 2012 11:19:04 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6FE47B4085; Fri, 7 Sep 2012 11:19:04 -0400 (EDT) In-Reply-To: <5049C400.8070400@gmx.at> (martin rudalics's message of "Fri, 07 Sep 2012 11:53:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:153153 Archived-At: > I don't know of an easy way to get a dead window's identity from a > stored window configuration. You mean for Elisp to get it? No, you can't, but that was not the question. The question was how the GC can get it, which is easy, it's in the `window' slot of the `saved_window' struct: /* This is saved as a Lisp_Vector. */ struct saved_window { struct vectorlike_header header; Lisp_Object window, buffer, start, pointm, mark; Lisp_Object left_col, top_line, total_cols, total_lines; ... -- Stefan