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:22:40 +0200 Message-ID: <2ABAD72B-9408-4DEA-A96E-B8CE2A515BF8@swipnet.se> References: <51C5AA68.4000204@alice.it> <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> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <"51CD6324.2 040504"@gmx.at> <83a9maflnx.fsf@gnu.org> <51CD97C5.6030 000@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 1372432972 24342 80.91.229.3 (28 Jun 2013 15:22:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 15:22:52 +0000 (UTC) Cc: angelo.graziosi@alice.it, lekktu@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, Eli Zaretskii , stephen.berman@gmx.net, kjambunathan@gmail.com To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 17:22:51 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 1UsaVf-0001vm-Cy for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 17:22:51 +0200 Original-Received: from localhost ([::1]:34189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsaVe-0001vh-Lo for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 11:22:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsaVZ-0001u5-JD for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:22:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsaVW-0000Rj-Up for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:22:45 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:48945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsaVW-0000Ra-NZ for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:22:42 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 0850AC1F8 for ; Fri, 28 Jun 2013 17:22:42 +0200 (CEST) Original-Received: (qmail 8009 invoked by uid 89); 28 Jun 2013 15:22:41 -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:22:41 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 918E81A0227; Fri, 28 Jun 2013 15:22:41 +0000 (UTC) In-Reply-To: <51CD97C5.6030000@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:161232 Archived-At: Hi. 28 jun 2013 kl. 16:03 skrev martin rudalics : > > I see no need for anything as complicated as this. Just restore = each > > frame to their recorder size if possible, and let it have some other > > size (determined by the window manager) if not. >=20 > This would mean that a maximized frame occupies the entire screen = after > it has been demaximized. This is not true for many X window managers. It will take the user or = program size, specified at startup, and demaximize to that. Emacs sets = the program size to the size in the frame parameters when creating a = frame. So when I do: (make-frame '((fullscreen . maximized))) and de-maximize it, it comes out as a frame with geometry 80x32. Of = course, the position is whatever the WM chooses. This is not a formal = protocol of how window managers should behave, but many do it like this. Jan D.