From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: text files use dos coding by default Date: Mon, 02 Aug 2004 23:05:45 +0300 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <9003-Mon02Aug2004230544+0300-eliz@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1091477339 28705 80.91.224.253 (2 Aug 2004 20:08:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 20:08:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 02 22:08:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Brj70-0005ef-00 for ; Mon, 02 Aug 2004 22:08:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrjAO-0005J3-VB for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Aug 2004 16:12:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BrjAD-0005I2-4C for help-gnu-emacs@gnu.org; Mon, 02 Aug 2004 16:12:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BrjAA-0005Fl-Pf for help-gnu-emacs@gnu.org; Mon, 02 Aug 2004 16:12:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrjAA-0005Fh-Lv for help-gnu-emacs@gnu.org; Mon, 02 Aug 2004 16:12:02 -0400 Original-Received: from [192.114.186.23] (helo=aragorn.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Brj6D-0005HJ-AW for help-gnu-emacs@gnu.org; Mon, 02 Aug 2004 16:07:57 -0400 Original-Received: from zaretski ([80.230.149.205]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id EAQ70759; Mon, 2 Aug 2004 23:07:54 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (ddellis@mail.com) 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19948 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19948 > From: "David Ellis" > Newsgroups: gnu.emacs.help > Date: Mon, 2 Aug 2004 13:57:41 -0500 > > That's what I thought. I tried this test. I renamed my .emacs file so that I > have no startup file. > > If I send a dir listing to a file (dir > test.txt)and open it with emacs, > emacs thinks it is unix. > > If I just open emacs and start typing in the scratch buffer, it thinks that > it is dos. But if I save it, exit emacs, and open the file, it thinks it is > unix. What does Emacs display in the echo area if you type "M-x emacs-version" and then hit RET?