From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41436 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: X-Face and depth Date: Wed, 02 Jan 2002 12:41:45 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <15411.9669.562599.141358@www.ee.ryerson.ca> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176831 6120 80.91.224.250 (21 Oct 2002 05:07:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:07:11 +0000 (UTC) Return-Path: Original-Received: (qmail 27455 invoked from network); 2 Jan 2002 17:42:48 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Jan 2002 17:42:48 -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 16LpPF-0005NR-00; Wed, 02 Jan 2002 11:42:25 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Jan 2002 11:42:17 -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 LAA24445 for ; Wed, 2 Jan 2002 11:42:06 -0600 (CST) Original-Received: (qmail 27447 invoked by alias); 2 Jan 2002 17:42:09 -0000 Original-Received: (qmail 27441 invoked from network); 2 Jan 2002 17:42:04 -0000 Original-Received: from mesquite.slip.cs.cmu.edu (HELO cinnamon.vanillaknot.com) (128.2.207.11) by gnus.org with SMTP; 2 Jan 2002 17:42:04 -0000 Original-Received: (from karl@localhost) by cinnamon.vanillaknot.com (8.11.6/8.11.6) id g02Hfj314842; Wed, 2 Jan 2002 12:41:45 -0500 Original-To: ding@gnus.org X-Face: ?=p^Gj2JkX~UU_@W}[q/'Dxn19x-zfIQ](y<&ky/?1-&Nz&,!W}R.Gp+"LeGojoR =RF>?!XVs{a:`Yt(gqM<#$Zy(C@]'dR4Hy4S1.I(n3:2"R:=Uy!)K9>U!gNTyH{p +_w#F[gt).$Vyvo5=9LF^PeQ(@H#}QLAbfyYxX/8t:TDR5nA\|RmJO"EwjL8tWyvM In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 02 Jan 2002 17:55:18 +0100") Original-Lines: 30 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41436 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41436 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. Also, for the record, I'm running Linux RH7.1 with most things installed, but I haven't got any program "pnmtoplainpnm". What does it do? Is this an excessively recent addition to the PBM package, and could the same result be achieved with something else not quite so bleeding-edge?