[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: session management with desktop and window configuration
From: |
Lennart Borgman |
Subject: |
Re: session management with desktop and window configuration |
Date: |
Thu, 31 Dec 2009 17:22:38 +0100 |
On Thu, Dec 31, 2009 at 5:16 PM, Richard Riley <rileyrgdev@gmail.com> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>>>
>>> Thanks for your reply. So, I wrote some functions using revive.el:
>>>
>>> (require 'revive)
>>> (defun kiwon/save-window-configuration ()
>>> (write-region (concat "(restore-window-configuration '"
>>> (prin1-to-string
>>> (current-window-configuration-printable))
>>> ")")
>>> nil ".emacs.restore-window.el"))
>>> (defun kiwon/restore-window-configuration ()
>>> (when (file-exists-p ".emacs.restore-window.el")
>>> (load-file ".emacs.restore-window.el")))
>>>
>>> (add-hook 'desktop-save-hook 'kiwon/save-window-configuration)
>>> (add-hook 'desktop-after-read-hook 'kiwon/restore-window-configuration)
>>>
>>> It seems to be enough to what I wanted. :)
>>
>> Nice. I have seen revive but have not looked into it. There is also
>> winsav.el in nXhtml that can save and restore frames and windows.
>> (Martin, I am a bit surprised that you do not know about it. Didn't I
>> tell about this before?)
>>
>
> windows.el does for me.
What is windows.el, where can we find it?
- session management with desktop and window configuration, Kiwon Um, 2009/12/31
- Re: session management with desktop and window configuration, martin rudalics, 2009/12/31
- Re: session management with desktop and window configuration, Kiwon Um, 2009/12/31
- Re: session management with desktop and window configuration, Lennart Borgman, 2009/12/31
- Re: session management with desktop and window configuration, Richard Riley, 2009/12/31
- Re: session management with desktop and window configuration,
Lennart Borgman <=
- Re: session management with desktop and window configuration, Richard Riley, 2009/12/31
- Re: session management with desktop and window configuration, Vicente Hernando Ara, 2009/12/31
- Re: session management with desktop and window configuration, Lennart Borgman, 2009/12/31
- Re: session management with desktop and window configuration, martin rudalics, 2009/12/31
- Re: session management with desktop and window configuration, Lennart Borgman, 2009/12/31
- Re: session management with desktop and window configuration, martin rudalics, 2009/12/31
- Re: session management with desktop and window configuration, Lennart Borgman, 2009/12/31