help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mac/dos/unix newline conversion without specify from


From: David Kastrup
Subject: Re: mac/dos/unix newline conversion without specify from
Date: Wed, 05 Dec 2007 16:05:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Xah Lee <xah@xahlee.org> writes:

> Xah Lee wrote:
> <<Carbon Emacs 22 and also Aquamacs (launched with -q), does not open a
> file with classic Mac OS line endings properly? (i.e.  EOL shows up as
> ^M)>>
>
> David Reitter wrote:
> <<I just tried it and it works for me (Aquamacs from CVS). The coding
> shows up as "Mac" in the mode-line.>>
>
> I was able to reproduce this 100% on Carbon emacs and aquamacs without
> customization (emacs -q).

More likely than not, you have a file with inconsistent line end
characters.  In that case, Emacs has to choose "-unix" line encoding or
it would change the file when writing it back to disk.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

[Prev in Thread] Current Thread [Next in Thread]