[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [OT] How to save and restore window and frame layout and positio

From: John Wiegley
Subject: Re: [O] [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
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin)

>>>>> Rainer M Krug <address@hidden> 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

  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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]