severity 36702 minor
found 36702 26.2.90
tags 36702 + patch
quit
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
On 17.07.19 12:47, Basil L. Contovounesios wrote:
The docstring of newline says:
Calls `auto-fill-function' if the current column number is greater
than the value of `fill-column' and ARG is nil.
Did you try the test-function delivered?
Yes.
It inserts a newline in an empty buffer.
May that condition being matched then?
Ah, are you referring to the condition that the current column number be
greater than fill-column? This condition is enforced by the default
value of normal-auto-fill-function when auto-fill-mode is enabled,
namely do-auto-fill. A different auto-fill-function mightn't enforce
it.
In general, there are multiple conditions guarding calls to
auto-fill-function (see e.g. internal-auto-fill and
internal_self_insert), and I'm not sure the docstring of newline is the
right place to discuss these things.