I have notorious problems finding the right autocommand events for various settings. Usually, my choices seem to be okay, but then there are situations where the settings are reset to default values. In particular, I would like to know the events to use for the following activities:
setting
formatoptions
to a value of my choice such that any file-type-specific settings are overwrittenchoosing a specific file type for files with a particular file name extension
setting the syntax highlighting synchronization mode