unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bijan Soleymani <bijan@psq.com>
Subject: Re: force save in windoze format
Date: 08 Apr 2003 12:25:26 -0400	[thread overview]
Message-ID: <u7ka5ard5.fsf@psq.com> (raw)
In-Reply-To: mailman.4277.1049806606.21513.help-gnu-emacs@gnu.org

"Daniel R. Anderson" <dan@mathjunkies.com> 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 <ret> c dos <r> C-x C-s

And to save in unix format:
C-x <ret> c unix <r> C-x C-s

Opening should be handled automatically in recent version of emacs.

Hope that helps,
Bijan

       reply	other threads:[~2003-04-08 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4277.1049806606.21513.help-gnu-emacs@gnu.org>
2003-04-08 16:25 ` Bijan Soleymani [this message]
2003-04-08  8:52 force save in windoze format Daniel R. Anderson

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=u7ka5ard5.fsf@psq.com \
    --to=bijan@psq.com \
    /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).