From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 17:13:49 +0200 Message-ID: <65CCDFB2-4818-4576-A093-3ED5FC3F6AE8@swipnet.se> 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> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipne t.se> <51CD97B6.7050809@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372432443 17409 80.91.229.3 (28 Jun 2013 15:14:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 15:14:03 +0000 (UTC) Cc: Angelo Graziosi , Juanma Barranquero , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 17:14:02 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 1UsaN7-00035x-UV for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 17:14:02 +0200 Original-Received: from localhost ([::1]:58929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsaN7-0007uD-G9 for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 11:14:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsaN1-0007pX-UG for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:13:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsaMz-0005Lj-Un for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:13:55 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:48817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsaMz-0005Kt-Ip for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:13:53 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 37A3FC18E for ; Fri, 28 Jun 2013 17:13:51 +0200 (CEST) Original-Received: (qmail 3386 invoked by uid 89); 28 Jun 2013 15:13:51 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.melmac.se with ESMTPA; 28 Jun 2013 15:13:51 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id CFE831A026F; Fri, 28 Jun 2013 15:13:50 +0000 (UTC) In-Reply-To: <51CD97B6.7050809@gmx.at> X-Mailer: Apple Mail (2.1508) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 62.20.26.67 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:161229 Archived-At: Hi. 28 jun 2013 kl. 16:03 skrev martin rudalics : > Let me try to recapitulate: The problem is what to do when saving and > restoring a maximized frame. We can't get the location/size it had > before maximizing it easily, so Juanma's proposal goes as follows. >=20 > (1) Create the frame _ignoring_ the saved size/location related frame > parameters. >=20 > (2) Ask the window manager to maximize the frame. >=20 > When the user now demaximizes the frame, it will appear at its default > location with a default size. Does this match what you stated above? Yes, except 1 and 2 are the same operation if the frame is created with = the appropriate frame parameter. The size/location info for the frame = is ignored, so you don't really have to special case it so as not to set = it. Jan D.