From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: poppyer Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1653: 23.0.60; encoding system nil != no-conversion, is it deliberately? Date: Mon, 22 Dec 2008 12:23:56 +0800 Message-ID: References: <9ghc4y3wv8.fsf@nusnet-97-126.dynip.nus.edu.sg> Reply-To: poppyer , 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 1229924205 25988 80.91.229.12 (22 Dec 2008 05:36:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2008 05:36:45 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 1653@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 22 06:37:48 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 1LEdU8-00028u-1T for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Dec 2008 06:37:44 +0100 Original-Received: from localhost ([127.0.0.1]:53261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEdSv-0006uC-2i for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Dec 2008 00:36:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEcdY-0006zn-9r for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 23:43:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEcdX-0006z8-G6 for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 23:43:23 -0500 Original-Received: from [199.232.76.173] (port=57163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEcdX-0006z1-9e for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 23:43:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40643) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LEcdW-0002ny-OR for bug-gnu-emacs@gnu.org; Sun, 21 Dec 2008 23:43:23 -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 mBM4hJtp005887; Sun, 21 Dec 2008 20:43:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBM4U3tu002059; Sun, 21 Dec 2008 20:30:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: poppyer Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 22 Dec 2008 04:30:02 +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.1229919852694 (code B ref -1); Mon, 22 Dec 2008 04:30:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Dec 2008 04:24:12 +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 mBM4O9Kg000688 for ; Sun, 21 Dec 2008 20:24:10 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:37188 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LEcK6-0006hj-1P for emacs-pretest-bug@gnu.org; Sun, 21 Dec 2008 23:23:18 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LEcKu-0001TQ-G7 for emacs-pretest-bug@gnu.org; Sun, 21 Dec 2008 23:24:09 -0500 Original-Received: from ti-out-0910.google.com ([209.85.142.185]:8342) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LEcKt-0001TG-TX for emacs-pretest-bug@gnu.org; Sun, 21 Dec 2008 23:24:08 -0500 Original-Received: by ti-out-0910.google.com with SMTP id u5so1296408tia.10 for ; Sun, 21 Dec 2008 20:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=Nj7ygrb8Kgb2YJ9fPzp3rVoLz0CyMo28s6qJ2q4oxaM=; b=b2Y+hpACzaWFxSvqf3xBeaq3Cwe4fbgugNe/YbYLuET1Rs+LinkGDoDdZ7cNLSJPDZ q3/iG17btrYLcv/rie78SkEgKqZMzth2KMH3fnyyLBew+ryH4B3QDBJ31ncvZnThfbOe CfKIbArpmQBFIY2eLgeRsWWBrDF9jOENX6LmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=QyeUYqlc6zbZsd1n/kc6nKNTfd2nUaNRpy8M3YPzUmS1/iZoQJHeqwvEwVbBGC97tW vhyNWpNGItjZFdDsfm3OQ5IXExlUX2YUC1KBaaU7A9e1kyPbc+s16/OJNwXsg6PIeZtJ gDPvrArcQe1oU3S1lqGdNtFVcZHR1s0t3NG0A= Original-Received: by 10.110.105.5 with SMTP id d5mr4388232tic.47.1229919844647; Sun, 21 Dec 2008 20:24:04 -0800 (PST) Original-Received: from nusnet-97-126.dynip.nus.edu.sg.yourcompany.com (nusnet-97-126.dynip.nus.edu.sg [137.132.97.126]) by mx.google.com with ESMTPS id a4sm363068tib.27.2008.12.21.20.24.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Dec 2008 20:24:03 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Sun, 21 Dec 2008 21:57:37 -0500") User-Agent: Emacs Gnus X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 21 Dec 2008 23:43:23 -0500 X-Mailman-Approved-At: Mon, 22 Dec 2008 00:36:14 -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:23428 gmane.emacs.pretest.bugs:23541 Archived-At: Stefan Monnier writes: >> 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". Sure, no problem for this if the developers decide to do so deliberately. But we'd better highlight this change in the documents, since it is different with Emacs22. It has took me one whole day to figure this "bug" out for emms weirdness. Cheers, poppyer > > > Stefan