From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: exits funnel Newsgroups: gmane.emacs.help Subject: Problem with UNIX/DOS issue on Emacs for Windows Date: Thu, 28 Jul 2005 13:41:22 -0700 (PDT) Message-ID: <20050728204122.43519.qmail@web52910.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1122584498 17196 80.91.229.2 (28 Jul 2005 21:01:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2005 21:01:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 23:01:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DyFUb-00088N-P0 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2005 23:00:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DyFWQ-0005Al-7z for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2005 17:02:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DyFVM-0004in-8Z for help-gnu-emacs@gnu.org; Thu, 28 Jul 2005 17:01:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DyFVD-0004fJ-Fc for help-gnu-emacs@gnu.org; Thu, 28 Jul 2005 17:01:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DyFVC-0004a5-AV for help-gnu-emacs@gnu.org; Thu, 28 Jul 2005 17:01:14 -0400 Original-Received: from [206.190.49.20] (helo=web52910.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DyFNJ-0000TH-Rd for help-gnu-emacs@gnu.org; Thu, 28 Jul 2005 16:53:06 -0400 Original-Received: (qmail 43521 invoked by uid 60001); 28 Jul 2005 20:41:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=e42/rAdBq84VDZnJRXy+7squNP7YrLXfaKIlCsUE22FcXO5VLn5X3OPe73Jk0pB6xrQXVhyJZ3IrX+cNqL76CZ2u78hrCFUj56nlN52xI0k9PgZq58tfOYS355YPu7BmjNoWOJfTm7aAP/8GjTSeBdQrDD6jL1oEmykcUZQSIrk= ; Original-Received: from [204.249.220.103] by web52910.mail.yahoo.com via HTTP; Thu, 28 Jul 2005 13:41:22 PDT Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28259 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28259 Hello, I'm running the native Emacs for windows version 21.3.1 on a Win2000 machine. I'm using it to edit two different java source files. One of the source files looks fine in the buffer but the other, while formatted correctly, displays '^M' olong with each carriage return. I also note that for this file '(Unix)' appears all the way to the left of the modeline. It seems that Emacs thinks that this file is formatted for unix. When I look at the files in a hex-editor they look the same to me - each line ending is marked by a '0d0a' pair. I also tried running 'unix2dos' (under cygwin) on the offending file but to no avail. So, what's going on? On what does emacs base the determination that the one file is a unix file while hte other is not? How can I fix it? Thanks in advance for any replies! -exits __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html