From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1653: 23.0.60; encoding system nil != no-conversion, is it deliberately? Date: Sun, 21 Dec 2008 21:57:37 -0500 Message-ID: References: <9ghc4y3wv8.fsf@nusnet-97-126.dynip.nus.edu.sg> Reply-To: Stefan Monnier , 1653@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229916217 11849 80.91.229.12 (22 Dec 2008 03:23:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2008 03:23:37 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 1653@emacsbugs.donarmstrong.com To: poppyer@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 22 04:24:42 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LEbPN-0003PH-N2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Dec 2008 04:24:42 +0100 Original-Received: from localhost ([127.0.0.1]:45450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEbOB-0007X5-5v for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Dec 2008 22:23:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEbO7-0007W1-ES for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 22:23:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEbO6-0007VD-NH for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 22:23:22 -0500 Original-Received: from [199.232.76.173] (port=35814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEbO6-0007Ux-IG for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 22:23:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35835) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LEbO6-0005r7-2m for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 22:23:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBM3NJrr016632; Sun, 21 Dec 2008 19:23:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBM355jE011962; Sun, 21 Dec 2008 19:05:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 22 Dec 2008 03:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1653 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12299146679828 (code B ref -1); Mon, 22 Dec 2008 03:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Dec 2008 02:57:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBM2vg5I009820 for ; Sun, 21 Dec 2008 18:57:44 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:35367 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LEayQ-0005Dw-K2 for emacs-pretest-bug@gnu.org; Sun, 21 Dec 2008 21:56:50 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LEazD-0004BL-6o for emacs-pretest-bug@gnu.org; Sun, 21 Dec 2008 21:57:41 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:42448) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LEazC-0004BE-Ow for emacs-pretest-bug@gnu.org; Sun, 21 Dec 2008 21:57:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgkFAMqQTklMCqBi/2dsb2JhbACBbLpZWI8IhkOBWg X-IronPort-AV: E=Sophos;i="4.36,261,1228107600"; d="scan'208";a="31357178" Original-Received: from 76-10-160-98.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.98]) by ironport2-out.teksavvy.com with ESMTP; 21 Dec 2008 21:57:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 007B784A4; Sun, 21 Dec 2008 21:57:37 -0500 (EST) 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") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 21 Dec 2008 22:23:22 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23426 gmane.emacs.pretest.bugs:23539 Archived-At: > 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