From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.bugs Subject: bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23 Date: Sat, 29 Nov 2008 17:14:11 -0500 Message-ID: References: <871vyf6q40.fsf@marauder.physik.uni-ulm.de> <87k5ampwej.fsf@marauder.physik.uni-ulm.de> <878wr2ohde.fsf@mocca.josefsson.org> <87d4geim7p.fsf@marauder.physik.uni-ulm.de> Reply-To: James Cloos , 1174@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227997834 13325 80.91.229.12 (29 Nov 2008 22:30:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 22:30:34 +0000 (UTC) Cc: Simon Josefsson , Clemens Schueller , Frank Schmitt , 1174@emacsbugs.donarmstrong.com, ding@gnus.org To: Reiner Steib Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 23:31:37 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6YLe-0005Mr-SC for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 23:31:35 +0100 Original-Received: from localhost ([127.0.0.1]:60738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6YKU-0005Nd-JU for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 17:30:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6YKP-0005KV-Ud for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 17:30:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6YKO-0005HK-Ij for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 17:30:17 -0500 Original-Received: from [199.232.76.173] (port=41878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6YKO-0005Gt-Dh for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 17:30:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49234) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6YKN-0001Wl-To for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 17:30:16 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATMUCRW019284; Sat, 29 Nov 2008 14:30:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mATMK3rK016131; Sat, 29 Nov 2008 14:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: James Cloos Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 29 Nov 2008 22:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1174 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1174-submit@emacsbugs.donarmstrong.com id=B1174.122799690214770 (code B ref 1174); Sat, 29 Nov 2008 22:20:03 +0000 Original-Received: (at 1174) by emacsbugs.donarmstrong.com; 29 Nov 2008 22:15:02 +0000 Original-Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATMEsDh014744 for <1174@emacsbugs.donarmstrong.com>; Sat, 29 Nov 2008 14:14:55 -0800 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 68692400A8; Sat, 29 Nov 2008 21:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1227995513; bh=XcTGJL6eGZHQG8IJgD7Bh3vqgWKado/u707fVYK3D d8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=WSefocdpt209rPNVVb6yCI5Z93yIKRva1Wuip JlcZieqIrYCVmzg0VyahfvRCFyaCZRecSF1JSbOgRweaocebboCUaP/6QpDq9IQPrOh TY7K5giWmr0Wc3LE58OhzXNB8Z8zJ4PSKxXPMvf6PlMhdw8cwDpIsI7To7VTDKZIvHM = Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 8A833C6F99; Sat, 29 Nov 2008 22:14:34 +0000 (UTC) In-Reply-To: <87d4geim7p.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sat, 29 Nov 2008 16:30:18 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2008 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 35 X-Hashcash: 1:23:081129:reiner.steib@gmx.de::agWEHKlKK5PEvNuz:000000000000000000000000000000000000000000IZad X-Hashcash: 1:23:081129:simon@josefsson.org::DzUdWYI4EQkhRg48:000000000000000000000000000000000000000000EEow X-Hashcash: 1:23:081129:ich@frank-schmitt.net::ZHNld8HUMki1/0JJ:0000000000000000000000000000000000000000LZC7 X-Hashcash: 1:23:081129:monnier@iro.umontreal.ca::3J4D8MiMNpFDQHAU:0000000000000000000000000000000000000Z1Fi X-Hashcash: 1:23:081129:ding@gnus.org::vn7pN4+bfY/A12tS:0000Y/QK X-Hashcash: 1:23:081129:1174@emacsbugs.donarmstrong.com::51QvCmsDd9hqRlzH:000000000000000000000000000000EH0o X-Hashcash: 1:23:081129:cs.usenet.nospam@aon.at::cgv2m4KAkjYOz2FI:00000000000000000000000000000000000000jm+l X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 29 Nov 2008 17:30:16 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22773 Archived-At: The easiest test case are utf-8 emails which are 8bit mime and which fail to specify their charset, or specify utf-8 in some incorrect way. The most common example may be commit messgages; the scripts usually do not specify a charset since they commit messages and src could be in any encoding and they send them out as is. NB that this bug never showed up for me when using the unicode-2 branch before that was pulled into mainline. Some unibyte vs multibyte change was made after that happened which started triggering the bug. A possibly related issue is that (gnus-article-treat-dumbquotes) also does not work for me anymore. I do specify my own gnus-article-dumbquotes-map in ~/.gnus, but the syntax is the same as what is still (defvar)ed in gnus-art.el. (I use utf-8 results rather than ascii fallbacks.) The symptom is that the strings such as "\221" do not match the relevant octets in the *Article* buffer, as they used to do. This also stopped working at the same time. My goal would be for gnus to treat messages and mime blocks w/o a charset as utf-8 rather than ascii by default. That does work for qp and base64, just not for 8bitmime. Unless Stefan's patch is applied. But it also must be easy to manually tell it to use some other charset when one recognizes the need. I can use (gnus-article-view-part-as-charset) for a mime part (at least w/ Stefan's patch) but haven't managed to make that work for a message w/o any attachments or inlines. I'm running w/ Stefan's patch now and it works. I'll try a new compile tonight or tomorrow and test the committed code. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6