From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14285 Path: main.gmane.org!not-for-mail From: "Edward J. Sabol" Newsgroups: gmane.emacs.gnus.general Subject: Re: x-face problems Date: Wed, 25 Feb 1998 12:17:17 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <199802251717.MAA27457@alderaan.gsfc.nasa.gov> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153502 14058 80.91.224.250 (20 Oct 2002 22:38:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:38:22 +0000 (UTC) Cc: Gnus Mailing List Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id JAA11091 for ; Wed, 25 Feb 1998 09:21:31 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA10975 for ; Wed, 25 Feb 1998 11:19:18 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAH03960; Wed, 25 Feb 1998 11:18:53 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 25 Feb 1998 11:18:18 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id LAA03947 for ; Wed, 25 Feb 1998 11:18:10 -0600 (CST) Original-Received: (qmail 7619 invoked by uid 504); 25 Feb 1998 17:18:02 -0000 Original-Received: (qmail 7612 invoked from network); 25 Feb 1998 17:18:00 -0000 Original-Received: from alderaan.gsfc.nasa.gov (128.183.127.237) by claymore.vcinet.com with SMTP; 25 Feb 1998 17:17:59 -0000 Original-Received: by alderaan.gsfc.nasa.gov (950413.SGI.8.6.12/951211.SGI.AUTO) id MAA27457; Wed, 25 Feb 1998 12:17:17 -0500 Original-To: John.H.Palmieri.2@nd.edu In-reply-to: (message from John H Palmieri on 25 Feb 1998 09:29:07 -0500) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14285 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14285 Excerpts from mail: (25-Feb-98) Re: x-face problems by John H Palmieri John H Palmieri writes: John> I just realized that I haven't been seeing any x-faces today. Francois Felix Ingrand writes: Felix> I had a smimilar pb a while ago. It appeared that an hook was cleaning Felix> up headers before X-Face where display. Prepending instead of Felix> appending fixed the pb. Felix> Felix> (add-hook 'gnus-article-display-hook 'gnus-article-display-x-face t) Felix> Felix> Note the t... John> I tried adding the t, but it didn't help. Maybe I should back up: John> when I first set up gnus, I tried having x-faces displayed, but had John> problems until I put in the lines: John> John> (make-variable-buffer-local 'shell-file-name))) John> (add-hook 'gnus-article-display-hook John> '(lambda () John> (setq shell-file-name "/bin/sh"))))) John> John> Now, for instance, if I comment these out, when I read a message with John> an X-Face header, xv starts up and tells me John> John> File '/tmp/xva003Gl' contains no data. (Zero length file.) John> John> As of a day or two ago, if I don't comment these lines out, then John> nothing seems to happen when I read a message with an X-Face header. John> So I ask again, how can I figure out what's going wrong? Sorry, I don't know how to figure out what's going wrong in your situation. (Did you change your shell at all in the past few days?) But maybe it will be of some help to you if I tell you what I use and know to work in my configuration. My shell is tcsh, and the default gnus-article-x-face-command is simply incompatible with csh-like shells, as you probably know since you set shell-file-name to "/bin/sh" in gnus-article-display-hook. But instead of doing what you do and changing shell-file-name, I instead change gnus-article-x-face-command to be csh-compatible (in addition to specifying the geometry for xv). Here's the elisp lines that I use: (add-hook 'gnus-article-display-hook 'gnus-article-display-x-face t) (setq gnus-article-x-face-command "( echo '/* Width=48, Height=48 */'; uncompface; ) | icontopbm | xv -geometry +0+195 -quit -") Later, Ed