From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mark Mynsted Newsgroups: gmane.emacs.help Subject: After cvs, emacs does not encode file correctly as dos Date: 10 Sep 2002 08:41:16 -0500 Organization: Uncle John's Band Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031666169 29968 127.0.0.1 (10 Sep 2002 13:56:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 13:56:09 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17olUt-0007n1-00 for ; Tue, 10 Sep 2002 15:56:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17olUv-0002Fs-00; Tue, 10 Sep 2002 09:56:09 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!outbound.vha.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: outbound.vha.com (204.68.152.1) Original-X-Trace: fu-berlin.de 1031665276 62297273 204.68.152.1 (16 [148877]) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 Original-Xref: nntp.stanford.edu gnu.emacs.help:104672 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1228 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1228 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 c dosC-x C-f ~/doc/notes.txt Has anybody seen this behavior? What is wrong? Is this a CVS problem, an Emacs problem, other? How should I correct or mitigate this problem? -- -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. / \