> I think it is wrong to have LFUN_LAYOUT do something else than just > change the layout.
trying the semantic arguments now? (another sophism ;-) maybe the nesting level is not formally part of the layout *in lyx*, it is definitely layout. so i do not see why LFUN_LAYOUT should not change it...