From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23017 Path: main.gmane.org!not-for-mail From: Dale Hagglund Newsgroups: gmane.emacs.gnus.general Subject: pgnus 0.83 bug inlining mime part Date: 20 May 1999 01:42:12 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <86k8u4b09n.fsf@ponoka.battleriver.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="==-=-=" X-Trace: main.gmane.org 1035160830 32280 80.91.224.250 (21 Oct 2002 00:40:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:40:30 +0000 (UTC) Cc: bugs@gnus.org Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id EAA08344 for ; Thu, 20 May 1999 04:44:40 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id DAB18895; Thu, 20 May 1999 03:43:54 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 20 May 1999 03:44:10 -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 DAA27523 for ; Thu, 20 May 1999 03:43:56 -0500 (CDT) Original-Received: from proxy4.ba.best.com (root@proxy4.ba.best.com [206.184.139.15]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id EAA08330; Thu, 20 May 1999 04:43:48 -0400 (EDT) Original-Received: from best.com (dynamic12.pm01.pleasanton.best.com [207.21.140.12]) by proxy4.ba.best.com (8.9.3/8.9.2/best.out) with ESMTP id BAA18852; Thu, 20 May 1999 01:42:15 -0700 (PDT) Original-Received: (from rdh@localhost) by best.com (8.8.5/8.8.5) id BAA06067; Thu, 20 May 1999 01:42:13 -0700 (PDT) Original-To: ding@gnus.org Original-Lines: 28 User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23017 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23017 --==-=-= Pgnus 0.83 doesn't properly inline the mime attachment in David Maze's message "Brokenness with postscript in mail-source-fetch-pop" <87pv3w99e7.fsf@annular-fried-pastry.mit.edu>. When I display the article initially, all is well. Next, I do `2 K i'. The mime part *is* inlined, but not where one might expect, after the corresponding part button. Instead, the part is inlined immedately after the first line of the first text/plain part. Typing `2 K i' again correctly removes the inlined information from its incorrect location. If switch to the article buffer, move the point to the article button for the second part, and then type `i', the part is inlined correctly. I can also inline the part properly by the sequence of keys, `h TAB h 2 K i', starting in the summary buffer. This just moves the point in the summary buffer to the start of the button for the part to be inlined, switches back the article buffer, and then does the normal part inlining command. I've attached the message which exhibits the problem. Dale. --==-=-= Content-Type: message/rfc822 Content-Disposition: attachment; filename=8882 Content-Transfer-Encoding: 8bit X-From-Line: owner-ding@hpc.uh.edu Thu May 20 01:05:21 1999 Received: from ponoka.battleriver.com (ponoka.battleriver.com [10.0.0.1]) by best.com (8.8.5/8.8.5) with ESMTP id BAA05937 for ; Thu, 20 May 1999 01:04:26 -0700 (PDT) Received: from shell6.ba.best.com by ponoka.battleriver.com (fetchmail-4.3.6 POP3) for (single-drop); Thu, 20 May 1999 01:04:26 PDT Received: from proxy2.ba.best.com (root@proxy2.ba.best.com [206.184.139.13]) by shell6.ba.best.com (8.9.2/8.9.2/best.sh) with ESMTP id MAA03192 for ; Wed, 19 May 1999 12:00:57 -0700 (PDT) Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by proxy2.ba.best.com (8.9.3/8.9.2/best.in) with ESMTP id LAA29085 for ; Wed, 19 May 1999 11:58:03 -0700 (PDT) Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAA14778; Wed, 19 May 1999 13:57:28 -0500 (CDT) Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 19 May 1999 13:58:11 -0500 (CDT) 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 NAA20313 for ; Wed, 19 May 1999 13:58:02 -0500 (CDT) Received: from annular-fried-pastry.mit.edu (mail@ANNULAR-FRIED-PASTRY.MIT.EDU [18.208.0.22]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA14073 for ; Wed, 19 May 1999 14:57:53 -0400 (EDT) Received: from dmaze by annular-fried-pastry.mit.edu with local (Exim 2.11 #1 (Debian)) id 10kBWc-0002D4-00; Wed, 19 May 1999 14:57:06 -0400 To: ding@gnus.org Subject: Brokenness with postscript in mail-source-fetch-pop From: "David Z. Maze" Date: 19 May 1999 14:55:44 -0400 X-Gnus-Mail-Source: file:/var/mail/rdh Message-ID: <87pv3w99e7.fsf@annular-fried-pastry.mit.edu> User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald) X-Attribution: DZM MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-ding@hpc.uh.edu Precedence: list X-Majordomo: 1.94.jlt7 X-UIDL: 6ac3de5674cc8f85d0b4a613ebb19326 Lines: 45 Xref: ponoka.battleriver.com mail.lists.ding:8882 --=-=-= mail-source-fetch-pop, as distributed with Pterodactyl Gnus 0.84, wants to run user-provided prescript and postscript code when pulling mail off of a POP server. Unfortunately, the postscript code is broken: it checks to see whether prescript is defined, and if it is, runs postscript. This breaks if postscript is undefined. This patch should fix it: --=-=-= Content-Type: application/x-patch Content-Disposition: attachment; filename=mail-source.el.diff Content-Transfer-Encoding: 8bit Content-Description: postscript fix for mail-source-fetch-pop --- mail-source.el.orig Wed May 19 14:51:00 1999 +++ mail-source.el Wed May 19 14:52:55 1999 @@ -392,10 +392,10 @@ (if result (prog1 (mail-source-callback callback server) - (when prescript + (when postscript (if (and (symbolp postscript) (fboundp postscript)) - (funcall prescript) + (funcall postscript) (call-process shell-file-name nil 0 nil shell-command-switch (format-spec --=-=-= -- David Maze dmaze@mit.edu http://donut.mit.edu/dmaze/ "Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?" "Oh, sure, Dave, whatever...you _do_ know what that does, right?" --=-=-=-- --==-=-=--