From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23012 Path: main.gmane.org!not-for-mail From: "David Z. Maze" Newsgroups: gmane.emacs.gnus.general Subject: Brokenness with postscript in mail-source-fetch-pop Date: 19 May 1999 14:55:44 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87pv3w99e7.fsf@annular-fried-pastry.mit.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035160826 32260 80.91.224.250 (21 Oct 2002 00:40:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:40:26 +0000 (UTC) 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 OAA14081 for ; Wed, 19 May 1999 14:58:17 -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 NAB14778; Wed, 19 May 1999 13:57:32 -0500 (CDT) Original-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) 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 NAA20313 for ; Wed, 19 May 1999 13:58:02 -0500 (CDT) Original-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) Original-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 Original-To: ding@gnus.org User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald) X-Attribution: DZM Original-Lines: 42 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23012 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23012 --=-=-= 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?" --=-=-=--