I'm not so sure about this patch. Are you sure this will work with sorting headlines? Swallowed headlines occur if end of narrowed region is at eol. What about other operations, including user-written commands? Can we be sure that they will not to swallowed headlines?
IMO the behavior described as a bug by the OP is correct -- the user should insert a newline after xyz (or org could detect that and insert a newline depending on mode-require-final-newline or require-final-newline). I think opinions might vary on this. -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] ========== Retrovirus: http://www.wpinstitute.org/xmrv/index.html _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode