[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with system_eol_type
From: |
Stefan Monnier |
Subject: |
Re: problem with system_eol_type |
Date: |
Mon, 31 Jul 2006 23:19:44 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> By the way, why is not CR used in Mac when specifying the coding
> system `foo', not `foo-eol'?
Only Mac OS 9 used CR-eol. Mac OS X uses LF, like any other Unix variant.
> Contrary to this argument concerning saving of files, I hope the
> forms
> (encode-coding-string "bar\n" 'foo)
> and
> (with-temp-buffer
> (insert "bar\n")
> (encode-coding-region (point-min) (point-max) 'foo)
> (buffer-string))
> always return "bar\n" regardless of the system-type in the
> future as well.
Why this discrepancy?
Stefan