Stefan Monnier <[email protected]> writes:

>>> It doesn't help: it should *not* move to that place, since the `*
>>> Heading` is not a (fillable) paragraph, whereas `fill-forward-paragraph`
>>> should move to the end of a (fillable) paragraph.
>> Are you sure it is how it is designed to work?
>> I just tried a quick test making fill-forward-paragraph-function return
>> its argument - never fill anything.
>
> Why would you want to do that?  In which sense is the region between
> point and point a fillable paragraph?

Because I have 0 idea how to indicate, via fill-forward-paragraph, that a
paragraph should not be filled.

Consider a major mode that should disallow filling completely.
How should I go about writing fill-forward-paragraph function for such a
major mode?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to