From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26045 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: An un-decoded-QP bug and its patch (was: Re: Stringp-error when retrieving grouplist from news.newsfeeds.com) Date: 26 Oct 1999 23:36:07 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nln8pjx08.fsf_-_@tiger.jia.vnet> References: <2nn1t54l7r.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035163327 17360 80.91.224.250 (21 Oct 2002 01:22:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:22:07 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id XAA09589 for ; Tue, 26 Oct 1999 23:32:19 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB24184; Tue, 26 Oct 1999 22:32:09 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 26 Oct 1999 22:32:04 -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 WAA08243 for ; Tue, 26 Oct 1999 22:31:50 -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 XAA09571 for ; Tue, 26 Oct 1999 23:31:09 -0400 (EDT) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id XAA27611 for ; Tue, 26 Oct 1999 23:31:05 -0400 (EDT) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id XAA02122; Tue, 26 Oct 1999 23:36:07 -0400 Original-To: ding@gnus.org 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: Shenghuo ZHU's message of "26 Oct 1999 21:59:52 -0400" Original-Lines: 13 User-Agent: Gnus/5.07009701 (Pterodactyl Gnus v0.97.1) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26045 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26045 --=-=-= In my last mail, some QP-encoded stuffs show in the article buffer. Here is a (committed) patch fixing it. -- Shenghuo ZHU 1999-10-26 23:27:44 Shenghuo ZHU * mm-decode.el (mm-dissect-buffer): CTE may come without CTL. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=97-116.diff Index: mm-decode.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mm-decode.el,v retrieving revision 5.52 diff -u -r5.52 mm-decode.el --- mm-decode.el 1999/09/27 15:19:03 5.52 +++ mm-decode.el 1999/10/27 03:26:46 @@ -190,7 +190,11 @@ (if (or (not ctl) (not (string-match "/" (car ctl)))) (mm-dissect-singlepart - '("text/plain") nil no-strict-mime + '("text/plain") + (and cte (intern (downcase (mail-header-remove-whitespace + (mail-header-remove-comments + cte))))) + no-strict-mime (and cd (ignore-errors (mail-header-parse-content-disposition cd))) description) (setq type (split-string (car ctl) "/")) --=-=-=--