News for hackers. Stuff that matters.
Re:Zed on Linux Is Here by zelphirkalt on Wednesday July 10, 2024 @03:33PM (#40930587)
I think Emacs does this too, if you configure it, or even by default, using its backup files, that go by #some_name# or similar.
Re:Zed on Linux Is Here by jhoechtl on Wednesday July 10, 2024 @03:53PM (#40930829)
While I love Emacs it's not like this. Scratch buffer? C-c C-x and all is gone without any warning.
Re:Zed on Linux Is Here by worthless-trash on Wednesday July 10, 2024 @11:09PM (#40933349)
Scratch is (I think) intended for use for executing 'this session' elisp code as the buffer is set to lisp interfactive mode, not intended for where you store your scratch text.

Other buffers behave differently, maybe scratch isn't useful for a large number of emacs users, however scratch is working as designed.

Re:Zed on Linux Is Here by abdullahkhalids on Thursday July 11, 2024 @12:46PM (#40938424)
There is a remember-notes feature that isn't deleted [1]. Or you could just set up so you can't kill scratch (see first answer in [1]).

[1] https://emacs.stackexchange.com/questions/19254/never-close-...

Re:Zed on Linux Is Here by emporas on Wednesday July 10, 2024 @04:33PM (#40931205)
Emacs definitely does this. I have saved many files from power outages. M-x recover-file, but the user has to recover the file right away when he opens it again or else a new auto-save will overwrite the old one. I think that's the case.