>>>> 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.

`fill-forward-paragraph` should stop at the beginning/end of
fillable paragraph.  So if a "paragraph" is not fillable,
just make the function not stop at its end/beginning.

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

Good question.  I suspect the current API doesn't currently support
that well.


=== Stefan







Reply via email to