From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: [Unicode-2] `read' always returns multibyte symbol Date: Thu, 15 Nov 2007 20:08:34 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1195124944 7909 80.91.229.12 (15 Nov 2007 11:09:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Nov 2007 11:09:04 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 15 12:09:09 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iscar-00029D-11 for ged-emacs-devel@m.gmane.org; Thu, 15 Nov 2007 12:09:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iscae-000543-8n for ged-emacs-devel@m.gmane.org; Thu, 15 Nov 2007 06:08:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iscaa-00053S-Jo for emacs-devel@gnu.org; Thu, 15 Nov 2007 06:08:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IscaY-000530-Uz for emacs-devel@gnu.org; Thu, 15 Nov 2007 06:08:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IscaY-00052x-Pv for emacs-devel@gnu.org; Thu, 15 Nov 2007 06:08:50 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IscaY-00054Q-5L for emacs-devel@gnu.org; Thu, 15 Nov 2007 06:08:50 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id lAFB8kFS008120; Thu, 15 Nov 2007 20:08:46 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id lAFB8knY002787; Thu, 15 Nov 2007 20:08:46 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id lAFB8ZnX028586; Thu, 15 Nov 2007 20:08:35 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IscaI-00085o-UG; Thu, 15 Nov 2007 20:08:34 +0900 In-reply-to: (message from Katsumi Yamaoka on Thu, 15 Nov 2007 19:20:02 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83259 gmane.emacs.gnus.general:65673 Archived-At: In article , Katsumi Yamaoka writes: >>>>>> Katsumi Yamaoka wrote: > > BTW, I found another problem with Emacs 21 (Gnus still supports > > Emacs 21, IIUC). So, I'll go on looking into it further. > I realized a network process that is created by > `open-network-stream' in Emacs 21 breaks encoded non-ASCII group > names if the process buffer is in the multibyte mode even if the > process coding system is binary. It behaves as if > `toggle-enable-multibyte-characters' modifies binary data when > turning on the multibyteness of a buffer. If "modifies" means that 8-bit bytes are converted to multibyte characters as what string-as-multibyte does, it's an expected behaviour. I long ago proposed a facility that turns on the multibyteness of a buffer while converting 8-bit bytes to multibyte characters as what string-to-multibyte does, but not accepted. --- Kenichi Handa handa@ni.aist.go.jp