[Bug: 21.5-b29] Xemacs ignores custom.el

Mike Kupfer mike.kupfer at xemacs.org
Mon Mar 7 17:37:43 EST 2011


Rodney Sparapani wrote:

> On 03/ 5/11 05:45 PM, Mike Kupfer wrote:
[...]
> > * what does "M-! xrdb -query | grep -i font" report?  (I know Rodney has
> >    said there is nothing in .Xresources, but maybe something else is
> >    creating font specifications behind his back.)
> *DtEditor*textFontList:    -dt-interface
> user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *Font:    -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
> *FontList:    -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *FontSet:    -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
> *XmText*FontList:    -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *XmTextField*FontList:    -dt-interface
> user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *buttonFontList:    -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *labelFontList:    -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *systemFont:    -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *textFontList:    -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> *userFont:    -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
> 
> > * run M-x edit-faces and see if it shows anything interesting.  (In
> >    particular, what font does it show for the default face.  And do the
> >    other faces seem derived from default, or do they seem to be derived
> >    from something else.)
> viper-search              Black           khaki
> -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
>   (*Face used to flash out the search pattern.)
> widget                    #000000         #dddddd
> -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
>   (widget face)
> yellow                    yellow          #dddddd
> -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
>   (yellow text.)
> zmacs-region              #000000         gray65
> -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
>   (Used on highlighted region between point and mark.)

The  setting

*Font:    -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*

is what's biting you.

If my custom.el has

(custom-set-faces
 '(default ((t (:size "14pt" :family "Times"))) t)
 [other font settings omitted]
) 

and xrdb shows no font settings, I get Times when I start XEmacs.  If I
add a setting for

*Font: -*-helvetica-medium-r-normal-*-*-120-100-*-*-*-iso8859-*

(e.g., by editing $HOME/.Xdefaults and invoking "xrdb -merge
$HOME/.Xdefaults") and then restart XEmacs, I get Helvetica instead.

I guess you'll have to do some digging to figure out where those font
settings are coming from.  FWIW, I associate the dt-mumble fonts with
CDE.

mike



More information about the XEmacs-Beta mailing list