[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] [bug #27565] Edwin doesn't autosave atomically

From: Taylor R. Campbell
Subject: [Bug-mit-scheme] [bug #27565] Edwin doesn't autosave atomically
Date: Wed, 30 Sep 2009 19:18:32 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US) AppleWebKit/525.18 (KHTML, like Gecko, Safari/525.20) OmniWeb/v622.


                 Summary: Edwin doesn't autosave atomically
                 Project: MIT/GNU Scheme
            Submitted by: riastradh
            Submitted on: Wed 30 Sep 2009 19:18:31 GMT
                Category: edwin
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Suboptimal behavior
                  Status: None
                 Privacy: Public
             Assigned to: riastradh
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



Edwin autosaves files by overwriting the autosave file in place.  If power is
lost during this process, the data on disk may reflect neither the old
autosave file nor the whole contents of the buffer.  Instead, Edwin should
write to a temporary pathname, and when it is done, rename it to the permanent
autosave file pathname.

(Today my laptop caught GNU Emacs in the middle of autosaving a file when its
battery ran out of juice!  I was not happy to find the autosave file
truncated, although fortunately in this case I had all the data elsewhere.)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]