({{, (RefLink[PrivateNotebookOptions, paclet:ref/PrivateNotebookOptions]) 
is an option for notebooks that specifies various low-level notebook settings.}})

OpenersNotesSection(Spacer1)Details

The typical usage is (RefLink[PrivateNotebookOptions, paclet:ref/PrivateNotebookOptions])->{(Subscript[opt, 1])->(Subscript[val, 1]),(Subscript[opt, 2])->(Subscript[val, 2]),…}.

The following suboptions can be specified:

With the default setting "DoubleBuffer"->(RefLink[True, paclet:ref/True]), two copies of the rendered notebook are stored in memory at all times. While the screen display of the notebook is being updated, the backup copy is displayed on the screen, reducing the flicker caused by the editing changes.

With the setting "SafeFileOpen"->"IgnoreCache", the Wolfram System ignores the file outline cache when opening a notebook. The file outline cache contains information about the structure of the notebook and reduces the time taken to open large notebooks. With the "IgnoreCache" setting, you can open a notebook even if its file outline cache has become corrupted. This setting has the same effect as the Parse and Load Entire Notebook into Memory before Opening option of the Notebook Options dialog.

With the setting "SafeFileOpen"->"Prescan", the Wolfram System scans the expression for each cell in the notebook to confirm that it starts with the text Cell[. This is a quick way to check for one common sign of file corruption.

With the setting "SafeFileOpen"->(RefLink[None, paclet:ref/None]), the Wolfram System does not take any special precautions before opening a notebook. Use this setting if you want to minimize the time taken to open a notebook.

With the default setting "SafeFileSave"->"Prescan", the Wolfram System estimates the number of bytes in the notebook and checks if adequate disk space is available before saving it. If there is not enough disk space, a message is displayed.

With the setting "SafeFileSave"->"TempFile", the Wolfram System creates and saves a separate copy of the file instead of overwriting the existing copy. This ensures that if you run out of disk space, the last saved version of the file is still available. Once the new copy is successfully saved, the previous copy is deleted.

The "TempFile" setting is relevant for multiple-user platforms like Unix and Windows 2000. On such platforms, a file save operation may fail even with adequate disk space on the machine if the user’s disk quota is exceeded.

With the setting "SafeFileSave"->(RefLink[None, paclet:ref/None]), the Wolfram System does not take any special precautions before saving a notebook. Use this setting if you are sure you have adequate disk space for your files.

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[PrivateCellOptions, paclet:ref/PrivateCellOptions])}})}})