unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jonetsu <jonetsu@teksavvy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Saving a window configuration ?
Date: Thu, 7 Mar 2019 13:09:54 -0500	[thread overview]
Message-ID: <20190307130954.119349a7@mistral> (raw)
In-Reply-To: <83wolbbbzk.fsf@gnu.org>

On Thu, 07 Mar 2019 05:27:11 +0200
Eli Zaretskii <eliz@gnu.org> wrote:

> 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 



  parent reply	other threads:[~2019-03-07 18:09 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 [this message]
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

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20190307130954.119349a7@mistral \
    --to=jonetsu@teksavvy.com \
    --cc=help-gnu-emacs@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.
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).