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: Sun, 30 Jun 2013 14:55:12 +0200 Message-ID: <51D02AB0.5070103@gmx.at> References: <51C5AA68.4000204@alice.it> <51CC4CC1.3030202@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> 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 1372596974 10020 80.91.229.3 (30 Jun 2013 12:56:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 12:56:14 +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 Sun Jun 30 14:56:11 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 1UtHAo-0000GQ-42 for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 14:56:10 +0200 Original-Received: from localhost ([::1]:57161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtHAn-0008E7-QC for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 08:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtHA2-0007Pl-SY for emacs-devel@gnu.org; Sun, 30 Jun 2013 08:55:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtHA1-00034T-1c for emacs-devel@gnu.org; Sun, 30 Jun 2013 08:55:22 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:62013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtHA0-000341-Oq for emacs-devel@gnu.org; Sun, 30 Jun 2013 08:55:20 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Lj83k-1UO3g12Psc-00dGFO for ; Sun, 30 Jun 2013 14:55:19 +0200 Original-Received: (qmail invoked by alias); 30 Jun 2013 12:55:19 -0000 Original-Received: from 62-47-33-234.adsl.highway.telekom.at (EHLO [62.47.33.234]) [62.47.33.234] by mail.gmx.net (mp032) with SMTP; 30 Jun 2013 14:55:19 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/r9QYzQr/rubjjlAeh/yOI5zCwOU35A2APRV8CW4 Z2Ty5KMLnziO+R 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:161344 Archived-At: > Sorry, you lost me here. I proposed turning desktop-save-windows into > a multi-valued custom, and you agreed. I suppose that means you > changed your mind? I'm still uncertain what would be best. > Also, you proposed to rename the option to desktop-restore-frames, > and/or do you propose now to reserve that name for the > "display/monitors" option you're suggesting? > > I'm not arguing for/against anything, just trying to understand what > is being suggested, exactly. I'd vote for one basic option called `desktop-restore-frames' because I'd probably always save windows and frames (virtually everything that could be useful) and leave it to the restoration routine to decide whether and which items shall be restored. This option should be boolean in order to not confuse users too much and I would probably turn it on by default. Other options should be added when we see that we need them. Two candidates we have discussed so far are what I would call `desktop-restore-frame-positions' where possible values are to do that as accurately as possible (with the potential for failure) and less accurately, leaving the decision mainly to the window manager. The other option would be something like `desktop-restore-frame-displays' to specify whether we should try to restore frames on multiple monitors and the like. But I have no really strong opinion and preferably leave the decision to you. martin