From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "William Payne" Newsgroups: gmane.emacs.help Subject: Re: Can I change the way emacs saves text files? Date: Fri, 20 Feb 2004 21:55:58 +0100 Organization: Island, Linkoping University, Sweden Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1077311193 9927 80.91.224.253 (20 Feb 2004 21:06:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2004 21:06:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 22:06:21 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AuHqn-00043z-00 for ; Fri, 20 Feb 2004 22:06:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AuHpg-0007zT-6q for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Feb 2004 16:05:12 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-stoc.telia.net!news-stoa.telia.net!telia.net!nntp.inet.fi!inet.fi!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.sunet.se!news01.sunet.se!news.island.liu.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: astmatix.ida.liu.se Original-X-Trace: news.island.liu.se 1077310530 11722 130.236.186.15 (20 Feb 2004 20:55:30 GMT) Original-X-Complaints-To: abuse@island.liu.se Original-NNTP-Posting-Date: Fri, 20 Feb 2004 20:55:30 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-Xref: shelby.stanford.edu gnu.emacs.help:121083 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:17033 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17033 "David Kastrup" wrote in message news:x5r7wpmqhw.fsf@lola.goethe.zz... > "William Payne" writes: > > > Hello, can I control the way Emacs saves text files, and by way I mean > > windows style and *nix style line breaks? > > > > Preferrably, I'm looking for a setting I can put in my .emacs file. > > What problem are you having with it? It saves usually in the style > in which it has read them. > > -- > David Kastrup, Kriemhildstr. 15, 44793 Bochum Well, if I do C-x C-f and "open" a file that doesn't exist I would like to be able to specify how it should be saved (windows or *nix style line breaks). I am using Emacs for Windows (I compiled Emacs from source myself) under Cygwin, and I want to save all files I create from within Emacs as unix files instead of Windows files as it is doing now. / WP