From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25894 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Error leaving group ... Date: 13 Oct 1999 12:59:21 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5br9iznqmu.fsf@giga.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035163201 16499 80.91.224.250 (21 Oct 2002 01:20:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:20:01 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA10266 for ; Wed, 13 Oct 1999 13:05:23 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB27614; Wed, 13 Oct 1999 12:01:43 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 13 Oct 1999 12:02:00 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA01444 for ; Wed, 13 Oct 1999 12:01:49 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA10158 for ; Wed, 13 Oct 1999 12:59:50 -0400 (EDT) Original-Received: from giga.cs.rochester.edu (giga.cs.rochester.edu [192.5.53.186]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id MAA12007 for ; Wed, 13 Oct 1999 12:59:27 -0400 (EDT) Original-Received: (from zsh@localhost) by giga.cs.rochester.edu (8.9.1b+Sun/Q++) id MAA06369; Wed, 13 Oct 1999 12:59:22 -0400 (EDT) Original-To: Gnus Mailing List X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Lee Willis's message of "13 Oct 1999 09:54:53 +0100" Original-Lines: 35 User-Agent: Gnus/5.07009701 (Pterodactyl Gnus v0.97.1) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25894 --=-=-= >>>>> "Lee" == Lee Willis writes: Lee> "GNU Emacs 20.4.1 (i586-pc-linux-gnu, X toolkit) Lee> of Sat Aug 21 1999 on landlord.gbdirect.co.uk" Lee> "Pterodactyl Gnus v0.97" Lee> The attached message (Hope it survived as was) gives me the following if Lee> it is currently displayed when I try to leave the group : Lee> Signaling: (wrong-type-argument listp "us-ascii") Lee> mm-remove-part((charset . "us-ascii")) Lee> mm-destroy-part((charset . "us-ascii")) Lee> mm-destroy-parts(((charset . "us-ascii"))) Lee> mm-destroy-parts(("multipart/mixed" (# ("text/plain" ...) 7bit nil nil nil nil nil) (# ("message/rfc822") 7bit nil ("inline") nil nil nil) #> ("text/html" (charset . "us-ascii")) nil (lambda nil (let ... ... ...)) nil nil nil nil)) Lee> gnus-summary-exit() Lee> * call-interactively(gnus-summary-exit) [...] I've seen several people reported this bug. This bug happens when a single part in message/rfc822 is displayed. I think I fixed it. Please test the patch (committed). -- Shenghuo 1999-10-13 12:52:18 Shenghuo ZHU * mm-view.el (mm-inline-message): Fix leaving group bug. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=97-111.diff Index: mm-view.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mm-view.el,v retrieving revision 5.32 diff -u -r5.32 mm-view.el --- mm-view.el 1999/08/27 13:18:16 5.32 +++ mm-view.el 1999/10/13 16:53:18 @@ -185,7 +185,9 @@ (setq handles gnus-article-mime-handles)) (when handles (setq gnus-article-mime-handles - (append gnus-article-mime-handles handles))) + (nconc gnus-article-mime-handles + (if (listp (car handles)) + handles (list handles))))) (mm-handle-set-undisplayer handle `(lambda () --=-=-= --=-=-=--