* EOL question
@ 2003-05-10 12:20 Michael Powe
2003-05-10 13:32 ` Marco Parrone
2003-05-10 17:35 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: Michael Powe @ 2003-05-10 12:20 UTC (permalink / raw)
hello,
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.
thanks.
mp
--
Michael Powe Waterbury, CT USA
-------------------------------------------------------------------
"I wrote what I did because as a woman, as a mother, I was oppressed
and brokenhearted with the sorrows and injustice I saw, because as a
Christian I felt the dishonor to Christianity, -- because as a lover
of my country, I trembled at the coming day of wrath." -- H.B. Stowe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EOL question
2003-05-10 12:20 EOL question Michael Powe
@ 2003-05-10 13:32 ` Marco Parrone
2003-05-10 17:37 ` Eli Zaretskii
2003-05-10 17:35 ` Eli Zaretskii
1 sibling, 1 reply; 4+ messages in thread
From: Marco Parrone @ 2003-05-10 13:32 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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)
More info with
C-h C RET
C-h v file-coding-system-alist RET
C-h i d m emacs RET i file-coding-system-alist RET
- --
Marco Parrone - marc0@autistici.org
www.autistici.org/marc0
2143 9E77 D5E6 115A 48AD A170 D0EE F736 (4E88 99C2)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQE+vP9C0O73Nk6ImcIRAjk0AKDkYH+cXzbBC8chRPbYoetQ/yfesACfRQdo
pNBa9/H91BcBZKDPmCUpj1w=
=H2/L
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EOL question
2003-05-10 13:32 ` Marco Parrone
@ 2003-05-10 17:37 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2003-05-10 17:37 UTC (permalink / raw)
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EOL question
2003-05-10 12:20 EOL question Michael Powe
2003-05-10 13:32 ` Marco Parrone
@ 2003-05-10 17:35 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2003-05-10 17:35 UTC (permalink / raw)
> From: Michael Powe <michael@trollope.org>
> Newsgroups: gnu.emacs.help
> Date: 10 May 2003 08:20:59 -0400
>
> 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.
In the Emacs manual, go to the node "Text and Binary", and read the
descriprion of the "untranslated filesystem" feature. It allows you
to control the EOL convention used for files created by Emacs on a
filesystem by filesystem basis.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-10 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 12:20 EOL question Michael Powe
2003-05-10 13:32 ` Marco Parrone
2003-05-10 17:37 ` Eli Zaretskii
2003-05-10 17:35 ` Eli Zaretskii
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).