[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't costomize font for the `menu' face
From: |
Katsumi Yamaoka |
Subject: |
Re: Can't costomize font for the `menu' face |
Date: |
Fri, 24 Jun 2005 15:15:52 +0900 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>>>>> In <address@hidden> Richard M. Stallman wrote:
> With Emacs CVS, the following form doesn't produce the expected
> result.
> (set-face-font 'menu "-*-any-font-name-*")
> What result would you expect from that input?
> I don't expect it to exist.
> Perhaps when you wrote "any-font-name" you meant to replace
> it with some font name. If so, you've omitted important information.
> Would you please provide one *precise* test case?
I wrote in the ~/.emacs file as:
(set-face-background 'menu "LemonChiffon2")
(set-face-foreground 'menu "Brown")
(set-face-font 'menu "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*")
I expected them to set the menu bar appearance. In Emacs 21.4,
the colors and the font were set as I hoped. However, in Emacs
22, only the font is not set.
Although the font for the menu bar can be specified with the X
resource as
Emacs*menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
, I want to remove it from the resource file since only the one
for Emacs is it. It enables me to run the real vanilla Emacs by
only typing `emacs -q'.