[plt-scheme] DrScheme Autosave

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sun Mar 1 10:44:05 EST 2009

Ack, it is I who misunderstands. Looking at the code (and assuming I
did not miss anything) I see that there is a single timer that
triggers every five minutes. If any save files are out of date at that
point, it creates autosave files for them. Probably not the best
behavior, I agree.

Robby

On Sun, Mar 1, 2009 at 9:33 AM, "M. Fatih Köksal"
<fkoksal at cs.bilgi.edu.tr> wrote:
> I opened a file and saved it. Then every second I added one character
> and saved it again. When the timer hits the 5th minute after I have
> opened the file it does create the autosave file, not after the last save.
>
> Sorry, if I still misunderstand your statement.
>
> fkoksal
>
> Robby Findler wrote:
>> The documentation says that it creates the autosave five minutes after
>> the last save. But I can see how you might find it unclear. I have
>> improved it for the next release.
>>
>> Robby
>>
>> On Sun, Mar 1, 2009 at 9:18 AM, "M. Fatih Köksal"
>> <fkoksal at cs.bilgi.edu.tr> wrote:
>>> The documentation says, it will autosave if I *do not save* during 5
>>> minutes. But it does not care whether I save or not, and does the
>>> autosave after 5 minutes I open a file.
>>>
>>> fkoksal
>>>
>>> Robby Findler wrote:
>>>> I think drs does the reasonable thing, not what you describe. Have you
>>>> observed otherwise?
>>>>
>>>> Robby
>>>>
>>>> On Sun, Mar 1, 2009 at 8:25 AM, "M. Fatih Köksal"
>>>> <fkoksal at cs.bilgi.edu.tr> wrote:
>>>>> Hi all,
>>>>>
>>>>> this is what the documentation says about the autosave;
>>>>>
>>>>> "When a file in an active DrScheme editor is modified but not saved,
>>>>> DrScheme saves the file to a special autosave file after five minutes
>>>>> (in case of a power failure or catastrophic error). If the file is later
>>>>> saved, or if the user exists DrScheme without saving the file, the
>>>>> autosave file is removed. The autosave file is saved in the same
>>>>> directory as the original file, and the autosave file’s name is
>>>>> generated from the original file’s name: ..."
>>>>>
>>>>> What I understand here is, if I do not save any file during 5 minutes,
>>>>> then it saves it automatically. But even I save the file several times,
>>>>> it does an autosave exactly after 5 minutes (five minutes after I open
>>>>> the file).
>>>>>
>>>>> Is this a bug, or a feature :)
>>>>>
>>>>>
>>>>> M. Fatih Köksal
>>>>> İstanbul Bilgi University
>>>>> Computer Science Department
>>>>>
>>>>>
>>>>> _________________________________________________
>>>>>  For list-related administrative tasks:
>>>>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>>>
>>>>>
>>>
>
>


Posted on the users mailing list.