Auto Save interval

6 Messages Forum Options Options
Alert me of new posts
Permalink
Gale Andrews
Auto Save interval
Reply Threaded More
Print post
Permalink

Does anyone else feel the Auto Save interval default of 5 minutes is too
long? That period can represent a lot of edits, and few editing or
importing processes take that long. I always set mine to 1 minute which
gives no problem for me, but would anyone object if I reduced this
default to say 2 minutes? It's a simple change in DirectoriesPrefs.cpp.


Gale


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Markus Meyer
Re: Auto Save interval
Reply Threaded More
Print post
Permalink
Gale Andrews schrieb:
> Does anyone else feel the Auto Save interval default of 5 minutes is too
> long? That period can represent a lot of edits, and few editing or
> importing processes take that long. I always set mine to 1 minute which
> gives no problem for me, but would anyone object if I reduced this
> default to say 2 minutes? It's a simple change in DirectoriesPrefs.cpp.
>  
I feel that "5 minutes of lost work" in the event of a total crash is
tolerable, but I wouldn't object if you change the value. But if you do
change it, please make sure you change each source code occurence of the
default value consistently, not only the default in DirectoriesPrefs.cpp!


Markus


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Vaughan Johnson
Re: Auto Save interval
Reply Threaded More
Print post
Permalink
Markus Meyer wrote:

> Gale Andrews schrieb:
>  
>> Does anyone else feel the Auto Save interval default of 5 minutes is too
>> long? That period can represent a lot of edits, and few editing or
>> importing processes take that long. I always set mine to 1 minute which
>> gives no problem for me, but would anyone object if I reduced this
>> default to say 2 minutes? It's a simple change in DirectoriesPrefs.cpp.
>>  
>>    
> I feel that "5 minutes of lost work" in the event of a total crash is
> tolerable, but I wouldn't object if you change the value. But if you do
> change it, please make sure you change each source code occurence of the
> default value consistently, not only the default in DirectoriesPrefs.cpp!
>
>
>  

Sounds like it should be a constant (#define) so it only need be set in
one place.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: Auto Save interval
Reply Threaded More
Print post
Permalink

| From Markus Meyer <meyer@...>
| Tue, 13 May 2008 21:45:55 +0200
| Subject: [Audacity-devel] Auto Save interval
|  > Gale Andrews schrieb:

> > Does anyone else feel the Auto Save interval default of 5 minutes is too
> > long? That period can represent a lot of edits, and few editing or
> > importing processes take that long. I always set mine to 1 minute which
> > gives no problem for me, but would anyone object if I reduced this
> > default to say 2 minutes? It's a simple change in DirectoriesPrefs.cpp.
> >  
> I feel that "5 minutes of lost work" in the event of a total crash is
> tolerable, but I wouldn't object if you change the value. But if you do
> change it, please make sure you change each source code occurence of the
> default value consistently, not only the default in DirectoriesPrefs.cpp!

Thanks, Markus. I can only find one other instance of the default value:

double autoSaveMinutes = 5.0;   (line 3366, Project.cpp).

Does that sound right/OK to you?

It seems to be working fine for me with the above and the following
value in DirectoriesPrefs.cpp set to "2.0":

S.TieTextBox( _("Auto save interval:"), wxT("/Directories/AutoSaveMinutes"),
2.0, 9);


 
Gale

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Markus Meyer
Re: Auto Save interval
Reply Threaded More
Print post
Permalink
Vaughan Johnson schrieb:
> Sounds like it should be a constant (#define) so it only need be set in
> one place.
>  
Right, but this issue applies to all settings, not only the auto-save
one. It has been said (even by Dominic IIRC) that this method is
preferred over an include file with all the default settings in it,
because this would mean that everytime a default setting is changed or a
new setting is added the whole Audacity needs to be recompiled.


Markus



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Markus Meyer
Re: Auto Save interval
Reply Threaded More
Print post
Permalink
Gale Andrews schrieb:

> | From Markus Meyer <meyer@...>
> | Tue, 13 May 2008 21:45:55 +0200
> | Subject: [Audacity-devel] Auto Save interval
> |  > Gale Andrews schrieb:
>  
>>> Does anyone else feel the Auto Save interval default of 5 minutes is too
>>> long? That period can represent a lot of edits, and few editing or
>>> importing processes take that long. I always set mine to 1 minute which
>>> gives no problem for me, but would anyone object if I reduced this
>>> default to say 2 minutes? It's a simple change in DirectoriesPrefs.cpp.
>>>  
>>>      
>> I feel that "5 minutes of lost work" in the event of a total crash is
>> tolerable, but I wouldn't object if you change the value. But if you do
>> change it, please make sure you change each source code occurence of the
>> default value consistently, not only the default in DirectoriesPrefs.cpp!
>>    
>
> Thanks, Markus. I can only find one other instance of the default value:
>
> double autoSaveMinutes = 5.0;   (line 3366, Project.cpp).
>
> Does that sound right/OK to you?
>  
Yes, I think that's the other place, thank you.


Markus


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel