On 2020-11-17 07:59, Lars Ingebrigtsen wrote: > > The patches look OK to me, but look like they've been slightly mangled > during transmission, so could you include them as a single patch as an > attachment? (And adding a ChangeLog-format text would also be nice.) 2x patches attached with changelog. I took a more precise approach with outline--cycle-state, where the +1 case is only handled when the subtree end is point-max, otherwise the overlay-end must equal end of subtree point in all other cases. I rewrote outline-cycle-buffer; it now first checks that the buffer has top-level headings before attempting to show only top-level headings, thus avoiding the disconcerting state where all buffer content is reduced to "...". If buffer has no outline headings, we still get an annoying message toggle from "All headings" to "Show all". Also this avoids using pcase, which is awful.