A foldexpr that is inspired by emacs outline mode.