There's a bug report of the following sort. Suppose you have a list, and you select all the elements and do Insert> Note. Then the list goes into the note, but the note itself is still in a list. JMarc suggested that we reset the layout to default in this case, which makes sense. I now have a simple patch that starts to do this, but I can't find the bug! Help?
The issue with the patch, by the way, is that it probably shouldn't do this for all (text) insets. E.g., not for certain kinds of InsetFlex (e.g., noun). I guess we need a new layout flag for this. Other ideas? Riki