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: Xah Lee
Subject: Re: mac/dos/unix newline conversion without specify from
Date: Wed, 5 Dec 2007 08:51:02 -0800 (PST)
User-agent: G2/1.0

Xah Lee wrote:
<<Open a unix file, do replace-string from LF to CR. Save the file.
Then start emacs with -q, open the file. It doesn't interprete the
file as a mac os classic file but instead display newline char as ^M.>>

David Kastrup wrote:
<<
It does switch to Mac endings here in this case.  Just tried it.
>>

mm... interesting. Here's a sample file for what's worth:
http://xahlee.org/emacs/x-unixmacdos-eol/x1mac

Xah wrote:
<<given the current situation, how to instruct emacs (as a user) to
open a file with CR as EOL?>>

David wrote:
<<
You can always do something like C-x RET c latin-1-mac RET C-x C-f
file RET
>>

Thanks.

  Xah
  address@hidden
\xAD\xF4 http://xahlee.org/



reply via email to

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