Gnus development mailing list
 help / color / mirror / Atom feed
From: "Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov>
Cc: Gnus Mailing List <ding@gnus.org>
Subject: Re: x-face problems
Date: Wed, 25 Feb 1998 12:17:17 -0500	[thread overview]
Message-ID: <199802251717.MAA27457@alderaan.gsfc.nasa.gov> (raw)
In-Reply-To: <yqkk4t1nhi6k.fsf@darwin.helios.nd.edu> (message from John H Palmieri on 25 Feb 1998 09:29:07 -0500)

Excerpts from mail: (25-Feb-98) Re: x-face problems by John H Palmieri

John H Palmieri <John.H.Palmieri.2@nd.edu> writes:
John> I just realized that I haven't been seeing any x-faces today.

Francois Felix Ingrand <felix@laas.fr> 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


  reply	other threads:[~1998-02-25 17:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-24 17:33 John H Palmieri
1998-02-25  8:51 ` Francois Felix Ingrand
1998-02-25 14:29   ` John H Palmieri
1998-02-25 17:17     ` Edward J. Sabol [this message]
1998-02-25 18:33       ` John H Palmieri
1998-02-25 20:18         ` Dave Love
1998-02-27 12:02     ` Lars Magne Ingebrigtsen

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=199802251717.MAA27457@alderaan.gsfc.nasa.gov \
    --to=sabol@alderaan.gsfc.nasa.gov \
    --cc=ding@gnus.org \
    /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).