> … SOME settings are not even present in the file…

The impression I get from the way I cannot preserve changes over a reload of one particular document (and I've been a TextEdit user for decades) is that each file contains its own unalterable prefs.