GNU bug report logs - #9105
Feature req: Remembering emacs frames, windows, buffer position to subsequent session

Previous Next

Package: emacs;

Reported by: gebser <at> mousecar.com

Date: Sun, 17 Jul 2011 05:11:01 UTC

Severity: wishlist

Merged with 9985

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 9105 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: gebser <at> mousecar.com
Cc: 9105 <at> debbugs.gnu.org, GNU Emacs List <help-gnu-emacs <at> gnu.org>
Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer
	position to subsequent session
Date: Sun, 17 Jul 2011 19:42:18 +0200
> Where do I find these two functions?

In window.el of the development version, that is Emacs 24.0.50.1.

> 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?

You will have to install Emacs 24 on your system.  After that you will
have to write two functions - one that writes for each frame the value
returned by `window-state-get' on file together with the parameters of
the frame, and one that reads the values from file, creates a new frame
for each entry, and uses `window-state-put' to restore the window
layouts within that frame.  All this after you have recreated the
buffers visiting files.  And you have to decide what to do with windows
whose buffers did not visit a file in the old session.

martin




This bug report was last modified 10 years and 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.