From: Drew Adams <drew.adams@oracle.com>
To: jonetsu <jonetsu@teksavvy.com>, help-gnu-emacs@gnu.org
Subject: RE: Saving a window configuration ?
Date: Thu, 7 Mar 2019 10:50:09 -0800 (PST) [thread overview]
Message-ID: <1958042b-c6ec-4e29-b411-b6e5181db768@default> (raw)
In-Reply-To: <20190307130954.119349a7@mistral>
> > Yes, see frameset.el.
>
> I'm afraid this is only half of it. From the comments:
>
> ;; It should be noted that restoring the frames' windows depends on
> ;; the buffers they are displaying, but this package does not provide
> ;; any way to save and restore sets of buffers (see desktop.el for
> ;; that). So, it's up to the user of frameset.el to make sure that
> ;; any relevant buffer is loaded before trying to restore a frameset.
>
> If 15 files are opened and the frames are saved, then the files will
> need to be re-opened one by one and only after doing that can the
> saved positions and sized of the frames be restored to produce what's
> expected: restoring emacs like it was when last left, with all the
> files and all the frames. As far as I consider my query, this is
> pretty much half-cooked. What's the use of wanting to be able to
> restore emacs like it was with all the frame sizes and positions AND
> the files, in a single operation, if all the files have to be manually
> opened before ? If all the files have to be manually opened then might
> as well forget about the size and position of the frames and
> re-organize them.
>
> What I would like is to get back to emacs with the 15 files being
> displayed just like they were last time. The corollary to this
> mechanism would be that since it can do that, it can thus reload any
> other saved "buffers & frames" (B&F for short). So if I switch from one
> project to another I can save the current B&F and then switch to the
> other project's B&F in one operation, ready to continue from the exact
> same place it was left before. And later on switch back to the previous
> project's saved B&F
Have you tried `desktop.el'?
prev parent reply other threads:[~2019-03-07 18:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-06 22:39 Saving a window configuration ? jonetsu
2019-03-07 3:27 ` Eli Zaretskii
2019-03-07 3:44 ` YUE Daian
2019-03-07 18:09 ` jonetsu
2019-03-07 18:48 ` Robert Pluim
2019-03-07 21:22 ` jonetsu
2019-03-07 21:46 ` Drew Adams
2019-03-08 7:18 ` Eli Zaretskii
2019-03-08 10:17 ` Robert Pluim
2019-03-07 18:50 ` Drew Adams [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1958042b-c6ec-4e29-b411-b6e5181db768@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=jonetsu@teksavvy.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.