[mew-dist 23835] Re: color X Face

Hideyuki SHIRAI ( 白井秀行 ) shirai at example.com
2003年 7月 15日 (火) 12:42:05 JST


From: Kazu Yamamoto (山本和彦) <kazu at example.com> さん曰く
Subject: [mew-dist 23834] Re: color X Face
Message-ID: <20030715.122638.59572230.kazu at example.com>
Date: Tue, 15 Jul 2003 12:26:38 +0900 (JST)

> > mew-icon-pのかわりにwindow-systemでどうでしょうか。(それ以上のこ
> > とは、呼び出される関数の中か、mew-use-highlight-x-faceの設定時に
> > 対処する)
> 
> (or mew-icon-p ;; Emacs 21 or XEmacs
>     (and window-system xxx)) ;; Emacs 20
> 
> のようにしたいのですが、xxx は何にすればいいでしょう?
> 
> x-face-mule では何が定義されていますか? (featurep 'bitmap)?

うーーーんと、
(featurep 'x-face-mule)
が良いのですが、mew-init-hook などで require していると、上記設
定には間に合いませんよね?

x-face-mule.el の Mew 向きの設定は

;;	(if window-system
;;	    (progn
;;	      (autoload 'x-face-decode-message-header "x-face-mule")
;;	      (setq mew-use-highlight-x-face t)
;;	      (setq mew-use-highlight-x-face-function
;;		    'x-face-decode-message-header)))

となっているので、

(functionp 'x-face-decode-message-header)

かな。設定方法を変えている人は自分で対処できるでしょうし。

-- 
白井秀行 (mailto:shirai at example.com)



Mew-dist メーリングリストの案内