From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67846 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23 Date: Thu, 04 Dec 2008 20:43:41 +0100 Message-ID: <87iqpz4tg2.fsf@marauder.physik.uni-ulm.de> References: <871vyf6q40.fsf@marauder.physik.uni-ulm.de> <87k5ampwej.fsf@marauder.physik.uni-ulm.de> <87y6yzbjgf.fsf@marauder.physik.uni-ulm.de> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228419918 22926 80.91.229.12 (4 Dec 2008 19:45:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 19:45:18 +0000 (UTC) Cc: Simon Josefsson , Frank Schmitt , ding@gnus.org, 1174@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: ding-owner+M16293@lists.math.uh.edu Thu Dec 04 20:46:18 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1L8K9N-0004oM-Ca for ding-account@gmane.org; Thu, 04 Dec 2008 20:46:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1L8K7Q-0004nD-By; Thu, 04 Dec 2008 13:44:12 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1L8K7P-0004my-1f for ding@lists.math.uh.edu; Thu, 04 Dec 2008 13:44:11 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L8K7I-0001QU-Gw for ding@lists.math.uh.edu; Thu, 04 Dec 2008 13:44:10 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L8K7T-00073n-00 for ; Thu, 04 Dec 2008 20:44:15 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mB4JhjDa003130; Thu, 4 Dec 2008 20:43:46 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 9FE131C865; Thu, 4 Dec 2008 20:43:45 +0100 (CET) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: Stefan Monnier , Simon Josefsson , Frank Schmitt , ding@gnus.org, 1174@emacsbugs.donarmstrong.com In-Reply-To: (Stefan Monnier's message of "Tue, 02 Dec 2008 02:36:31 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-debian-Metrics: poseidon 1169; Body=5 Fuz1=5 Fuz2=5 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67846 Archived-At: On Tue, Dec 02 2008, Stefan Monnier wrote: >> In Emacs 21 (which Gnus still aim to be compatible with), we have >> string-as-multibyte, but not string-to-multibyte. So your proposed >> code (i.e. mm-string-to-multibyte) runs > >> (string-as-multibyte (char-to-string string)) >> whereas we used to run >> (string-as-multibyte string) >> Does char-to-string matter here? [...] >> (lambda (string) >> "Return a multibyte string with the same individual chars as string." >> (mapconcat >> (lambda (ch) (mm-string-as-multibyte (char-to-string ch))) >> string ""))))) > > Oh, that's clever: yes, the mapconcat/char-to-string dance does make it > implement the string-to-multibyte behavior because doing the > string-as-multibyte conversion one byte at a time avoids the > problematic case. Good. So I think you can close this bug. Thanks. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/