emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recovered file has extra ^M


From: Stefan Monnier
Subject: Re: Recovered file has extra ^M
Date: Tue, 15 Aug 2006 11:18:11 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> When Emacs writes out an auto-save file, Emacs doesn't set its
> eol type explicitly.  So CR/LF is selected for it on Windows.

Good catch.

>> setup_coding_system (Qemacs_mule, coding);

We could either use Qemacs_mule_unix here or change `emacs-mule' to always
use LF (after all, it's supposed to represent the internal encoding, so it's
typically used when you want to make sure you can save the buffer without
losing any information, so using anything else than LF is asking for
trouble).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]