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 12:19:16 +0200 Message-ID: <51CD6324.2040504@gmx.at> References: <51C5AA68.4000204@alice.it> <51C8B2C8.4000803@gmx.at> <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@g mx.at> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> 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 1372414771 12034 80.91.229.3 (28 Jun 2013 10:19:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 10:19:31 +0000 (UTC) Cc: Angelo Graziosi , Juanma Barranquero , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 12:19:31 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 1UsVm5-00070N-QD for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 12:19:29 +0200 Original-Received: from localhost ([::1]:58548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsVm5-0003EU-IX for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 06:19:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsVm2-0003EP-3D for emacs-devel@gnu.org; Fri, 28 Jun 2013 06:19:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsVlx-0008To-EZ for emacs-devel@gnu.org; Fri, 28 Jun 2013 06:19:26 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:52919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsVlx-0008TR-5a for emacs-devel@gnu.org; Fri, 28 Jun 2013 06:19:21 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0M3PXK-1U1mh60eo4-00qwrx for ; Fri, 28 Jun 2013 12:19:20 +0200 Original-Received: (qmail invoked by alias); 28 Jun 2013 10:19:20 -0000 Original-Received: from 62-47-42-43.adsl.highway.telekom.at (EHLO [62.47.42.43]) [62.47.42.43] by mail.gmx.net (mp032) with SMTP; 28 Jun 2013 12:19:20 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+UPJgZJ6OUvABHJCKmv9ifivFSP7VcxUCHeh1PHp +8dYzzteGyXakD In-Reply-To: <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> 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.15.18 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:161181 Archived-At: > It is overkill to to that, just make the frames and > maximize/fullscreen them as they where when the desktop was saved. Juanma already proposed to use just the default value before maximizing the frame. > It > is a mistake to try to be a window manager and force frames to exact > positions. For example, a common use case for me is to have multiple > monitors at work. I have some Emacs frames at these monitors. When I > get home, I don't have these monitors, just the laptop screen. Where > does my Emacs frames end up in your scheme when I'm at home? > Offscreen at some unaccessable coordinate? Better let the window > manager deal with this, in most cases it will make these frames > visible, which is what I want. This problem exists independently from whether we want to save prior positions/sizes since usually we do want to at least restore the sizes of non-maximized frames. And in some cases we probably should restore the positions too - think of an attached speedbar frame. martin