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 18:33:57 +0100 Message-ID: <45ABBB05.9090804@gmx.at> References: <45A8B034.8020301@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> <45ABAC9E.9020607@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 1168888248 26355 80.91.229.12 (15 Jan 2007 19:10:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 19:10:48 +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 20:10:46 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 1H6Vok-0001qK-V3 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:40:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Vok-0001Ls-O9 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 12:40:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6VlD-00056o-Dw for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 12:36:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6Vl9-00050L-OE for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 12:36:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Vl9-000505-HQ for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 12:36:39 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1H6Vl7-0002wF-Fu for help-gnu-emacs@gnu.org; Mon, 15 Jan 2007 12:36:38 -0500 Original-Received: (qmail invoked by alias); 15 Jan 2007 17:36:35 -0000 Original-Received: from unknown (EHLO [62.47.52.154]) [62.47.52.154] by mail.gmx.net (mp043) with SMTP; 15 Jan 2007 18:36:35 +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: <45ABAC9E.9020607@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:40320 Archived-At: >> 1) search every displayed buffer and make a list of all overlays >> associated to windows, and which windows are they associated to (one >> list for window, I suppose). >> 2) do your mumbo-jumbo with windows >> 3) determine which window corresponds to every buffer now >> 4) process the lists of 1) above and modify only those overlays that >> pointed to a non-alive windows W1 that corresponds now to W2. > > > > You are right, I have to check more buffers. In fact every buffer, > displayed or not. Done. Why check all buffers? Juanma's recipe was precise in my opinion. Note that buffers may have overlays for windows that are no more live. These overlays are useless and prevent the windows from being collected. They are harmless, though.