Subject: bug#76299: "Try M-x recover-this-file" warning vs. symlinks

From: Dan Jacobson <[email-masked]>
Date: Sun, 16 Feb 2025 18:18:31 +0800

$ emacs
Screen gets constructed, then warnings sent. User sees warnings.
$ emacs -nw
Warnings sent, then screen gets constructed. User does not see warnings.

>>>>> "EZ" == Eli Zaretskii <[email-masked]> writes:
>> From: Dan Jacobson <[email-masked]>
>> Cc: [email-masked],[email-masked]
>> Date: Sun, 16 Feb 2025 16:36:41 +0800
>> 
>> retitle 76299 recover-this-file warning blotted out with -nw
>> thanks
>> It turns out the problem is not with symlinks, but with -nw !
>> $ emacs -nw -Q goo
>> then type a lot, then ^Z, then
>> $ kill -1 %
>> $ script --command emacs -Q -nw goo
>> Indeed, you will see the recover-this-file warning, but very swiftly it
>> goes away, as the buffer gets painted over, and you see with the
>> terminal sequences in this typescript file attached.
>> [...]
>> So you probably need to have the message come last, not first.

EZ> I don't see how this could be possible, since Emacs could show any
EZ> number of messages at startup.

EZ> The messages are saved in the *Messages* buffer, so you could see them
EZ> later.

EZ> So I don't think we should do anything about this non-bug.