From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Sun, 30 Jun 2013 23:32:19 +0200 Message-ID: <8913208E-7FE2-41F5-AC93-000108413C47@swipnet.se> References: <51C5AA68.4000204@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CD49CF.1090103@gmx.at> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <51CD6324.2040504@gmx.at> <834ncifkq9.fsf@gnu.org> <83zjuae19s.fsf@gnu.org> <83r4fmdsw5.fsf@gnu.org> <85k3ldtion.fsf@member.fsf.org> <4E4C522D-DBCC-4133-A764-82C9CCE81E2D@swipnet.se> <51D02AC5 .20705@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372627952 2144 80.91.229.3 (30 Jun 2013 21:32:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 21:32:32 +0000 (UTC) Cc: martin rudalics , Emacs developers , Stephen Leake To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 30 23:32:32 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 1UtPEV-0000SV-A2 for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 23:32:31 +0200 Original-Received: from localhost ([::1]:60468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtPEU-0007Qq-P3 for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 17:32:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtPEP-0007QC-Lu for emacs-devel@gnu.org; Sun, 30 Jun 2013 17:32:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtPEO-0004J7-Oq for emacs-devel@gnu.org; Sun, 30 Jun 2013 17:32:25 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:46968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtPEO-0004Iq-Hj for emacs-devel@gnu.org; Sun, 30 Jun 2013 17:32:24 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id ADD78CC22 for ; Sun, 30 Jun 2013 23:32:21 +0200 (CEST) Original-Received: (qmail 27949 invoked by uid 89); 30 Jun 2013 21:32:21 -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; 30 Jun 2013 21:32:21 -0000 Original-Received: from [172.20.199.240] (unknown [172.20.199.240]) by coolsville.localdomain (Postfix) with ESMTPSA id 575EF1A0270; Sun, 30 Jun 2013 21:32:21 +0000 (UTC) In-Reply-To: X-Mailer: iPhone Mail (10B350) 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:161382 Archived-At: Hello.=20 30 jun 2013 kl. 20:03 skrev Juanma Barranquero : >=20 > At this point, I'd be very grateful if people could explain what kind > of behavior are they suggesting with respect to frames that fall > wholly or partially outside a visible screen area. I mean, I don't > want to write (because I don't think that belongs into desktop.el) an > elisp window manager which will detect that the display size, or the > number of monitors, has changed, and that will try to resize the > frames to fit them like a puzzle in the current display. That's a case > whose failure mode IMHO should simply be to try and make sure that > frame captions (to allow grabbing and moving the frame) fall inside > their displays. >=20 I would expect that if a saved frame position is not available, the frame wo= uld be recreated at some default position, i.e. let the window manager desid= e.=20 If the position is available, I'd expect the frame to be recreated there eve= n if the size might no longer fit (the monitor is smaller). Some window mana= gers will resize the frame to fit, so Emacs should not bother to try to fit t= he size.=20 Jan D.=20=