Subject: Re: bug#72542: 31.0.50; EasyPG adds ^M in encrypting files with DOS-eol on Windows

From: Eli Zaretskii <[email-masked]>
Date: Sat, 10 Aug 2024 10:55:12 +0300

> Date: Fri, 09 Aug 2024 21:38:59 +0900
> From: Kazuhiro Ito <[email-masked]>
> 
> 1. Create or open an encrypted text file, which has .gpg suffix.
> 2. Save the file with DOS-eol. (C-x RET f utf-8-dos and C-x C-s)
> 3. Kill buffer and re-open it.
> 
> I can see ^M garbage in each eol.  I noticed it because Wanderlust (a
> mailer) failed to verify signature on Windows.  Attached patch can
> resolve the issue.

Thanks, installed on the emacs-30 release branch, and closing the bug.