Subject: Re: bug#65049: Minor update to the repro steps

From: Eli Zaretskii <[email-masked]>
Date: Tue, 22 Aug 2023 16:17:27 +0300

> From: Maxim Kim <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Tue, 22 Aug 2023 23:12:40 +1000
> 
> Actually all my files I create in emacs should be with LF endings:
> 
> (set-language-environment 'utf-8)
> (setq-default buffer-file-coding-system 'utf-8-unix)

If these are your settings, then please try the recipe in "emacs -Q"
first and see if it works there.  I tried (and failed) to reproduce in
"emacs -Q".  (Using UTF-8 by default on Windows is not a good idea in
general.  But we can revisit this later; it is more important to
understand what causes your problem.)