all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: mule-ja@m17n.org, emacs-devel@gnu.org
Subject: Re: problem with system_eol_type
Date: Mon, 31 Jul 2006 23:19:44 -0400	[thread overview]
Message-ID: <jwvfyghi1od.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <b4mbqr5xled.fsf@jpl.org> (Katsumi Yamaoka's message of "Tue, 01 Aug 2006 11:03:22 +0900")

> 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

  reply	other threads:[~2006-08-01  3:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-31  6:04 problem with system_eol_type Kenichi Handa
2006-07-31  9:46 ` Reiner Steib
2006-07-31 16:30   ` Stefan Monnier
2006-07-31 17:00     ` Jason Rumney
2006-07-31 17:28       ` Eli Zaretskii
2006-07-31 17:28     ` Eli Zaretskii
2006-07-31 17:52     ` Stefan Monnier
2006-07-31 17:27 ` Eli Zaretskii
2006-07-31 22:16 ` Richard Stallman
2006-08-01  2:03   ` Katsumi Yamaoka
2006-08-01  3:19     ` Stefan Monnier [this message]
2006-08-01  6:10       ` Katsumi Yamaoka
2006-08-09 10:35     ` Katsumi Yamaoka
2006-08-09 12:27       ` Stefan Monnier
2006-08-09 22:07         ` Katsumi Yamaoka
2006-08-10  1:13       ` Richard Stallman
2006-08-10  7:35         ` Reiner Steib

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfyghi1od.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mule-ja@m17n.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.