From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 15:46:10 +0300 Message-ID: <83a9maflnx.fsf@gnu.org> 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> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <"51CD6324.2 040504"@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1372423656 12333 80.91.229.3 (28 Jun 2013 12:47:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 12:47:36 +0000 (UTC) Cc: angelo.graziosi@alice.it, lekktu@gmail.com, emacs-devel@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca, stephen.berman@gmx.net, kjambunathan@gmail.com To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 14:47: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 1UsY5O-0001tM-RQ for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 14:47:34 +0200 Original-Received: from localhost ([::1]:54570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsY5O-0004py-HT for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 08:47:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsY56-0004R5-GG for emacs-devel@gnu.org; Fri, 28 Jun 2013 08:47:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsY55-0001RL-Hm for emacs-devel@gnu.org; Fri, 28 Jun 2013 08:47:16 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:57173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsY55-0001Qw-91 for emacs-devel@gnu.org; Fri, 28 Jun 2013 08:47:15 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MP300400SL2L000@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 28 Jun 2013 15:46:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP3004UUSSZFZ50@a-mtaout21.012.net.il>; Fri, 28 Jun 2013 15:46:12 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:161197 Archived-At: > From: Jan Dj=E4rv > Date: Fri, 28 Jun 2013 12:26:47 +0200 > Cc: Angelo Graziosi , > Juanma Barranquero , > Emacs developers , > Stefan Monnier , > Eli Zaretskii , > Stephen Berman , > Jambunathan K >=20 > So I guess you have to implement a smallish window manager to get t= his right, i.e. handle resolution that differs from the one saved, wh= en previous visible frames vould now be invisible, handle frames that= spanned multiple monitors, but those monitors anre no longer availab= le, and so on. This is a hard problem. 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.