Why
NotebookWrite[
EvaluationNotebook[],
Cell["ZZ", "Section", WholeCellGroupOpener -> True]
]
produces:
Cell["ZZ", "Section", $CellContext`WholeCellGroupOpener -> True]
While using e.g Background -> RGBColor[1, .85, .85] works fine?
Pointed by M.R. in How to sort cells?
Options[Cell]and try your example with all options that live in the contextGobalnotSystem. As far as I can see, all options that are not inSystemwill get$CellContext. – halirutan Jun 17 '15 at 01:27