[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: After cvs, emacs does not encode file correctly as dos
From: |
Mark Mynsted |
Subject: |
Re: After cvs, emacs does not encode file correctly as dos |
Date: |
16 Sep 2002 08:07:50 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
>>>>> "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:
Kai> Mark Mynsted <mmynsted_news@gbronline.com> writes:
>> I have a file called notes.txt. It has DOS style line endings etc.
>> It is stored under linux. When I view it from Emacs all was well,
>> i.e. Emacs correctly identified it as a DOS file and used the dos
>> encoding when visiting the file. (I need the file to have the dos
>> line endings, etc.) I next started to manage the file using CVS. Now
>> the only way I can get Emacs to visit the file and display the line
>> endings, etc, correctly is to:
>>
>> C-x <RET>c dos<RET>C-x C-f ~/doc/notes.txt
Kai> What happens when you visit it normally, without C-x RET c?
The file is filled with ^M characters. If I query the current coding
system, via M-x describe-current-coding-system I get:
- -- undecided-unix
Kai> Note that CVS might frob line endings.
Is that what is happening? Is there something I can do?
--
-MM
I rarely read email from this address /"\
because of spam. \ / ASCII Ribbon Campaign
I MAY see it if you put #NOTSPAM# X Against HTML Mail
in the subject line. / \
- After cvs, emacs does not encode file correctly as dos, Mark Mynsted, 2002/09/10
- Re: After cvs, emacs does not encode file correctly as dos, Kai Großjohann, 2002/09/10
- Re: After cvs, emacs does not encode file correctly as dos,
Mark Mynsted <=
- Re: After cvs, emacs does not encode file correctly as dos, Kai Großjohann, 2002/09/16
- Re: After cvs, emacs does not encode file correctly as dos, Mark Mynsted, 2002/09/17
- Re: After cvs, emacs does not encode file correctly as dos, Stefan Monnier <address@hidden>, 2002/09/17
- Re: After cvs, emacs does not encode file correctly as dos, Mark Mynsted, 2002/09/18