From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bijan Soleymani Newsgroups: gmane.emacs.help Subject: Re: force save in windoze format Date: 08 Apr 2003 12:25:26 -0400 Organization: www.crasseux.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049819253 12028 80.91.224.249 (8 Apr 2003 16:27:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 16:27:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 18:27:32 2003 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 192vwZ-00037k-00 for ; Tue, 08 Apr 2003 18:27:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192vvB-0004ad-07 for gnu-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2003 12:26:05 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.202.205.81 Original-X-Complaints-To: abuse@videotron.ca Original-X-Trace: wagner.videotron.net 1049819128 24.202.205.81 (Tue, 08 Apr 2003 12:25:28 EDT) Original-NNTP-Posting-Date: Tue, 08 Apr 2003 12:25:28 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:111788 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8289 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8289 "Daniel R. Anderson" writes: > Hi, > > I know that there's a difference in text files between Windows and > *nix. (I think it's the charechters not displayed on screen). Is there > a way to force emacs to save in Windows format from Linux, or visa > versa? Mostly it has to do with the way they handle the ends of lines. In any case this is described in the emacs manual, in the section called international, in the node called CODING SYSTEMS. For example to save in dos format: C-x c dos C-x C-s And to save in unix format: C-x c unix C-x C-s Opening should be handled automatically in recent version of emacs. Hope that helps, Bijan