[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Face and X-Face display in terminal emacs frames
From: |
Reiner Steib |
Subject: |
Re: Face and X-Face display in terminal emacs frames |
Date: |
Thu, 08 Jan 2009 20:39:13 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) |
On Thu, Jan 08 2009, Tassilo Horn wrote:
> Reiner Steib <reinersteib+gmane@imap.cc> 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/