On Thu, Jan 08 2009, Tassilo Horn wrote:

> Reiner Steib <[email protected]> writes:
>> Erase your customization for `gnus-treat-display-x-face'.
>
> That works, but how?  I've customized it to be 'head and got that
> annoying behavior.  Without customization it's 'head anyway, although,

I guess you checked this when using Emacs with X11, not on a tty.

> but now the images are only displayed in X11 frames.  What's the black
> magic involved here?  

The default of `gnus-treat-display-x-face' is nil on tty.
(I don't write "X11 frames" or "tty frames" because I doubt that Gnus
does The Right Thing with frames on tty/X11 in a single multi-tty
Emacs session.)

,----
| (defcustom gnus-treat-display-x-face
|   (and (not noninteractive)

Avoids X-Faces in batch mode.

|        (gnus-image-type-available-p 'xbm)

Should be nil when running on a tty.

|        (if (featurep 'xemacs)
|          (featurep 'xface)

XEmacs may have builtin X-Face support.

|        (and (string-match "^0x" (shell-command-to-string "uncompface"))
|             (executable-find "icontopbm")))

For Emacs, check if the external programs are available and working.

|        'head)
`----

> Is there something like "if variable was set explicitly do this,
> else do that"?

Nope.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to