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 17:18:12 +0200 Message-ID: <4A882334.3060503@gmx.at> References: <87vdkpfbeg.fsf@lola.goethe.zz> <4A86DE30.8060902@gmx.at> <4A86F24D.4090103@gmx.at> <4A87DE88.6050209@gmx.at> <4A87F8C1.2010301@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 1250435917 18251 80.91.229.12 (16 Aug 2009 15:18:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 15:18:37 +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 17:18:30 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 1MchV6-0008Q5-DA for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 17:18:28 +0200 Original-Received: from localhost ([127.0.0.1]:58897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MchV5-0003H7-Mz for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 11:18:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MchV0-0003H2-NA for emacs-devel@gnu.org; Sun, 16 Aug 2009 11:18:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MchUv-0003Gq-AM for emacs-devel@gnu.org; Sun, 16 Aug 2009 11:18:21 -0400 Original-Received: from [199.232.76.173] (port=55431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MchUv-0003Gn-5O for emacs-devel@gnu.org; Sun, 16 Aug 2009 11:18:17 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:50244) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MchUu-0002Lr-LC for emacs-devel@gnu.org; Sun, 16 Aug 2009 11:18:17 -0400 Original-Received: (qmail invoked by alias); 16 Aug 2009 15:18:15 -0000 Original-Received: from 62-47-41-44.adsl.highway.telekom.at (EHLO [62.47.41.44]) [62.47.41.44] by mail.gmx.net (mp071) with SMTP; 16 Aug 2009 17:18:15 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/8vLYjwnH8BL9GtjqPKS2AihY3QmBFapeU07gscH fuAGvqTFyuK+wP 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: Genre and OS details not recognized. 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:114314 Archived-At: >> We would have to save multiple before-frame-size-change window >> configurations > > > Why multiple? Would you store only the last one? It might be jsut that of a final adjustment of the frame by one line because the user wanted it that way. >> compare them in a non-trivial way at every subsequent >> frame-resizing > > > Is not that exactly what we are doing when we are resizing? You just > put back the original structure and try resizing again. The window structure might have changed since the last frame-resizing. Would you reinstall the old windows in that case? Then you can use `set-window-configuration'. Note that I was talking about shrinking a frame and reenlarging it at a later moment here. martin