From: "Eli Zaretskii" <eliz@elta.co.il>
Subject: Re: EOL question
Date: Sat, 10 May 2003 20:37:51 +0300 [thread overview]
Message-ID: <4634-Sat10May2003203750+0300-eliz@elta.co.il> (raw)
In-Reply-To: <87znlvsza0.fsf@marc0host.dyndns.org> (message from Marco Parrone on Sat, 10 May 2003 13:32:21 GMT)
> Newsgroups: gnu.emacs.help
> From: Marco Parrone <marc0@autistici.org>
> Date: Sat, 10 May 2003 13:32:21 GMT
>
> Michael Powe <michael@trollope.org> writes:
>
> > is there a way for me to have NTemacs always write files in unix
> > format? i've read the manual but i don't seem to see anything that
> > creates this behavior. when i create files on nt, i don't want to
> > have to strip the carriage returns when i move the files onto linux.
>
> Try
>
> (modify-coding-system-alist 'file "" 'unix)
I don't recommend this solution. Not only does it disable _all_
conversions, not just EOL conversions, for files whose encodings are
known in advance, but it will also break whenever coding-systems alist
is modified by some package or the user in their ~/.emacs.
Don't do that.
See my other mail in this thread for the solution recommended by the
Emacs manual.
next prev parent reply other threads:[~2003-05-10 17:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-10 12:20 EOL question Michael Powe
2003-05-10 13:32 ` Marco Parrone
2003-05-10 17:37 ` Eli Zaretskii [this message]
2003-05-10 17:35 ` Eli Zaretskii
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=4634-Sat10May2003203750+0300-eliz@elta.co.il \
--to=eliz@elta.co.il \
/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).