all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Inconsistencies regarding nil coding-system
Date: Sat, 11 Dec 2010 12:33:06 +0200	[thread overview]
Message-ID: <83aakcvbtp.fsf@gnu.org> (raw)

  (coding-system-change-eol-conversion nil 'unix) => nil
  (coding-system-change-text-conversion 'latin-1-dos nil) => undecided-dos
  (coding-system-base nil) => no-conversion

When primitives that encode/decode text accept nil as their
coding-system argument, they use `undecided' (AFAIK).  So the second
result above looks reasonable, but the first and the last are
inconsistent, and the last one is downright surprising.

Any reasons not to change coding-system-change-eol-conversion and
coding-system-base to consistently treat nil as `undecided'?  (If
agreed to, I suggest to make this change only on the trunk, not on the
release branch.)



             reply	other threads:[~2010-12-11 10:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-11 10:33 Eli Zaretskii [this message]
2010-12-13  7:45 ` Inconsistencies regarding nil coding-system Kenichi Handa
2010-12-13 14:58   ` Eli Zaretskii
2010-12-14  1:41     ` Kenichi Handa
2010-12-14  4:00       ` Eli Zaretskii
2010-12-14  4:40         ` Kenichi Handa
2010-12-14  7:44           ` Kenichi Handa
2010-12-14  9:25             ` Eli Zaretskii
2010-12-14 11:03               ` Kenichi Handa
  -- strict thread matches above, loose matches on Subject: below --
2010-12-11 10:33 Eli Zaretskii

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=83aakcvbtp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@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.