From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55258 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: [FIXED] can't forward marked articles Date: Wed, 17 Dec 2003 15:57:41 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071644373 29221 80.91.224.253 (17 Dec 2003 06:59:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2003 06:59:33 +0000 (UTC) Original-X-From: ding-owner+M3798@lists.math.uh.edu Wed Dec 17 07:59:30 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWVec-0003Uv-00 for ; Wed, 17 Dec 2003 07:59:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AWVe1-0001Lo-00; Wed, 17 Dec 2003 00:58:53 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AWVdX-0001Lg-00 for ding@lists.math.uh.edu; Wed, 17 Dec 2003 00:58:23 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id A48ED3A0044 for ; Wed, 17 Dec 2003 00:58:22 -0600 (CST) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.24) id 1AWVdd-00018a-GD; Wed, 17 Dec 2003 01:58:29 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:HzUvc7kEH3f/Q067Gsm+mbQDkXI= X-Hashcash: 0:031217:ding@gnus.org:28cc2220d278acc7 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55258 Hi again, I got a bug report that marked articles cannot be forwarded if they were written by the same author and the author used non-ascii text in the From header. Here is a backtrace: Debugger entered--Lisp error: (error "Unknown symbol: \xddb3") signal(error ("Unknown symbol: \xddb3")) error("Unknown symbol: %c" 56755) mail-header-parse-address("\xddb3\xd92c \xdcee\xe47e ") message-forward-subject-name-subject("Digested Articles") message-make-forward-subject() message-forward(nil t) gnus-uu-digest-mail-forward(nil nil) gnus-summary-mail-forward(nil) call-interactively(gnus-summary-mail-forward) Non-ascii text there is my real name. :) There are two problems. One is that gnus-summary-mail-forward takes marked /decoded/ articles by way of gnus-uu-digest-mail-forward, while gnus-summary-mail-forward itself takes a /raw/ article when forwarding the current article. The other is that mail-parse functions don't allow non-ascii text. I coped with the problem provisionally by using gnus-extract-address-components instead of mail-header-parse-address. Although I hesitated to use a Gnus' function in message.el. Or, we may need to improve gnus-uu. The reason why I used gnus-extract-address-components rather than mail-extract-address-components is because it omits a name too much as follows: (mail-extract-address-components "Foo (Bar) Baz ") => ("Foo Baz" "foo@bar.baz") (gnus-extract-address-components "Foo (Bar) Baz ") => ("Foo (Bar) Baz" "foo@bar.baz") Regards, -- Katsumi Yamaoka