emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: brian powell <briangpowellms@gmail.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <CAFm0skHiCS7MTVxqZbbKY5wLnPxcWiV=HVM=mESp0SsT6C+6Sw@mail.gmail.com> (raw)
In-Reply-To: <CAGhLh6GZd5KM8nw13kzfX9Y-0fOQ33aQpHmhb4GmNAQepUm8xw@mail.gmail.com>

* 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 <nex342@gmail.com>
;;
;; 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 <r.m.krug@gmail.com> 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  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 Biology,
> UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
>
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax (F):       +33 - (0)9 58 10 27 44
>
> Fax (D):    +49 - (0)3 21 21 25 22 44
>
> email:      Rainer@krugs.de
>
> Skype:      RMkrug
>
>

  reply	other threads:[~2011-10-03 15:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03  9:13 [OT] How to save and restore window and frame layout and position of windows on monitor - session management Rainer M Krug
2011-10-03 15:52 ` brian powell [this message]
2011-10-03 16:45   ` brian powell
2011-10-03 17:43   ` Dave Abrahams
2011-10-04  9:22     ` Rainer M Krug
2011-10-04 19:13       ` John Wiegley
2011-10-05  8:26         ` Rainer M Krug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFm0skHiCS7MTVxqZbbKY5wLnPxcWiV=HVM=mESp0SsT6C+6Sw@mail.gmail.com' \
    --to=briangpowellms@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).