From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [davidsmith@acm.org: [patch] url-hexify-string does not follow W3C spec] Date: Tue, 01 Aug 2006 17:14:13 +0200 Message-ID: <85k65sxzcq.fsf@lola.goethe.zz> References: <44CDDF7A.8060404@gnu.org> <87lkq9ivgf.fsf@acm.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154445347 14921 80.91.229.2 (1 Aug 2006 15:15:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 15:15:47 +0000 (UTC) Cc: David Smith , Thien-Thi Nguyen , Jason Rumney , YAMAMOTO Mitsuharu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 17:15:42 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 1G7vxC-0007YP-VM for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 17:14:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7vxC-0000SM-Aa for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 11:14:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7vwx-0000Pu-PO for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:14:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7vwv-0000OG-Vs for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:14:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7vwv-0000Nq-Nr for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:14:25 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7vzq-0000Nx-Cw for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:17:26 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1G7vwv-0001R0-0c; Tue, 01 Aug 2006 11:14:25 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 4F2DF1CE3082; Tue, 1 Aug 2006 17:14:13 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Tue, 01 Aug 2006 11:10:46 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:57938 Archived-At: 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. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum