From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: [OT] How to save and restore window and frame layout and position of windows on monitor - session management Date: Mon, 3 Oct 2011 11:13:55 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0014853e3508efb89504ae6164ff Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAeb0-0006mw-2p for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 05:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAeay-0008IP-Gf for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 05:13:57 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:54176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAeay-0008IF-B4 for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 05:13:56 -0400 Received: by qyl38 with SMTP id 38so1891032qyl.0 for ; Mon, 03 Oct 2011 02:13:55 -0700 (PDT) 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 --0014853e3508efb89504ae6164ff Content-Type: text/plain; charset=ISO-8859-1 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 --0014853e3508efb89504ae6164ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

this is slightly off-topic, but I rather try it here first: I wou= ld 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=A0 http://www.emacswiki.= org/emacs/SessionManagement=A0 but each time I look at it, I get more c= onfused and lost.

So - does somebody use session management (I am at the moment only inte= rested 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 f= or a confused org-user to achieve this?

Thanks,

Rainer

--
Rainer M. Krug, PhD (= Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (G= ermany)

Centre of Excellence for Invasion Biology
Stellenbosch Un= iversity
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

--0014853e3508efb89504ae6164ff-- 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 > > 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 12:45:00 -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]:48986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAldY-00077i-RR for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 12:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAldW-0004QH-Rr for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 12:45:04 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAldW-0004Q7-KG for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 12:45:02 -0400 Received: by wyf22 with SMTP id 22so3858673wyf.0 for ; Mon, 03 Oct 2011 09:45:01 -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 * Also, there are these commands which may be what is sought (to "save stat= e"): ** "Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: desktop-change-dir desktop-clear desktop-read desktop-remove desktop-revert desktop-save desktop-save-in-desktop-dir desktop-save-mode > 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 hea= d >> 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 windo= w, >> 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 Biolo= gy, >> 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 >> >> > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Abrahams Subject: Re: [OT] How to save and restore window and frame layout and position of windows on monitor - session management Date: Mon, 03 Oct 2011 13:43:14 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAmeY-0001Uk-2M for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 13:50:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAmeW-00060n-Ie for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 13:50:10 -0400 Received: from lo.gmane.org ([80.91.229.12]:48381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAmeW-0005zf-CH for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 13:50:08 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RAmeU-0004k3-Tj for emacs-orgmode@gnu.org; Mon, 03 Oct 2011 19:50:06 +0200 Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2011 19:50:06 +0200 Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2011 19:50:06 +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 on Mon Oct 03 2011, brian powell wrote: > * 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). Aaagh, not another one! Now I have another package to evaluate. Can't the community settle on one solution to this problem? http://www.emacswiki.org/emacs/WorkgroupsForWindows -- Dave Abrahams BoostPro Computing http://www.boostpro.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [OT] How to save and restore window and frame layout and position of windows on monitor - session management Date: Tue, 4 Oct 2011 11:22:02 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016364ed524d9c15004ae759fdf Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB1CQ-0001np-B3 for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 05:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB1CO-00072S-EB for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 05:22:06 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:38561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB1CO-00072H-6X for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 05:22:04 -0400 Received: by qyl38 with SMTP id 38so3127228qyl.0 for ; Tue, 04 Oct 2011 02:22:03 -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: Dave Abrahams Cc: emacs-orgmode@gnu.org --0016364ed524d9c15004ae759fdf Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 3, 2011 at 7:43 PM, Dave Abrahams wrote: > > on Mon Oct 03 2011, brian powell wrote: > > > * 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). > > Aaagh, not another one! Now I have another package to evaluate. Can't > the community settle on one solution to this problem? > > http://www.emacswiki.org/emacs/WorkgroupsForWindows > Thanks for your replies - I'll look into WorkgroupsForWindows as it seems tho offer more options then the other and a better manual. I am already using desktop-save, but I have the feeling that it sometimes does not work. Cheers and thanks, Rainer > -- > Dave Abrahams > BoostPro Computing > http://www.boostpro.com > > > -- 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 --0016364ed524d9c15004ae759fdf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Oct 3, 2011 at 7:43 PM, Dave Abr= ahams <dave@boost= pro.com> wrote:

on Mon Oct 03 2011, brian powell <briangpowellms-AT-gmail.com> wrote:=

> * Discovered this a few days ago: Will it solve your "proble"= ;--which
> seems to be "saving state"; well, maybe, if you play with th= e code a
> little:
>
> ;;; perspective.el --- switch between named "perspectives" o= f 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).<= br>
Aaagh, not another one! =A0Now I have another package to evaluate. = =A0Can't
the community settle on one solution to this problem?

http://www.emacswiki.org/emacs/WorkgroupsForWindows

Thanks for your replies -=A0 I'll look into WorkgroupsForW= indows as it seems tho offer more options then the other and a better manua= l.

I am already using desktop-save, but I have the feeling that it sometim= es does not work.

Cheers and thanks,

Rainer


=

--
Dave Abrahams
BoostPro Computing
http://www.boostpro.c= om





--
Rainer M. Krug, = PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phy= s. (Germany)

Centre of Excellence for Invasion Biology
Stellenbos= ch 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

--0016364ed524d9c15004ae759fdf-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [OT] How to save and restore window and frame layout and position of windows on monitor - session management Date: Wed, 5 Oct 2011 10:26:36 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6551d5c66695d04ae88f778 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBMoJ-00013g-1f for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 04:26:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBMoH-0008Cc-6r for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 04:26:39 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:58655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBMoH-0008CI-2y for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 04:26:37 -0400 Received: by qyk27 with SMTP id 27so1418257qyk.0 for ; Wed, 05 Oct 2011 01:26: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: John Wiegley Cc: emacs-orgmode@gnu.org --0016e6551d5c66695d04ae88f778 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Oct 4, 2011 at 9:13 PM, John Wiegley wrote: > >>>>> 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): > Well - I want to use it with org-mode (org file, R session, second org file, ...) so it is not *that* OT, but only slightly. > 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. > Thanks for this info - I am using desktop.el, trying to get into workgroups.el, and have not thought about session.el yet - but I might look at it. Thanks for all the info, Rainer > 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 > > > -- 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 --0016e6551d5c66695d04ae88f778 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Oct 4, 2011 at 9:13 PM, John Wie= gley <jwiegley@g= mail.com> wrote:
>>>>> Rainer M Krug <r.m.krug@gmail.com> writes:

> I am already using desktop-save, but I have the feeling that it someti= mes
> does not work.

Just to note (and yes, this is very OT, so I won't say more):
=

Well - I want to use it with org-mode (org file, R se= ssion, second org file, ...) so it is not *that* OT, but only slightly.

WorkgroupsForWindows solves a different problem than desktop-save. =A0In fa= ct,
there are three aspects to the problem, best addressed by three different packages:

=A0session.el =A0 =A0 =A0-- Remembers:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- the values of global variable= s (like history rings)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- where point and mark were in = re-opened files
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- gives you a C-x C-/ binding: = pop to last change

=A0workgroups.el =A0 -- Remembers:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- one or more window configurat= ions per-frame
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- these can be saved and reload= ed
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- does *not* reload files, or r= erun apps,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0to populate those windows =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- lets you have a "base&qu= ot; and "active" state for
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0each named configuration, m= aking it easy to
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0revert back to the base sta= te for each

=A0desktop.el =A0 =A0 =A0-- Remembers:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- What files were open, and whi= ch apps were running,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0and tries to re-open and re= -run them so that Emacs
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0looks just like it did when= you exited.

Thanks for this info - I am using des= ktop.el, trying to get into workgroups.el, and have not thought about sessi= on.el yet - but I might look at it.

Thanks for all the info,

Rainer



I use the first two, and I've used the third, but I find that I prefer<= br> beginning with a fresh start each time I run Emacs, rather than seeing agai= n
all the hundreds of files I had open yesterday.

John





--
Rainer M. Krug, = PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phy= s. (Germany)

Centre of Excellence for Invasion Biology
Stellenbos= ch 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

--0016e6551d5c66695d04ae88f778--