From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: MY window tree! Date: Mon, 15 Jan 2007 19:33:52 +0100 Message-ID: <45ABC910.6050603@gmx.at> References: <45A8B034.8020301@gmx.at> <45AA17CE.9050009@gmail.com> <45AA6B59.30203@gmx.at> <45AAA21C.6090505@gmail.com> <45AAB98F.8060404@gmail.com> <45AB2CDB.1040207@gmx.at> <45AB7C99.6050002@gmail.com> <45AB8B1F.7010408@gmail.com> <45AB92A8.7030300@gmail.com> <45ABB942.9070407@gmx.at> <45ABC042.9070707@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168891778 22573 80.91.229.12 (15 Jan 2007 20:09:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 20:09:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, michael@cadilhac.name Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 21:09:35 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6WgM-0006I6-PY for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 19:35:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6WgM-0005EO-Dh for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 13:35:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6Wd6-0003b2-Gj for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 13:32:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6Wd4-0003ZW-Qd for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 13:32:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Wd4-0003ZQ-Gz for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 13:32:22 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1H6Wd3-0000el-05 for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 13:32:22 -0500 Original-Received: (qmail invoked by alias); 15 Jan 2007 18:32:16 -0000 Original-Received: from N764P027.adsl.highway.telekom.at (EHLO [62.47.39.123]) [62.47.39.123] by mail.gmx.net (mp019) with SMTP; 15 Jan 2007 19:32:16 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: "Lennart Borgman (gmail)" In-Reply-To: <45ABC042.9070707@gmail.com> X-Y-GMX-Trusted: 0 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40328 Archived-At: > But there is one thing I do not understand. "Collected" above is that > garbage collected? Do you mean that the window object is available and > not garbage collected until some time after all elisp pointers to it are > gone? As long as I have a pointer to it the window object should be available, otherwise the pointer would dangle. That is, the collector should not be allowed to reclaim that window object. > > How does window-live-p fit into this? The doc string a bit cryptic says > > Returns t if object is a window which is currently visible. > > Is an invisible window object a window that has elisp pointers to it, > but is not on any frame? (And can never more be on any fram AFAIU.) I think a window is live as long as it has an associated buffer. After a window has lost its buffer it's still a window but it cannot be on a frame any more.