----- Original Message ----- 
From: "Paul Kinnucan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 11, 2000 2:17 AM
Subject: Re: Off-topic: desktop.el and window registers

> 
> Hi Ray,
> 
> AFAIK, there is no quick-and-dirty way to do what you want. The Emacs
> window configuration functions save windows configurations as opaque lisp
> objects. There is no direct way to write opaque Lisp objects to a file and
> recover them. To do what you want is, I believe, possible in Lisp, but
> would require a Lisp program that cycles through all the frames open in
> your session, gets and saves their screen locations and sizes to a file
> and, for each frame, the windows open in each frame, their heights, and the
> files displayed in each frame. I don't know of any existing Lisp program
> that does this.
> 
> - Paul

I use windows.el and revive.el they do exactly that.
You can save window,frame configurations to a file, in fact I have many configuration 
files with different settings.

The way I use the program is for each project to have one .windows configuration file 
that stores all my open files, windows, frames etc...
This way whenever I work on a project I begin by reviving the last status of that 
project and immediately I get up my emacs exactly as I left it for that project !


See: http://www.gentei.org/~yuuji/software/

More Info:

;;;  Window manager for GNU Emacs
;;;
;;;[What is Windows?]
;;;
;;;   You can divide  the screen of GNU Emacs  as many as you  like.
;;; Since efficiency of implementation or so  depends  much  on  the
;;; style  of  window division,  you  may have  your  own  style  of
;;; partitioning.   But  if you  switch the  mode to  e-mail mode or
;;; NetNews mode, they break your favorite style.
;;;   Windows.el  enables  you  to  have  multiple  favorite  window
;;; configurations at the  same time, and switch them.  Furthermore,
;;; it can save all window  configurations into a  file and  restore
;;; them correctly.
;;;


;;;[What is `revive'?]
;;;
;;;   Revive.el  saves current editing  status including  the window
;;; splitting   configuration,   which   can't   be   recovered   by
;;; `desktop.el' nor by `saveconf.el', into a file  and reconstructs
;;; that status correctly.
;;;

/ Andreas Wieweg









Reply via email to