Hello, I'm afraid this is a bug in my patch to fix #56105. It initialized `min-indentation' using `current-indentation' of the current line. However, it was not adequate for an empty line as `current-indentation' of an empty line is zero. Attached is a patch to fix this issue. Best Regards,