Johannes Mueller <j...@johannes-mueller.org> writes: > When using refill-mode in combination with org-mode adding a new section or a > list item at the end of the buffer, obviously because refill-mode steps in and > deletes the line break before the headline marker or the list marker.
I would say that it is a bug in refill-mode. Org mode correctly sets `fill-paragraph-function', but refill-mode does not respect it. Best, Ihor