Max Nikulin <maniku...@gmail.com> writes: > > Actually ^L is a *page* separator (to be exact “FORM FEED”). > > I have realized that page separator for plain text is not necessary > paragraph separator. The same paragraph may continue on the next page. > It makes things more tricky. ^L should be kept on its own line while > text around should be wrapped.
Good point. > However from a discussion happened a year ago I concluded that it may be > not so trivial to tune `org-fill-element' for special cases. > > Timothy. Re: [PATCH] Don't fill displayed equations. Sun, 03 Oct 2021 > 16:50:54 +0800. https://list.orgmode.org/875yueij6r....@gmail.com Actually, it is not that much hard. At least, it is not that hard for paragraphs. The linked discussion had other caveats involving whether special filling is even reasonable for the discussed elements (AFAIR). However, org-fill-element actually does have a special treatment for line-break objects inside paragraphs. There is nothing preventing us from special treatment of other types of objects in similar fashion. In fact, we may even utilize Emacs built-ins for page break symbols specifically. Just use fill-region instead of fill-region-as-paragraph. Similar to https://orgmode.org/list/875yhiyxnb.fsf@localhost It's just that I am not sure about other possible side effects of such change. P.S. Does LaTeX understand ^L? -- 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