[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
xah@xahlee.org
\xAD\xF4 http://xahlee.org/
- mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/02
- Re: mac/dos/unix newline conversion without specify from, David Reitter, 2007/12/04
- Re: mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/05
- Re: mac/dos/unix newline conversion without specify from, David Kastrup, 2007/12/05
- Re: mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/05
- Re: mac/dos/unix newline conversion without specify from, David Kastrup, 2007/12/05
- Re: mac/dos/unix newline conversion without specify from,
Xah Lee <=
- Re: mac/dos/unix newline conversion without specify from, David Kastrup, 2007/12/05
- Re: mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/07
- Re: mac/dos/unix newline conversion without specify from, Stefan Monnier, 2007/12/07
- Re: mac/dos/unix newline conversion without specify from, Stefan Monnier, 2007/12/07
- Re: mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/07
- Re: mac/dos/unix newline conversion without specify from, Stefan Monnier, 2007/12/07
- Re: mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/07
- Re: mac/dos/unix newline conversion without specify from, Eli Zaretskii, 2007/12/08
- Message not available
- Re: mac/dos/unix newline conversion without specify from, Xah Lee, 2007/12/08
- Re: mac/dos/unix newline conversion without specify from, David Kastrup, 2007/12/08