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: Mon, 01 Jul 2013 08:48:01 +0200 Message-ID: <51D12621.2080402@gmx.at> References: <51C5AA68.4000204@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CCA7DC.8060605@gmx.at> <83fvw2g44j.fsf@gnu.org> <51CE9B05.1090202@gmx.at> <51CFFBED.7090400@gmx.at> <51D02AB0.5070103@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372661300 18622 80.91.229.3 (1 Jul 2013 06:48:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 06:48:20 +0000 (UTC) Cc: Angelo Graziosi , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 01 08:48:20 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 1UtXuN-00016f-Q4 for ged-emacs-devel@m.gmane.org; Mon, 01 Jul 2013 08:48:19 +0200 Original-Received: from localhost ([::1]:51919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtXuN-0004wP-FY for ged-emacs-devel@m.gmane.org; Mon, 01 Jul 2013 02:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtXuI-0004w5-3Q for emacs-devel@gnu.org; Mon, 01 Jul 2013 02:48:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtXuF-0002je-FH for emacs-devel@gnu.org; Mon, 01 Jul 2013 02:48:14 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:53815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtXuF-0002jJ-55 for emacs-devel@gnu.org; Mon, 01 Jul 2013 02:48:11 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0M9tl0-1V4WFm0JFw-00B81Y for ; Mon, 01 Jul 2013 08:48:10 +0200 Original-Received: (qmail invoked by alias); 01 Jul 2013 06:48:09 -0000 Original-Received: from 62-47-61-240.adsl.highway.telekom.at (EHLO [62.47.61.240]) [62.47.61.240] by mail.gmx.net (mp033) with SMTP; 01 Jul 2013 08:48:09 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/vLT5G3D7vOU+H/+OgiESPc7vNuYZt/gmF1BkFO5 rY0UlmqAqTZBQb 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.17.20 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:161395 Archived-At: > I still don't see much use for desktop-restore-frame-positions. On one= > hand, if you s&r in the same display (which I na=C3=AFvely assume is t= he > most common use case), positions and sizes are preserved and removing > that info to let the window manager do its thing is a bit strange, > and, as discussed before, it could fail for some frame configurations > with small windows. Agreed. That would be the default and most users won't care about such an option. > On the other hand, if you restore in a different > display, or a different monitor size, that's a problem that we should > try to solve, even if only partially, regardless of any user option > setting... Agreed as well. But the options here could be to (1) just fail restoring frames when they cannot be restored accurately, (2) try to move them into the visible part of the screen (workarea), and (3) leave the decision where to place them to the window manager making only sure that they are large enough. And we could start doing this after we get the first bug report in this area (this means, hopefully, never). > desktop-restore-frame-displays makes more sense because > there are already users who prefer it that way (like Stefan). OK. martin