Gary Wessle wrote: > Matthew Flaschen writes: > >> Gary Wessle wrote: >>> Matthew Flaschen writes: >>> >>>> Gary Wessle wrote: >>>>> Hi >>>>> >>>>> >>>>> I find my self visiting few files and setting up the frame / windows >>>>> in such a preferred way. >>>>> is there a way to remember this layout so next time I reboot or >>>>> restart emacs, I can just restore them? >>>> Try desktop-save and desktop-read. >>>> >>>> Setup everything the way you want then execute desktop-save. Choose >>>> your home directory. >>>> >>>> Then, when you start emacs, you can execute desktop-read . Or you can >>>> put this in your ~/.emacs file. >>>> >>> thanks, >>> I don't have desktop-save, I have desktop-read though. >> Sorry. Add: >> >> ; Desktop functions >> (require 'desktop) >> >> to your ~/.emacs . Then restart emacs and try again. >> > > I did, it would save it fine, but when calling desktop-read, it only > visited one of the files and opened only one frame among many I had at > the time of desktop-save. Oh, I don't really use that regularly. But I did test it, and it opened all the files I had open. However, it didn't preserve the windows (everything opened in its own window). Matt