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: Sun, 14 Jan 2007 18:41:45 +0100 Message-ID: <45AA6B59.30203@gmx.at> References: <45A8B034.8020301@gmx.at> <45A9F965.4080007@gmail.com> <45AA1382.2030506@gmx.at> <45AA17CE.9050009@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 1168880856 8603 80.91.229.12 (15 Jan 2007 17:07:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 17:07:36 +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 18:07:32 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by lo.gmane.org with esmtp (Exim 4.50) id 1H6VIn-0001lc-UO for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:07:21 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1H6VIi-0008SU-Rz for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:07:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H69Md-0007uU-5w for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jan 2007 12:41:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H69MP-0007uF-9g for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 12:41:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H69MN-0007tb-OK for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 12:41:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H69MN-0007tW-Dj for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 12:41:35 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1H69MM-0005UN-OC for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 12:41:35 -0500 Original-Received: (qmail invoked by alias); 14 Jan 2007 17:41:33 -0000 Original-Received: from N791P018.adsl.highway.telekom.at (EHLO [62.47.42.210]) [62.47.42.210] by mail.gmx.net (mp026) with SMTP; 14 Jan 2007 18:41:33 +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: <45AA17CE.9050009@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:40294 Archived-At: > Yes, it creates new windows and window local things will get broken. But > I do not understand what you mean with "overlay relationships" here. > Emacs overlays (if that is what you mean) is tighed to the buffer, not > the window. Juanma explained that already. It can be done as (dolist (overlay (overlays-in (point-min) (point-max))) (when (eq (overlay-get overlay 'window) old-window) (overlay-put overlay 'window new-window))) > Maybe, but please be more specific about what will be missing when done > on the lisp level. On the Lisp level it might be difficult to handle `get-lru-window', `buffer-display-count', `buffer-display-time', and the `keep-margins' argument of `set-window-buffer'. It should be possible to handle `window-dedicated-p', `window-scroll-bars', `window-fringes' but I don't remember them all.