Bug 38974 - Auto save and safe save
Summary: Auto save and safe save
Status: RESOLVED DUPLICATE of bug 103234
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 46974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-03-05 02:03 UTC by mlemos
Modified: 2007-12-07 13:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mlemos 2002-03-05 01:54:57 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kate
Version:           KDE 2.9.2 
Severity:          wishlist
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

One feature that I miss is auto-saving after a configurable period.

Also there should be a safe save option that when enabled would not overwrite the original file but if the current file already exists in the disk it would rather save to a new temporary file rename the original file to something like .previous  rename the temporary file to the original filename and finally removed the .previous file if all steps were succesful.

Safe saves are important to avoid the risk of loosing data due to crashes of disk space exhaustion.

(Submitted via bugs.kde.org)
Comment 1 Stephan Binner 2002-09-14 21:18:38 UTC
*** Bug 46974 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Cullmann 2003-03-04 22:43:45 UTC
now we create backup files since 3.1
Comment 3 joergs 2003-10-06 14:36:10 UTC
since kate3.1 or kde3.1  ??? 
Comment 4 F Reifenstahl 2005-06-17 17:48:19 UTC
Hmmm... backups and auto-saving are different issues. So I don't agree in setting this wish to status "resolved", because up to V2.4.1 kate has no autosave feature. I would apprecciate a real autosave feature with configurable elapsed time or keystrokes.
Comment 5 Jeroen Wijnhout 2005-06-18 12:30:43 UTC
I must agree, the backup feature of Kate means you always have a copy of the previous save. However, if you keep typing for hours and hours and something happens, you loose all those hours of work. An autosave feature would protect you from this. Kile implements autosave, and it is quite different from the Kate backup features (which is also very essential I think).

I'd say: reopen or mark as "won't fix".

best,
Jeroen
Comment 6 Chani 2007-04-07 23:30:00 UTC
why is this marked as "fixed"? I can't find any kind of autosave in kate. it just crashed again and I lost HOURS of work! for god's sake, almost every other text editor on the planet can do autosave, why can't kate? I'm mainly using it because of the good support for chinese characters - normally I use vim, which never EVER loses even a single character no matter how much abuse my computer takes. I was proud of not needing a ctrl-s nervous tick to protect my work. now I guess I'll have to develop one again until someone implements some autosaving...

honestly, I wish I could find out how vim does it and add that to kate, but I just don't have the time. :( can someone please at least add a basic save timer? it can't be hard, can it?
Comment 7 Matthew Woehlke 2007-04-10 16:28:57 UTC
Oddly enough, I just griped on kdevelop-devel because they implemented their own autosave (when I am also of the opinion that it needs to be in KATE).

FWIW don't expect this in KDE 3.x, but I agree KDE4 really ought to have an auto-save option.

Note: the right way to do this is, as Chani suggests, similar to what Vim does: periodically auto-save to a temporary (probably hidden) file, and check for the existence of such a file when re-opening a document. A regular 'save' and/or 'close' deletes the temporary auto-saved file.
Comment 8 autoquote1000 2007-05-25 11:39:19 UTC
Significant problem in using this otherwise excellent editor.  All work is lost if system crashes.  KOffice has implemented a very useful autosave feature which is indispensable.  This should be a standard feature.
Comment 9 Chani 2007-05-27 18:01:03 UTC
just an observation: it appears that dcop has a way to close all files, but no way to save at all. so much for the idea of a simple dcop script for autosaving. next thing to find out is whether a plugin can do such a thing. it's about time I figured out how this plugin thing works anyways :)
Comment 10 Thomas Friedrichsmeier 2007-12-07 13:59:46 UTC
Marking this as a duplicate of bug #103234 . Yes, I know, this report is much older than the other, but 103234 contains only the remaining part of this wish (auto-save), which makes it easier to deal with.

You may want to transfer your votes.

*** This bug has been marked as a duplicate of 103234 ***