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 16:02:43 +0200 Message-ID: <51CD9783.1090409@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@gmx.at> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372428180 31884 80.91.229.3 (28 Jun 2013 14:03:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 14:03:00 +0000 (UTC) Cc: Stephen Berman , Angelo Graziosi , Emacs developers , Stefan Monnier , Eli Zaretskii , =?UTF-8?B?SmFuIERqw6Rydg==?= , Jambunathan K To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 16:03:01 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 1UsZGO-00025T-DL for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 16:03:00 +0200 Original-Received: from localhost ([::1]:53810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZGO-0006IE-1T for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 10:03:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZGG-0006Hw-SE for emacs-devel@gnu.org; Fri, 28 Jun 2013 10:02:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsZGD-00042d-GR for emacs-devel@gnu.org; Fri, 28 Jun 2013 10:02:52 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:53831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZGD-000428-6L for emacs-devel@gnu.org; Fri, 28 Jun 2013 10:02:49 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.16]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0LeP1H-1USsQt1VcL-00q87h for ; Fri, 28 Jun 2013 16:02:46 +0200 Original-Received: (qmail invoked by alias); 28 Jun 2013 14:02:46 -0000 Original-Received: from 62-47-58-248.adsl.highway.telekom.at (EHLO [62.47.58.248]) [62.47.58.248] by mail.gmx.net (mp016) with SMTP; 28 Jun 2013 16:02:46 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18UhYQFnbEUdXvW885HZuBEn0NKUQ87lUT5smIe7p sGczluviOOiWZd In-Reply-To: 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:161206 Archived-At: >> It is overkill to to that, just make the frames and maximize/fullscreen them >> as they where when the desktop was saved. It is a mistake to try to be a >> window manager and force frames to exact positions. > > What you call a mistake, I call the main thing that would make the > save&restore feature worth using for me. I don't want frames restored > if they are not at the same place they were before. While I agree with you, Jan has a point: Forcing an exact position might move the Emacs window to a place occupied by another application. >> 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? > > This is an interesting use case which we will have to deal with at > some point. But I'm sure the more common use case will be people using > s&r in the same computer with the same setup. If we don't save the > frame sizes and positions (and, if posible, max/full state) you can > bet we'll get an endless stream of bug reports (not wishlist > enhancements, but bug reports) about that behavior. I think so too. > I would personally > file the first one. martin