From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Sun, 30 Jun 2013 11:25:18 -0400 Message-ID: <85mwq7sjs1.fsf@member.fsf.org> References: <51C5AA68.4000204@alice.it> <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> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <51CD788A.6080807@gmx.at> <85bo6ptiax.fsf@member.fsf.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372605923 27978 80.91.229.3 (30 Jun 2013 15:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 15:25:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 30 17:25:23 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 1UtJVD-0003hi-7d for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 17:25:23 +0200 Original-Received: from localhost ([::1]:38041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtJVC-0003iQ-Qm for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 11:25:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtJVA-0003iL-Ht for emacs-devel@gnu.org; Sun, 30 Jun 2013 11:25:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtJV9-0004W4-LK for emacs-devel@gnu.org; Sun, 30 Jun 2013 11:25:20 -0400 Original-Received: from vms173005pub.verizon.net ([206.46.173.5]:19724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtJV9-0004W0-F7 for emacs-devel@gnu.org; Sun, 30 Jun 2013 11:25:19 -0400 Original-Received: from TAKVER ([unknown] [71.241.247.125]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MP7005OSPI60520@vms173005.mailsrvcs.net> for emacs-devel@gnu.org; Sun, 30 Jun 2013 10:25:19 -0500 (CDT) In-reply-to: (Juanma Barranquero's message of "Sun, 30 Jun 2013 00:26:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.46.173.5 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:161351 Archived-At: Juanma Barranquero writes: > On Sat, Jun 29, 2013 at 10:47 AM, Stephen Leake > wrote: > >> I would prefer the restore operation to abort with a message "saved info >> is for a different display configuration". > > That leaves us with the problem of defining what a "display > configuration" is. A user name associated with a display size would work for a single display. I don't know how to detect multiple displays (I don't use any systems that have that). >> The next step would be to keep several saved configurations, and present >> a menu of which one to restore (one for laptop only, one for laptop plus >> home monitor, one for work monitor). > > You can already save & restore different configurations by saving > different desktops. That should be sufficient. The user can then choose the desktop to restore based on their knowledge of the display config. -- -- Stephe