unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ken <gebser@mousecar.com>
To: martin rudalics <rudalics@gmx.at>,
	GNU Emacs List <help-gnu-emacs@gnu.org>
Cc: 9105@debbugs.gnu.org
Subject: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session
Date: Sun, 17 Jul 2011 11:56:09 -0400	[thread overview]
Message-ID: <4E230619.6090205__17657.0398537026$1310919065$gmane$org@mousecar.com> (raw)
In-Reply-To: <4E22AF7A.1080102@gmx.at>

On 07/17/2011 05:46 AM martin rudalics wrote:
>> Often I'll have five or more frames open, some split vertically, perhaps
>> a couple split horizontally, all of them with different files (or
>> "buffers") in them-- though in some instances it's possible to have the
>> same buffer in more than one window or frame.  When I close emacs down
>> and then invoke it again, I'd like to have the same windows come up,
>> split the same way, with the same buffers/files in each frame and
>> window, and even with the frames in the same location onscreen as they
>> were in the prior session.  In short, the current session should be set
>> up exactly like the prior session at the time it was closed.
> 
> All this should be doable now using the functions `window-state-get' and
> `window-state-put'.  Could you try implementing this in desktop.el?
> 
> martin

Thanks, Martin!

Where do I find these two functions?

Once I download them, would it make any difference if I put them in my
emacs-path rather than inserting them in or appending them to desktop.el?

Thanks++,
ken






  parent reply	other threads:[~2011-07-17 15:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110716204736.5d3e63ef@chaostal.de>
     [not found] ` <87ei1qqawk.wl%v.plechinger@gmail.com>
     [not found]   ` <20110717013918.7fd31f15@chaostal.de>
2011-07-17  5:07     ` bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session ken
2011-07-17  9:46       ` martin rudalics
2011-07-17 13:16         ` Drew Adams
2011-07-17 22:57           ` Juri Linkov
2011-07-17 15:56         ` ken [this message]
     [not found]         ` <4E230619.6090205@mousecar.com>
2011-07-17 17:42           ` martin rudalics
2011-07-17 22:59             ` Juri Linkov
2011-07-17 22:54       ` Juri Linkov
2011-07-18  8:52         ` Jan Djärv
2008-11-14 22:46 bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows Themba Fletcher
2014-09-21 18:02 ` martin rudalics
2014-09-22  9:07   ` bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session martin rudalics

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='4E230619.6090205__17657.0398537026$1310919065$gmane$org@mousecar.com' \
    --to=gebser@mousecar.com \
    --cc=9105@debbugs.gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    /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.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).