There's a bug when used with diff-mode (where `outline-level' returns unexpected values), the starting point of that thread! I'll try to study this in the forthcoming days.