Subject: Re: bug#78904: 30.1; in a long directory pathname, "Cannot write backup file" is output with a spurious blank line

From: Vincent Lefevre <[email-masked]>
Date: Thu, 26 Jun 2025 11:30:32 +0200

On 2025-06-26 12:22:11 +0300, Eli Zaretskii wrote:
> If you switch to the *Messages* buffer, do you see there a message
> like this:
> 
>   Saving file /home/vinc17/a-very-very-very-very-very-very-long-directory-pathname
> 
> ?

I'm wondering whether this is useful as it is not visible:
immediately overwritten by "Cannot write backup file...".

> If so, this is the long message, shown before the "Cannot write
> backup file", and it causes the mini-window to resize to 2 screen
> lines instead of just 1.  This resize remains in effect for the
> following echo-area messages, to avoid the annoying back-and-forth
> jumps of the mode line.

OK, but this is not what I observe: it reduces to just 1 line for

Wrote /home/vinc17/a-very-very-very-very-very-very-long-directory-pathname/foo

So this seems inconsistent.

-- 
Vincent Lefèvre <[email-masked]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)