From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64738 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: font display problem in Gnus(No Gnus v0.6) Date: Wed, 30 May 2007 12:17:15 +0900 Organization: Emacsen advocacy group Message-ID: References: <87irac9r74.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180495104 14312 80.91.229.12 (30 May 2007 03:18:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 May 2007 03:18:24 +0000 (UTC) Cc: ding@gnus.org To: ssSslang Original-X-From: ding-owner+M13249@lists.math.uh.edu Wed May 30 05:18:22 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HtEha-0001qz-4a for ding-account@gmane.org; Wed, 30 May 2007 05:18:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HtEgh-0003uQ-CL; Tue, 29 May 2007 22:17:27 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HtEgf-0003u8-Eg for ding@lists.math.uh.edu; Tue, 29 May 2007 22:17:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1HtEge-0000DP-EL for ding@lists.math.uh.edu; Tue, 29 May 2007 22:17:25 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HtEgd-0003pR-00 for ; Wed, 30 May 2007 05:17:23 +0200 Original-Received: from [66.225.201.151] (port=42088 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1HtEgg-0003Zj-PK; Tue, 29 May 2007 22:17:27 -0500 X-Hashcash: 1:20:070530:sssslang@163.com::jAg9yzW/MK2s2YEC:01H0c X-Hashcash: 1:20:070530:ding@gnus.org::KPxF/fciP/E6zlZs:00002xOV X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:2zzB725KrL18OtLG2VfU2VIYPlY= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64738 Archived-At: >>>>> In <87irac9r74.fsf@gmail.com> ssSslang wrote: > Hi everyone, I found a problem when view a mail with attachment in Gnus. > The attachment is displayed as a button in mail buffer, and the text on > it is well before I move mouse pointer onto it. The face which is set to the variable `widget-button-face' is used then. The default value of the variable `widget-button-face' is the face `widget-button'. You can customize the appearance of that face using `M-x customize-face RET widget-button RET' for instance. > After that, the button is highlighted, but the text over it has changed. In this case, the face which is set to the variable `widget-mouse-face' is used. The default value is the face `highlight'. You can customize it as well. Otherwise, you can use your custom face as follows: (eval-after-load "wid-edit" '(progn ;; I like the font used for the `widget-button' face. (copy-face 'widget-button 'my-highlight) (setq widget-mouse-face 'my-highlight) (set-face-background 'my-highlight "Yellow") (set-face-foreground 'my-highlight "Red"))) Regards,