I use emacs for working on various projects in different programming languages. While working on those projects, I modify the environment a lot. Most notably, I split the window in a specific way, load a lot of files and sometimes change the mode on those files.
Everytime I start working on a project, I have to make those same changes. Furthermore, changing between the projects is a pain.
While I know of desktop-mode, it doesn't solve problems like window splitting.
What I would like to have is something like eclipse offers with its workspaces: On start of the program, it asks for a workspace and, if one is existant, restores the previous look and feel.
How do you achieve something similar? If you use one of the many workspace/project-hooks, which hook do you prefer and why?
asked 18 May '10, 16:26
For the time being, I ended up with revive.el.
A short description:
In other words, it recovers all your buffers in the windows you left them.
To get revive.el running, just copy those lines into your .emacs file:
After "installing", you can use the following keyboard shortcuts:
You can also specify a buffer number after C-u (e.g.: C-u 2 C-x S), to store your configuration in a certain buffer.
Still, let me know if you found something better! :)
answered 20 May '10, 11:39
I haven't tried any of these out myself (I probably will after posting this), but I found a ton of results on emacswiki.
Happy Hacking (-:
answered 20 May '10, 01:10