From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41440 Path: main.gmane.org!not-for-mail From: Zlatko Calusic Newsgroups: gmane.emacs.gnus.general Subject: Re: X-Face and depth Date: Wed, 02 Jan 2002 19:56:32 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <15411.9669.562599.141358@www.ee.ryerson.ca> Reply-To: zlatko.calusic@iskon.hr NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176835 6148 80.91.224.250 (21 Oct 2002 05:07:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:07:15 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 29054 invoked from network); 2 Jan 2002 18:57:59 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Jan 2002 18:57:59 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16LqZd-00069N-00; Wed, 02 Jan 2002 12:57:13 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Jan 2002 12:57:05 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA24796 for ; Wed, 2 Jan 2002 12:56:52 -0600 (CST) Original-Received: (qmail 29034 invoked by alias); 2 Jan 2002 18:56:54 -0000 Original-Received: (qmail 29028 invoked from network); 2 Jan 2002 18:56:53 -0000 Original-Received: from inje.iskon.hr (213.191.128.16) by gnus.org with SMTP; 2 Jan 2002 18:56:53 -0000 Original-Received: from magla.zg.iskon.hr (oganj.iskon.hr [213.191.128.21]) by mail.iskon.hr (8.11.4/8.11.4/Iskon 8.11.3-1) with ESMTP id g02IuWm29669; Wed, 2 Jan 2002 19:56:33 +0100 (MET) Original-Received: from magla.zg.iskon.hr (localhost [127.0.0.1]) by magla.zg.iskon.hr (8.12.1/8.12.1/Debian -5) with ESMTP id g02IuWvu018825; Wed, 2 Jan 2002 19:56:32 +0100 Original-Received: (from zcalusic@localhost) by magla.zg.iskon.hr (8.12.1/8.12.1/Debian -5) id g02IuWZW018822; Wed, 2 Jan 2002 19:56:32 +0100 Original-To: Karl Kleinpaste X-Face: s71Vs\G4I3mB$X2=P4h[aszUL\%"`1!YRYl[JGlC57kU-`kxADX}T/Bq)Q9.$fGh7lFNb.s i&L3xVb:q_Pr}>Eo(@kU,c:3:64cR]m@27>1tGl1):#(bs*Ip0c}N{:JGcgOXd9H'Nwm:}jLr\FZtZ pri/C@\,4lW<|jrq^<):Nk%Hp@G&F"r+n1@BoH In-Reply-To: (Karl Kleinpaste's message of "Wed, 02 Jan 2002 12:41:45 -0500") Original-Lines: 39 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41440 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41440 Karl Kleinpaste writes: > Lars Magne Ingebrigtsen writes: >> I've now implemented a set of functions in gnus-fun.el that basically >> splits up and puts back together again bit planes. > > Compiling under XEmacs 21.4.6: > > | Compiling /home/karl/Emacs/gnus/lisp/gnus-fun.el... > | While compiling gnus-convert-gray-x-face-to-xpm in file /home/karl/Emacs/gnus/lisp/gnus-fun.el: > | ** shell-command-on-region called with 6 arguments, but accepts only 3-5 > | Wrote /home/karl/Emacs/gnus/lisp/gnus-fun.elc > > XEmacs' doc for this function observes its calling structure: > > (shell-command-on-region START END COMMAND &optional OUTPUT-BUFFER REPLACE) > > Now, I looked at gnus-fun.el to see how this function might be > mis-called, and the code in use is... > > (shell-command-on-region > (point-min) (point-max) > "uncompface -X | xbmtopbm | pnmtoplainpnm" > (current-buffer) t) > > ...which looks a lot like 5 arguments. I'm confused. > Problematic invocation is around line 130: (shell-command-on-region (point-min) (point-max) "ppmtoxpm" (current-buffer) t (get-buffer-create " *junk")) Can I safely remove the 6th argument and solve the problem with that change? -- Zlatko