<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">Hi <span style="font-family:Arial,Helvetica,sans-serif">Kåre,</span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif">Thanks for your quick response.</span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif">I am aware of the swap file feature and the backup options for buffers that have been saved on disk, but this still requires me to save a new buffer to a file at least once. I was asking if it would be possible to automate this. The use case I have in mind is that sometimes I open a kate buffer to copy some snippet or jot down some notes and then would carelessly close kate without saving any of the new buffers, which prevents any of the backup features from kicking in.</span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif">I guess what I was thinking of was a "Save new buffers to temp file on creation" option. Do you think this would be a reasonable change?</span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif">Best,</span></div><div class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif">jta</span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 24, 2019 at 4:16 AM Kåre Särs <<a href="mailto:kare.sars@iki.fi">kare.sars@iki.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi José,<br>
<br>
 On onsdag 23 januari 2019 kl. 23:18:53 EET José Tomás Atria wrote:<br>
> Dear Kate developers,<br>
> <br>
> Thanks for your awesome text editor, it's the best I've found by far and I<br>
> use it for everything from note taking to development in several languages.<br>
> Love it.<br>
That is nice to hear! :)<br>
<br>
> <br>
> I wanted to know if it would be possible or sensible to add an optional<br>
> feature to backup every new buffer on a tmp file on disk in order to<br>
> protect unsaved data from system crashes or even user carelessness. Is<br>
> there a good reason not to add this as an option? I haven;t thought about<br>
> the details, but anything that would allow me to save all buffers by<br>
> default, even using a ring file, would be greatly appreciated.<br>
<br>
By default there is a backup file created and updated every 15s if the file <br>
has been edited. When the file is saved this "backup" file is removed. The <br>
terminology used in the settings is "Swap file".  (The exception to this is a <br>
new still unsaved document.)<br>
<br>
When you open the original file after a system/kate crash you get a question <br>
if you want to load the unsaved changes from the swap file.<br>
<br>
There is also the an option to always create backups when saving a file. With <br>
this option enabled Kate will save the original data in the backup before <br>
writing the new data to the file.<br>
<br>
These two option scan be found under:<br>
 Settings->Configure Kate...->Open/save->Advanced<br>
<br>
Regards,<br>
  Kåre<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">entia non sunt multiplicanda praeter necessitatem</div>