From: Stefan Monnier <monnier@iro.umontreal.ca>
To: poppyer@gmail.com
Cc: emacs-pretest-bug@gnu.org, 1653@emacsbugs.donarmstrong.com
Subject: bug#1653: 23.0.60; encoding system nil != no-conversion, is it deliberately?
Date: Sun, 21 Dec 2008 21:57:37 -0500 [thread overview]
Message-ID: <jwviqpc7we0.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <9ghc4y3wv8.fsf@nusnet-97-126.dynip.nus.edu.sg> (poppyer@gmail.com's message of "Sun, 21 Dec 2008 13:44:59 +0800")
> In emacs23, setting a encoding system to nil doesn't behaver the same
> as setting it to no-conversion.
> For example: (setq default-process-coding-system '(nil . utf-8))
> and (setq default-process-coding-system '(no-conversion . utf-8))
> have differenct effects on the following "call-process".
> Is this deliberately? is there any good reason?
> This setting will break quite a lot of 3rd party .el plugins
> (emms/unicad etc), which usually set
> xxxxxxxx-default-encoding-system's default value to nil.
Why would anybody use nil to mean `binary' aka `no-conversion' aka
`raw-text-unix'? In this context, nil should simply mean "the coding
system is not specified by this variable, so keep looking for other
clues to figure out which coding system to use".
Stefan
next prev parent reply other threads:[~2008-12-22 2:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-21 5:44 bug#1653: 23.0.60; encoding system nil != no-conversion, is it deliberately? poppyer
2008-12-22 2:57 ` Stefan Monnier [this message]
2008-12-22 4:23 ` poppyer
2008-12-22 12:35 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwviqpc7we0.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=1653@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=poppyer@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).