From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: [OT] How to save and restore window and frame layout and position of windows on monitor - session management Date: Tue, 04 Oct 2011 14:13:05 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBC64-0006Cr-Ni for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 17:00:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBC62-0006W4-CA for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 17:00:16 -0400 Received: from lo.gmane.org ([80.91.229.12]:58786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBC61-0006Vp-SS for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 17:00:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBC5z-00035u-JQ for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 23:00:11 +0200 Received: from c-98-215-105-167.hsd1.il.comcast.net ([98.215.105.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 23:00:11 +0200 Received: from jwiegley by c-98-215-105-167.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 23:00:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org >>>>> Rainer M Krug writes: > I am already using desktop-save, but I have the feeling that it sometimes > does not work. Just to note (and yes, this is very OT, so I won't say more): WorkgroupsForWindows solves a different problem than desktop-save. In fact, there are three aspects to the problem, best addressed by three different packages: session.el -- Remembers: - the values of global variables (like history rings) - where point and mark were in re-opened files - gives you a C-x C-/ binding: pop to last change workgroups.el -- Remembers: - one or more window configurations per-frame - these can be saved and reloaded - does *not* reload files, or rerun apps, to populate those windows - lets you have a "base" and "active" state for each named configuration, making it easy to revert back to the base state for each desktop.el -- Remembers: - What files were open, and which apps were running, and tries to re-open and re-run them so that Emacs looks just like it did when you exited. I use the first two, and I've used the third, but I find that I prefer beginning with a fresh start each time I run Emacs, rather than seeing again all the hundreds of files I had open yesterday. John