[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recovered file has extra ^M
From: |
Kenichi Handa |
Subject: |
Re: Recovered file has extra ^M |
Date: |
Wed, 16 Aug 2006 09:21:40 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, MIYOSHI Masanori <address@hidden> writes:
> In Emacs on Windows, A recovered file has an extra ^M at the end
> of each line.
> The following inconsistency seems to cause the trouble.
> 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.
> On the contrary, when Emacs reads the auto-save file, Emacs
> assumes that its eol type is LF.
> Is this assumption necessary?
I think we should change auto-saving to force LF because
auto-saving must be fast. So, I changed
choose_write_coding_system, not Finsert_file_contents.
---
Kenichi Handa
address@hidden
- Recovered file has extra ^M, MIYOSHI Masanori, 2006/08/15
- Re: Recovered file has extra ^M,
Kenichi Handa <=
- Re: Recovered file has extra ^M, Eli Zaretskii, 2006/08/15
- Re: Recovered file has extra ^M, Kenichi Handa, 2006/08/16
- Re: Recovered file has extra ^M, Eli Zaretskii, 2006/08/16
- Re: Recovered file has extra ^M, Kenichi Handa, 2006/08/16
- Re: Recovered file has extra ^M, Richard Stallman, 2006/08/17
- Re: Recovered file has extra ^M, Kenichi Handa, 2006/08/20
- Re: Recovered file has extra ^M, Richard Stallman, 2006/08/21