野宮です.
>>>>> In the Message: [vine-users ML: No.077494]
>>>>> with the date of Sun, 19 Aug 2007 02:42:49 +0900
>>>>> [倉田さん] == Yosuke KURATA <citrous@xxxxxxxxxxxxxxxx> has written:
倉田さん> Emacsにおいて,標準状態,すなわち新規にユーザーを作り,その他の細か
倉田さん> い部分は変更していない状態で,
倉田さん> ~/.emacs-faces.el 内のモードラインの色,
倉田さん> (set-face-background 'mode-line "gray94")
倉田さん> を別の色,例えば
倉田さん> (set-face-background 'mode-line "SlateGray")
倉田さん> に変更しても結果が反映されません.
倉田さん> (set-face-background 'menu "gray94")
倉田さん> は
倉田さん> (set-face-background 'menu "SlateGray")
倉田さん> とするときっちりと反映されますが,
倉田さん> (set-face-background 'scroll-bar "gray94")
倉田さん> あたりも変更が反映されません.
倉田さん> Emacsの設定用関数には詳しくないのでちょっと自分では分からなくなって
倉田さん> いるのですが,これはバグなのでしょうか?
Emacs のバージョンが解りませんが.
Emacs で face の設定は,何時からだったか,仰有るような方法では出来なくなっ
ています.
で,小生は,.emacs に
(add-hook
'window-setup-hook
(lambda nil
(set-face-background 'mode-line "aquamarine4") ;;""LemonChiffon4")
(set-face-foreground 'mode-line "Black")
(set-face-background 'scroll-bar "aquamarine4");; "LemonChiffon3")
(set-face-background 'tool-bar "aquamarine3")));; "LemonChiffon2")))
(add-hook
'after-make-frame-functions
(lambda (frame)
(set-face-background 'mode-line "aquamarine4" frame)
(set-face-foreground 'mode-line "Black" frame)
(set-face-background 'scroll-bar "aquamarine4" frame)
(set-face-background 'tool-bar "aquamarine3" frame)))
と記述することで,望みの face を得ることが出来ています.
---
野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp
「先端技術の開発は、優れた頭脳を持つ人間が集中しないと成功しない。
しかし、技術開発と、それが何をもたらすかを考えることは別だ。
一人の人間に二つは望めない。」 -- M. Crichton --