From mboxrd@z Thu Jan 1 00:00:00 1970 From: brian powell Subject: Re: [OT] How to save and restore window and frame layout and position of windows on monitor - session management Date: Mon, 3 Oct 2011 11:52:36 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAkot-0004iD-4g for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 11:52:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAkoo-0001Yi-GC for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 11:52:43 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:43634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAkoo-0001YV-18 for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 11:52:38 -0400 Received: by wyf22 with SMTP id 22so3790251wyf.0 for ; Mon, 03 Oct 2011 08:52:36 -0700 (PDT) In-Reply-To: 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: Rainer M Krug Cc: emacs-orgmode * Discovered this a few days ago: Will it solve your "proble"--which seems to be "saving state"; well, maybe, if you play with the code a little: ;;; perspective.el --- switch between named "perspectives" of the editor ;; Copyright (C) 2008-2010 Nathan Weizenbaum ;; ;; Licensed under the same terms as Emacs. ;; Author: Nathan Weizenbaum ;; URL: http://github.com/nex3/perspective-el ;; Version: 1.6 ;; Created: 2008-03-05 ;; By: Nathan Weizenbaum ;; Keywords: workspace, convenience, frames ;;; Commentary: ;; This package provides tagged workspaces in Emacs, similar to ;; workspaces in windows managers such as Awesome and XMonad (and ;; somewhat similar to multiple desktops in Gnome or Spaces in OS X). ;; perspective.el provides multiple workspaces (or "perspectives") for ;; each Emacs frame. This makes it easy to work on many separate projects ;; without getting lost in all the buffers. ;; Each perspective is composed of a window configuration and a set of ;; buffers. Switching to a perspective activates its window ;; configuration, and when in a perspective only its buffers are ;; available by default. On Mon, Oct 3, 2011 at 5:13 AM, Rainer M Krug wrote: > Hi > > this is slightly off-topic, but I rather try it here first: I would like = to > save my window and frame layout and restore it after re-starting emacs. I > have the buffers auto saved, and that is working. But I don't get my head > around the session management. I found the website > http://www.emacswiki.org/emacs/SessionManagement=A0 but each time I look = at > it, I get more confused and lost. > > So - does somebody use session management (I am at the moment only > interested to getting back the layout of the different frames in a window= , > and all open windows restored) and could share some insight and code > snippets for a confused org-user to achieve this? > > Thanks, > > Rainer > > -- > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biolog= y, > UCT), Dipl. Phys. (Germany) > > Centre of Excellence for Invasion Biology > Stellenbosch University > South Africa > > Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44 > Cell: =A0 =A0 =A0 +33 - (0)6 85 62 59 98 > Fax (F): =A0 =A0 =A0 +33 - (0)9 58 10 27 44 > > Fax (D): =A0 =A0+49 - (0)3 21 21 25 22 44 > > email: =A0 =A0 =A0Rainer@krugs.de > > Skype: =A0 =A0 =A0RMkrug > >