From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18098 Path: main.gmane.org!not-for-mail From: Morgan Fletcher Newsgroups: gmane.emacs.gnus.general Subject: pgnus-0.37: write-region gets 7 args Date: 24 Oct 1998 11:49:36 -700 Sender: owner-ding@hpc.uh.edu Message-ID: <87hfwt4wxr.fsf@hahaha.org> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156682 4395 80.91.224.250 (20 Oct 2002 23:31:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:31:22 +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 PAA27878 for ; Sat, 24 Oct 1998 15:34:04 -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 OAB21315; Sat, 24 Oct 1998 14:34:27 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 24 Oct 1998 13:50:02 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAA26826 for ; Sat, 24 Oct 1998 13:49:54 -0500 (CDT) Original-Received: from morgan (root@morgan.vip.best.com [206.86.76.159]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA27442 for ; Sat, 24 Oct 1998 14:49:39 -0400 (EDT) Original-Received: by hahaha.org via sendmail from stdin id (Debian Smail3.2.0.101) for ding@gnus.org; Sat, 24 Oct 1998 11:49:37 -0700 (PDT) Original-To: ding@gnus.org X-URL: http://www.hahaha.org/ Original-Lines: 46 User-Agent: Gnus/5.0700000000000003 (Pterodactyl Gnus v0.37) Emacs/20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18098 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18098 I'm running pgnus-0.37 & gnu emacs 20.2.2 on i386 linux (debian). I open an e-mail containing these attachments: [1. text/plain]... [2. image/jpeg (67FJ45.jpg)] [3. image/gif (FJ-45 - 1.gif)]... [4. image/gif (FJ-45 - 2.gif)]... [5. image/gif (FJ-45 - 3.gif)]... [6. image/gif (FJ-45 - 4.gif)]... [7. image/gif (FJ-45 - 5.gif)]... [8. image/gif (FJ-45.gif)]... Attachment #1 displays fine, but if I attempt to view attachment #2 with `2 b` I get this: Signaling: (wrong-number-of-arguments # 7) write-region(1 219416 "/tmp/emm.e00635/67FJ45.jpg" nil nomesg nil no-conversion) mm-display-external((#> ("image/jpeg" (name . "67FJ45.jpg")) base64 nil ("attachment" (filename . "67FJ45.jpg")) nil) "/usr/bin/zgv %s") mm-display-part((#> ("image/jpeg" (name . "67FJ45.jpg")) base64 nil ("attachment" (filename . "67FJ45.jpg")) nil)) gnus-mm-display-part((#> ("image/jpeg" (name . "67FJ45.jpg")) base64 nil ("attachment" (filename . "67FJ45.jpg")) nil)) gnus-article-view-part(2) * call-interactively(gnus-article-view-part) (The same is true for attachments 3-8.) If I do `C-h f write-region RET`, it says it takes up to six args: (write-region START END FILENAME &optional APPEND VISIT LOCKNAME) But the call in mm-display-external (mm-decode.el) looks like this: (write-region (point-min) (point-max) file nil 'nomesg nil 'no-conversion) How come they don't match? Could it be that pgnus needs a different version of write-region than the one it's finding? My load-path has /home/morgan/pgnus-0.37/lisp as its first element. I'm an elisp ignoramus, so I don't know what else to offer. I can uuencode the message and send it to you, Lars, if you'd like. morgan -- VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV >> M o r g a n F l e t c h e r http://www.hahaha.org << >> Tibi gratias agimus quod nihil fumas. morgan@hahaha.org <<