all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inconsistencies regarding nil coding-system
@ 2010-12-11 10:33 Eli Zaretskii
  2010-12-13  7:45 ` Kenichi Handa
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2010-12-11 10:33 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

  (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.)



^ permalink raw reply	[flat|nested] 10+ messages in thread
* Inconsistencies regarding nil coding-system
@ 2010-12-11 10:33 Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2010-12-11 10:33 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

  (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.)



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-12-14 11:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-11 10:33 Inconsistencies regarding nil coding-system Eli Zaretskii
2010-12-13  7:45 ` 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

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.