-
Notifications
You must be signed in to change notification settings - Fork 329
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
put markdown files on /tmp prevent notes recovery #389
Comments
This seems like an edge case that the program should not be expected to
handle. System crashes seem a bit out of scope. That said, setting TMPDIR
would be the effective and standard cure, correct?
…On Thu, Feb 22, 2018, 8:15 PM Samir S. ***@***.***> wrote:
When your computer crash, all files on /tmp (usually a mem filesystem) is
automatically cleaned after reboot.
If you were writing some notes at this moment, all your notes are lost.
One workaround is to allow another temporary directory, like $HOME/tmp and
use vim recovery capabilities (vim -r) to recover your notes.
geeknote should allow at least to set another temporary directory, at best
put all the markdown temporary files into .geeknote directory.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#389>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AADeMBMB4lR0oMbQTk3-ZQmSn8GUZfoTks5tXcrCgaJpZM4SP6vE>
.
|
It looks like vim and libreoffice programmers handle this edge case, so it makes sense that geeknote handle this case too, since note editing is a core feature of geeknote. System crashes is a part of the user experience, and as such resilient software design should be considered by the programmer. |
When your computer crashes, all files on /tmp (usually a mem filesystem) are automatically cleaned after reboot.
If you were writing some notes at this moment, all your notes are lost.
One workaround is to allow another temporary directory, like $HOME/tmp and use vim recovery capabilities (vim -r) to recover your notes.
geeknote should allow at least to set another temporary directory, at best put all the markdown temporary files into .geeknote directory by default.
PS: I've just lost my half-page note :-/
The text was updated successfully, but these errors were encountered: