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: How to restore the layout? Date: Fri, 28 Jun 2013 16:07:52 +0200 Message-ID: <51CD98B8.6010008@gmx.at> References: <51C5AA68.4000204@alice.it> <51C93CDB.2020301@gmx.at> <51C9C790.3020407@gmx.at> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CD49CF.1090103@gmx.at> <51CD5489.10902@gmx.at> <83d2r6fsbw.fsf@gnu.org> <51CD7879.1030906@gmx.at> <8361wyfkwk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372428517 3367 80.91.229.3 (28 Jun 2013 14:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 14:08:37 +0000 (UTC) Cc: jan.h.d@swipnet.se, angelo.graziosi@alice.it, lekktu@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, stephen.berman@gmx.net, kjambunathan@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 16:08:36 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsZLl-00070k-Nx for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 16:08:33 +0200 Original-Received: from localhost ([::1]:36356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZLl-000426-72 for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 10:08:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZLE-0003OW-LF for emacs-devel@gnu.org; Fri, 28 Jun 2013 10:08:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsZLD-00068E-BM for emacs-devel@gnu.org; Fri, 28 Jun 2013 10:08:00 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:54905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZLC-000681-Ta for emacs-devel@gnu.org; Fri, 28 Jun 2013 10:07:59 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MNwJx-1Uv1NI0xD9-007TEi for ; Fri, 28 Jun 2013 16:07:55 +0200 Original-Received: (qmail invoked by alias); 28 Jun 2013 14:07:55 -0000 Original-Received: from 62-47-58-248.adsl.highway.telekom.at (EHLO [62.47.58.248]) [62.47.58.248] by mail.gmx.net (mp033) with SMTP; 28 Jun 2013 16:07:55 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/ZmF1LFnjZjKEz6PyEO0l8qYbquO32s5viGt14Hk ovGJX0U0lBaGoZ In-Reply-To: <8361wyfkwk.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161210 Archived-At: >> We already earlier agreed with Juanma that this will only restore >> the default frame size of the present session. > > Then there are no more problems (and I don't understand what was that > discussion about, but I don't have to). We discussed whether we could do any better without too much overhead. >> I think we should do what can be done easily, like restoring the last >> previous sizes (as Juanma does already). > > If they can be restored, yes. If they can't, leave them at the size > the window manager manages to produce. Restoring the "size" is not overly difficult. With pixelwise resizing it should be even precise. What we cannot do easily is restoring the "state" as Jan calls it. In particular, the state where the window manager remembers (and subsequently can restore) the normal size of a maximized frame. martin