Gnus development mailing list
 help / color / mirror / Atom feed
* pgnus-0.37: write-region gets 7 args
@ 1998-10-24 18:49 Morgan Fletcher
  1998-10-24 19:49 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Morgan Fletcher @ 1998-10-24 18:49 UTC (permalink / 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 <<


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-10-27 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-24 18:49 pgnus-0.37: write-region gets 7 args Morgan Fletcher
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

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).