bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] wsid backups


From: Juergen Sauermann
Subject: Re: [Bug-apl] wsid backups
Date: Sat, 22 Apr 2017 15:08:31 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Leslie,

if I remember correctly then the filename for )SAVEd workspace is derived from
the )WSID of the workspace and not from the name of the file from which the workspace
was )LOADed at some point in time.

So if you )LOAD
mywsid.xml.bak then the )WSID is still mywsid and saving it should
create resp. override mywsid.xml and move an existing mywsid.xml  to mywsid.xml.bak
An existing mywsid.xml.bak is silently dropped.

I know that some tools or editors support a sequences of .bak files, like
mywsid.xml.bak, mywsid.xml.bak.bak, ... but I found that a little over the top.

I personally design in very small increments and )SAVEing a lot. This is a habit that I acquired when working
with MS Windows because Windows programs (in particular MS Word) tended to crash for no reason and then you
were lucky to have a very recent backup. But having a chain of backups is not good then.

Best Regards,
Jürgen Sauermann


On 04/22/2017 03:12 AM, Leslie S Satenstein wrote:
The preferences file allows  the command   )save mywsid to save mywsid and if an existing file of that name exists, it creates a backup titled mywsid.xml.bak  (highlighted for this discussion)

The name of the backup file is not indicated, and how to load it is not documented. I am in the process of so doing.

Discussion

The backup, if it is desired to load it for recovery by gnu-apl  can be loaded with  )load   mywsid.xml.bak.  

Two questions/points to ponder

if I  )load mywsid.xml.bak,  and I subsequently perform a   )save  what is re-saved is mywsid.xml.bak and at the same time I presume that a new backup  "mywsid.xml.bak.xml.bak"  is created.

1)  So should loading of backup files be internally messaged into dropping the .xml.bak  ?  I think yes.
2)  If I do a  )drop mywsid              should it also drop the mywsid.xml.bak ?   I think yes and perhaps even the mywsid.xml.bak.xml.bak  Currently, it does not.

         

   
 
Regards

 Leslie
Leslie Satenstein
Montréal Québec, Canada



reply via email to

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