From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: [davidsmith@acm.org: [patch] url-hexify-string does not follow W3C spec] Date: Wed, 09 Aug 2006 12:48:16 +0900 Message-ID: References: <44CDDF7A.8060404@gnu.org> <87lkq9ivgf.fsf@acm.org> <85k65sxzcq.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1155095390 14162 80.91.229.2 (9 Aug 2006 03:49:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2006 03:49:50 +0000 (UTC) Cc: davidsmith@acm.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, ttn@gnu.org, jasonr@gnu.org, mituharu@math.s.chiba-u.ac.jp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 09 05:49:48 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GAf4j-0007U5-Qu for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 05:49:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAf4j-00039b-DF for ged-emacs-devel@m.gmane.org; Tue, 08 Aug 2006 23:49:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GAf4V-00038N-LH for emacs-devel@gnu.org; Tue, 08 Aug 2006 23:49:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GAf4U-00035E-1V for emacs-devel@gnu.org; Tue, 08 Aug 2006 23:49:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAf4T-000355-TN for emacs-devel@gnu.org; Tue, 08 Aug 2006 23:49:29 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GAf8s-0002oi-1o; Tue, 08 Aug 2006 23:54:02 -0400 Original-Received: from smtp4.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k793n9p0026677; Wed, 9 Aug 2006 12:49:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id k793n8XU011887; Wed, 9 Aug 2006 12:49:08 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1GAf3I-0001FU-00; Wed, 09 Aug 2006 12:48:16 +0900 Original-To: David Kastrup In-reply-to: <85k65sxzcq.fsf@lola.goethe.zz> (message from David Kastrup on Tue, 01 Aug 2006 17:14:13 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:58199 Archived-At: In article <85k65sxzcq.fsf@lola.goethe.zz>, David Kastrup writes: > Stefan Monnier writes: >>> (if (or (multibyte-string-p string) >>> (not unibyte-as-is-p)) >>> (encode-coding-string string 'utf-8 t) >> >> Encoding a unibyte string doesn't make any sense (IMHO it should >> signal an error, and indeed in my locally hacked Emacs it does ;-). > It sounds to me like this would be a sensible setting, and we should > have it before entering pretest: we would like to catch the cases > where this happens. This situation has been there for long (since Emacs 20). I don't want to touch this part before the release. Emacs 23 is the good chance to clean this matter. --- Kenichi Handa handa@m17n.org