From: Eli Zaretskii <eliz@elta.co.il>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Windows text files saved as Unix files
Date: 10 Mar 2004 07:54:07 +0200 [thread overview]
Message-ID: <uwu5tb62o.fsf@elta.co.il> (raw)
In-Reply-To: <7DC731FDF2B7204F92F1A7468C226CB9100BD620@sw720x044.visa.com> (JFeghhi@visa.com)
> From: "Feghhi, Jalil" <JFeghhi@visa.com>
> Date: Thu, 4 Mar 2004 11:57:10 -0800
>
> I just installed the Windows versions of emacs and when I edit text files on my Windows they are saved with unix-stype linefeeds. When I open these files, I see Unix at the left hand side of the buffer too.
>
> I searched for some time and found several articles on this but nothing that could help me. How can I fix this problem? Also, why the default installation for Windows is like this?
Are these new files you create with Emacs, or are these existing
files you edit?
If the latter, Emacs preserves their original end-of-line format; if
they originally had Unix-style linefeeds, Emacs will save the edited
file with the same end-of-line format.
If these are new files created by Emacs, it's probably something in
your customization, as by default Emacs on Windows creates files with
Windows-style CR-LF pairs at the end of each line. Try invoking Emacs
with "emacs -q" and see if that helps; if it does, look inside your
.emacs (or _emacs) init file for some customization that causes this.
Things to watch for are setting of the defaults for files'
coding-system and use of untranslated-filesystem feature.
next prev parent reply other threads:[~2004-03-10 5:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 19:57 Windows text files saved as Unix files Feghhi, Jalil
2004-03-10 5:54 ` Eli Zaretskii [this message]
[not found] <mailman.1305.1078872185.340.help-gnu-emacs@gnu.org>
2004-03-10 7:37 ` martin
2004-03-10 8:54 ` Mario Domgörgen
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=uwu5tb62o.fsf@elta.co.il \
--to=eliz@elta.co.il \
--cc=help-gnu-emacs@gnu.org \
/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).