From: John Wiegley <jwiegley@gmail.com>
To: 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: Tue, 04 Oct 2011 14:13:05 -0500 [thread overview]
Message-ID: <m2r52so9j2.fsf@gmail.com> (raw)
In-Reply-To: CAGhLh6EJjBCJ8V87uROLk1Z3EgfrpLqVRcXFaSfafdibDoWU_w@mail.gmail.com
>>>>> Rainer M Krug <r.m.krug@gmail.com> 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
next prev parent reply other threads:[~2011-10-04 21:00 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
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 [this message]
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=m2r52so9j2.fsf@gmail.com \
--to=jwiegley@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).