A. N. writes: > How can I have JDE/emacs remember the list of the > files that were open when I exit the emacs.. and > reopen all the files when I restart emacs? >
I use desktop.el to do this. I cannot recommend it highly enough. When you close Emacs, desktop.el saves the current state of Emacs, including open buffers, history lists, etc. in a file called .emacs.desktop. The next time you start Emacs, desktop.el restores everything to the state that you left it. On Windows, I put a .emacs.desktop in the root directory of each project along with a prj.el file. I then create a desktop icon for each project with its startup directory set to the project's root directory. Now when I want to work on a project, I simply click the desktop icon. Emacs comes up in the same state as when I last worked on the project. - Paul
