Gnus development mailing list
 help / color / mirror / Atom feed
From: Morgan Fletcher <morgan@hahaha.org>
Subject: pgnus-0.37: write-region gets 7 args
Date: 24 Oct 1998 11:49:36 -700	[thread overview]
Message-ID: <87hfwt4wxr.fsf@hahaha.org> (raw)

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 #<subr write-region> 7)
  write-region(1 219416 "/tmp/emm.e00635/67FJ45.jpg" nil nomesg nil no-conversion)
  mm-display-external((#<buffer  *mm*<2>> ("image/jpeg" (name . "67FJ45.jpg")) base64 nil ("attachment" (filename . "67FJ45.jpg")) nil) "/usr/bin/zgv %s")
  mm-display-part((#<buffer  *mm*<2>> ("image/jpeg" (name . "67FJ45.jpg")) base64 nil ("attachment" (filename . "67FJ45.jpg")) nil))
  gnus-mm-display-part((#<buffer  *mm*<2>> ("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 <<


             reply	other threads:[~1998-10-24 18:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-24 18:49 Morgan Fletcher [this message]
1998-10-24 19:49 ` Lars Magne Ingebrigtsen
1998-10-25  1:38   ` Morgan Fletcher
1998-10-25  3:41   ` Jason R Mastaler
1998-10-27 19:41     ` Justin Sheehy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hfwt4wxr.fsf@hahaha.org \
    --to=morgan@hahaha.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).