Visuwesh <visuwe...@gmail.com> writes: >> All in all, I feel that fully respecting `use-hard-newlines' in Org is >> not a good idea. We can do it partially (for filling), but I am afraid >> that it may create some confusion. > > I am not sure what you mean by confusion here: those who have > `use-hard-newlines' turned on are explicitly asking for it. If > anything, I was confused when I found org-mode did not recognise > hard-newlines.
Let me clarify. Current state of affairs is: Org ignores `use-hard-newlines' Proposed: Org sometimes ignores `use-hard-newline' and sometimes not. I do believe that what you suggest is a good idea (respecting `use-hard-newlines' when filling). However, I notice that some people may be more confused if we implement this FR compared to the existing situation. So, I am asking for feedback from other users instead of accepting the FR. >>> - (fill-region-as-paragraph c end justify) >>> + (fill-region c end justify) >> >> There are 3 calls to `fill-region-as-paragraph' inside >> `org-fill-element'. If we decide to support `use-hard-newlines' >> partially, all 3 calls should probably be replaced. > > AFAICT, the rest two are comments (though I cannot tell the difference > between "comment" and "comment-block"). I replaced the one in paragraph > since that was where lack of hard-newlines support bit me. # This is # a comment #+begin_comment This is a comment block. #+end_comment See 13.6 Comment Lines section of the manual. I do not see why `use-hard-newline' should affect normal paragraphs but not comments. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92