From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67848 Path: news.gmane.org!not-for-mail From: Frank Schmitt 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 22:43:51 +0100 Organization: Hamme net, kren mer och nimmi Message-ID: References: <871vyf6q40.fsf@marauder.physik.uni-ulm.de> <87k5ampwej.fsf@marauder.physik.uni-ulm.de> <87y6yzbjgf.fsf@marauder.physik.uni-ulm.de> <87iqpz4tg2.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228427146 17277 80.91.229.12 (4 Dec 2008 21:45:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 21:45:46 +0000 (UTC) Cc: Simon Josefsson , ding@gnus.org, 1174@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: ding-owner+M16295@lists.math.uh.edu Thu Dec 04 22:46:48 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 1L8M23-0000Xw-QC for ding-account@gmane.org; Thu, 04 Dec 2008 22:46:48 +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 1L8M0C-0005Pb-Iy; Thu, 04 Dec 2008 15:44:52 -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 1L8M0A-0005PO-Uj for ding@lists.math.uh.edu; Thu, 04 Dec 2008 15:44:50 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L8M08-0001ys-1G for ding@lists.math.uh.edu; Thu, 04 Dec 2008 15:44:50 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L8M0J-0000eD-00 for ; Thu, 04 Dec 2008 22:44:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 55F87789AB00; Thu, 4 Dec 2008 22:44:46 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09160-06-3; Thu, 4 Dec 2008 22:44:45 +0100 (CET) X-CHKRCPT: Envelopesender vrfy ich@frank-schmitt.net Original-Received: from glasgow.frank-schmitt.net (U8956.u.pppool.de [89.56.137.86]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 299D6789AB5E; Thu, 4 Dec 2008 22:44:45 +0100 (CET) Original-Received: from glasgow.frank-schmitt.net.Frank-Schmitt.net (glasgow.frank-schmitt.net [127.0.0.1]) by glasgow.frank-schmitt.net (Postfix) with ESMTP id 3F2552224A; Thu, 4 Dec 2008 22:43:51 +0100 (CET) X-Face: :EL9TzGRN){7|oE2~xQ8Q(VjpjsXgX$~gi&rYD5J5p)$w\Thdl~v:7h`/n)J!8nXT%_+Wj6}@EHM8}QbA(9nX-wrQ:ch1%DauV[?kFasXUcnL#+"K8zOx&$@/M'/},q-eztaJra1|?C+p$h\2XnK-HB"8_U (Reiner Steib's message of "Thu, 04 Dec 2008 20:43:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67848 Archived-At: Reiner Steib writes: > 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. Yes, I can confirm the bug is fixed in CVS head. -- Have you ever considered how much text can fit in eighty columns? Given that a signature typically contains up to four lines of text, this space allows you to attach a tremendous amount of valuable information to your messages. Seize the opportunity and don't waste your signature on bullshit that nobody cares about.