Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Store Unsaved Document tabs in the user's temp files despite being unsaved for disaster recovery. #607

Open
ipaqmaster opened this issue Oct 23, 2023 · 1 comment

Comments

@ipaqmaster
Copy link

 * Xed version (xed --version)

xed - Version 3.4.3


 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)

Archlinux

Issue

Unsaved documents cannot survive a disaster recovery scenario, such as a simulated one with #pkill -f -9 xed or my issue posted earlier this year #591

Steps to reproduce

Open a large enough binary/text file or simulate unexpected Xed death with #pkill -f -9 xed

Desired behaviour

Check a temp or cache dir for a backup copy of older data on next startup.

Perhaps something similar to how Vim handles cache files including for unsaved/unfinished file-editing sessions under ~/.cache/vim/swap/ - able to recover even from a kill -9 thanks to its swp files.

Other information

NA

@maciekberry
Copy link

Hello,
I do not know how big is this demand (no idea about the architecture of xed), however, as far as I can tell, no current linux text editor has this feature and it would be a killer one!
(ps. TextMate from the MacOS world has it).

This feature opens an entirely new set of use cases for the editor: you can use it to write down quick notes and never worry about saving. And of course it is then very disaster-safe.

My C is very very bad so I can only give a thumbs up to this demand....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants