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: Sat, 29 Jun 2013 10:29:57 +0200 Message-ID: <51CE9B05.1090202@gmx.at> References: <51C5AA68.4000204@alice.it> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CCA7DC.8060605@gmx.at> <83fvw2g44j.fsf@gnu.org> 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 1372494611 5728 80.91.229.3 (29 Jun 2013 08:30:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 08:30:11 +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 Sat Jun 29 10:30:10 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 1UsqXq-0006zO-7h for ged-emacs-devel@m.gmane.org; Sat, 29 Jun 2013 10:30:10 +0200 Original-Received: from localhost ([::1]:59851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsqXp-00057U-Pl for ged-emacs-devel@m.gmane.org; Sat, 29 Jun 2013 04:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsqXm-00055H-Rl for emacs-devel@gnu.org; Sat, 29 Jun 2013 04:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsqXl-0001oT-EU for emacs-devel@gnu.org; Sat, 29 Jun 2013 04:30:06 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:50834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsqXl-0001iJ-5M for emacs-devel@gnu.org; Sat, 29 Jun 2013 04:30:05 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.27]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Mgqx4-1UfhPf03Lk-00M04N for ; Sat, 29 Jun 2013 10:30:03 +0200 Original-Received: (qmail invoked by alias); 29 Jun 2013 08:30:02 -0000 Original-Received: from 62-47-51-62.adsl.highway.telekom.at (EHLO [62.47.51.62]) [62.47.51.62] by mail.gmx.net (mp027) with SMTP; 29 Jun 2013 10:30:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/Vxxw/8R3V69RInx8oxw+pHWoyQ+BizS5RgeS7rs lEhw6Uji8fuHbD In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.21 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:161266 Archived-At: > It could be customized, of course. We could change the meaning of > desktop-save-windows (currently a boolean flag), to have: > > - t : restore all frames in their displays > - local-state: only frames already in the current display > - current-display: restore frames in the current display > > etc. (with better names) I think we should do that. We probably should also rename the basic option to `desktop-restore-frames' and include an option for frame positioning/sizing where the latter could assume values like 'accurate or 'sloppy with 'accurate trying to restore positions and sizes as accurately as possible, while 'sloppy could, for example, try to reposition and/or resize frames so they fit a new screen dimension. martin