Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Schierl <schierlm-usenet@gmx.de>
Subject: Re: gnus on winxp
Date: Thu, 15 Apr 2004 10:26:09 +0200	[thread overview]
Message-ID: <wkwu4h1wbi.fsf@smsoft.ixy.de> (raw)
In-Reply-To: <m3d66bfvos.fsf@fed1.frank-schmitt.net>

Frank Schmitt <ich@Frank-Schmitt.net> writes:

> You can fix the X-Face problem by installing the appropriate tools from
> gnuwin32.sourceforge.net (I think they are in compface and netpbm) and
> placing the following in .emacs (it replaces the call to icontopbm which
> I couldn't find with xbmtopbm):

icontopbm is in netpbm, but hereit complains about 

invalid input file -- premature EOF



>        (eval-after-load 'compface 
> 	 (defun uncompface (face)
> 	   "Convert FACE to pbm. Modified by Frank Schmitt"
> 	   (with-temp-buffer
> 	     (insert face)
> 	     (and (eq 0 (apply 'call-process-region (point-min) (point-max)
> 			       "uncompface"
> 			       'delete '(t nil) nil "-X" nil))
> 		  (progn
> 		    (goto-char (point-min))
> 		    (eq 0 (call-process-region (point-min) (point-max)
> 					       "xbmtopbm"
> 					       'delete '(t nil)))
> 		    )
> 		  (buffer-string)))))))

After removing the last two closing parens and adding a quote at the
beginning of the second line, i.e.

(eval-after-load 'compface 
  '(defun uncompface (face)
    "Convert FACE to pbm. Modified by Frank Schmitt"
    (with-temp-buffer
      (insert face)
      (and (eq 0 (apply 'call-process-region (point-min) (point-max)
			"uncompface"
			       'delete '(t nil) nil "-X" nil))
	   (progn
	     (goto-char (point-min))
	     (eq 0 (call-process-region (point-min) (point-max)
					"xbmtopbm"
					'delete '(t nil)))
	     )
	   (buffer-string)))))

it works fine. Thanks.

Michael




  reply	other threads:[~2004-04-15  8:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-12 15:57 Harry Putnam
2004-04-12 16:11 ` Peter Lee
2004-04-12 17:19   ` Harry Putnam
2004-04-12 19:00     ` Peter Lee
     [not found] ` <m3vfk5yys9.fsf-kFrNdAxtuftBDgjK7y7TUQ@public.gmane.org>
2004-04-12 16:13   ` Jochen Küpper
2004-04-12 19:52 ` Fabrice Popineau
2004-04-13  7:08 ` Frank Schmitt
2004-04-13 19:43   ` Michael Schierl
2004-04-13 20:51     ` Frank Schmitt
2004-04-15  8:26       ` Michael Schierl [this message]
2004-04-13 21:07     ` Markus Knittig
2004-04-13  8:26 ` Yair Friedman

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=wkwu4h1wbi.fsf@smsoft.ixy.de \
    --to=schierlm-usenet@gmx.de \
    --cc=schierlm@gmx.de \
    /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).