unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "William Payne" <mikas493_no_s_p_a_m_@student.liu.se>
Subject: Re: Can I change the way emacs saves text files?
Date: Fri, 20 Feb 2004 21:55:58 +0100	[thread overview]
Message-ID: <c15s82$bea$1@news.island.liu.se> (raw)
In-Reply-To: x5r7wpmqhw.fsf@lola.goethe.zz


"David Kastrup" <dak@gnu.org> wrote in message
news:x5r7wpmqhw.fsf@lola.goethe.zz...
> "William Payne" <mikas493_no_s_p_a_m_@student.liu.se> 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

  reply	other threads:[~2004-02-20 20:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-20 20:37 Can I change the way emacs saves text files? William Payne
2004-02-20 20:43 ` David Kastrup
2004-02-20 20:55   ` William Payne [this message]
2004-02-21  0:26     ` David Kastrup
2004-02-21  9:41       ` Eli Zaretskii
2004-02-21  9:38     ` Eli Zaretskii
2004-02-20 21:13   ` Roodwriter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c15s82$bea$1@news.island.liu.se' \
    --to=mikas493_no_s_p_a_m_@student.liu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).