In many cases there exists a default value for different things. In these cases the user can specify whether he wants to generate defaults too or just those things which are different from the default values.
This has to be programmed in the dotdotfiles, and is done very
easily. A flag called generateDefault exists, which is 1 if default
values are to be generated, and 0 if not. In the Save function, you
then test whether the object (Checkbox, Entry ...) is in its default state or
not, and whether to generate on default or not. This is done like this:
if {(not default state || $saveDefault} { save code for option }Make hilight mode happy: %$