LWN.net Logo

That could be fixed

That could be fixed

Posted Sep 23, 2008 15:00 UTC (Tue) by shapr (guest, #9077)
In reply to: That could be fixed by nix
Parent article: LPC: Booting Linux in five seconds

What about emacs desktop? I've been using that for years.
Right now emacs does not save the state of all the open buffers etc until I explicitly exit, but if it saved every minute or so even crashes would have most session state saved.


(Log in to post comments)

That could be fixed

Posted Sep 23, 2008 15:14 UTC (Tue) by rlk (guest, #47505) [Link]

The issue isn't just open file buffers:

* Shell buffers (input and output history -- including input and output history of the shell, which isn't quite the same thing as the emacs idea of that)

* Command output buffers and other temporary buffers, including *scratch*

* Files that you're looking at that may get changed behind your back that you deliberately haven't reverted yet.

* The state of the lisp world

Obviously, emacs loses all of this if it crashes, but this in the context of choosing to reboot vs. suspend/resume. I'll take my chances on crashes, and I do save my work, but it's still more efficient to keep a session going as long as possible.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds