From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Sun, 16 Aug 2009 14:17:05 +0200 Message-ID: <4A87F8C1.2010301@gmx.at> References: <4A86AD92.7030308@gmx.at> <87vdkpfbeg.fsf@lola.goethe.zz> <4A86DE30.8060902@gmx.at> <4A86F24D.4090103@gmx.at> <4A87DE88.6050209@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250425052 10182 80.91.229.12 (16 Aug 2009 12:17:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 12:17:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 16 14:17:24 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mcefs-00086c-4B for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 14:17:24 +0200 Original-Received: from localhost ([127.0.0.1]:60064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcefr-0000Ry-EU for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 08:17:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mcefk-0000RK-2k for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:17:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mceff-0000Qd-7a for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:17:15 -0400 Original-Received: from [199.232.76.173] (port=57418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mceff-0000Qa-41 for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:17:11 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:48126) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mcefe-0007i9-J1 for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:17:10 -0400 Original-Received: (qmail invoked by alias); 16 Aug 2009 12:17:08 -0000 Original-Received: from 62-47-43-46.adsl.highway.telekom.at (EHLO [62.47.43.46]) [62.47.43.46] by mail.gmx.net (mp045) with SMTP; 16 Aug 2009 14:17:08 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+KP4VUc/qKq1DhQH87oJroafYXNF3Ceqbo0vQA2V YIg75h7c1BIb/l User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.77 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114302 Archived-At: > What is problematic with that if we save pointers to the old structure > as I suggested? (I am not saying there aren't any problem, I just > don't know what kind of problem you see.) We would have to save multiple before-frame-size-change window configurations, compare them in a non-trivial way at every subsequent frame-resizing (we probably should not revert explicit window-resizing operations that happened since the save but probably ignore `fit-window-to-buffer' operations), and get rid of saved configurations when they are no more useful. All this is very non-trivial. martin